Documentation ¶
Overview ¶
Package log implements leveled logging.
Index ¶
- Constants
- func Colored(color string, text string) string
- func Debug(format string, a ...interface{})
- func Error(format string, a ...interface{})
- func Fatal(format string, a ...interface{})
- func Info(format string, a ...interface{})
- func SetColored(b bool)
- func SetLevel(l int)
- func SetName(s string)
- func SetWriter(writer io.Writer)
- func Warn(format string, a ...interface{})
Constants ¶
View Source
const ( DEBUG int = iota INFO WARN ERROR )
Level
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.