Documentation ¶ Index ¶ type LogLevel type Logger func NewConsoleLogger(logLevel LogLevel, context string) Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type LogLevel ¶ type LogLevel int64 const ( Debug LogLevel = iota Information Warning Error ) type Logger ¶ type Logger interface { Debug(format string, a ...interface{}) Information(format string, a ...interface{}) Warning(format string, a ...interface{}) Error(format string, a ...interface{}) } func NewConsoleLogger ¶ func NewConsoleLogger(logLevel LogLevel, context string) Logger Source Files ¶ View all Source files console.go logging.go Click to show internal directories. Click to hide internal directories.