Documentation
¶
Index ¶
- Variables
- func AsWriter(level *Level) io.Writer
- func Close()
- func Critical(msg string, data ...interface{})
- func Debug(msg string, data ...interface{})
- func Devel(msg string, data ...interface{})
- func Error(msg string, data ...interface{})
- func Exception(msg string, err error)
- func Info(msg string, data ...interface{})
- func Log(lvl *Level, msg string, data ...interface{})
- func SetLevel(writer io.Writer, lvl *Level)
- func Warn(msg string, data ...interface{})
- func WithLogDirectory(directory string, lvl *Level, ignore *Level) (err error)
- func WithWriter(writer io.Writer, lvl *Level)
- func WithWriterIgnore(writer io.Writer, lvl *Level, ignored *Level)
- type Builder
- type Level
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AsWriter ¶
This is simply a wrapper around the logger system so that interfaces which expect a Writer as a target will be able to use the logging structure we have located here.
func WithLogDirectory ¶
func WithWriter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.