Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(msg string, fields ...interface{}) Warn(msg string, fields ...interface{}) Error(msg string, fields ...interface{}) Panic(msg string, fields ...interface{}) // With returns a logger instance that adds the given fields to every logged message With(fields ...interface{}) Logger }
Logger is a basic logger interface. Fields have to be passed in pairs as "key", "value"
Click to show internal directories.
Click to hide internal directories.