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 map[string]interface{}) Info(msg string, fields map[string]interface{}) Warn(msg string, fields map[string]interface{}) Error(msg string, fields map[string]interface{}) Fatal(msg string, fields map[string]interface{}) }
Logger is an interface describes the available logger methods.
func NewLogrusLogger ¶
NewLogrusLogger creates a new instance logrus logger that implements Logger interface with given level (panic, fatal, error, warn, warning, info, debug, trace).
Click to show internal directories.
Click to hide internal directories.