Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogMessageMap = map[LogLevel]string{DEBUG: "[DEBUG] ", INFO: "[INFO] ", WARNING: "[WARNING] ", ERROR: "[ERROR] "}
DefaultLogMessageMap maps LogLevel to logging strings in English.
Functions ¶
This section is empty.
Types ¶
type Logo ¶
type Logo struct {
// Logger is the *log.Logger used for the Logo. The default is log.Printf (log.std).
Logger *log.Logger
// Level determines the lowest log level to display.
Level LogLevel
// LogMessageMap maps LogLevel to logging strings.
LogMessageMap map[LogLevel]string
}
Logo represents the Logo logger.
Click to show internal directories.
Click to hide internal directories.