Documentation ¶
Index ¶
- Variables
- type Entry
- func Debug(v ...interface{}) Entry
- func Debugf(format string, v ...interface{}) Entry
- func Error(v ...interface{}) Entry
- func Errorf(format string, v ...interface{}) Entry
- func Info(v ...interface{}) Entry
- func Infof(format string, v ...interface{}) Entry
- func Log(e Entry) Entry
- func Warn(v ...interface{}) Entry
- func Warnf(format string, v ...interface{}) Entry
- type Level
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultColor = "\033[00m" InfoColor = "\033[94m" ErrorColor = "\033[91m" WarnColor = "\033[93m" DebugColor = "\033[90m" )
Log colors
View Source
var ( // CurrentLevel describe the current log level. Only entries with a level // inferior or equal to the current level are printed. CurrentLevel = WarnLevel )
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry represents a log entry.
Click to show internal directories.
Click to hide internal directories.