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)
Info(msg string)
Warn(msg string)
Error(msg string)
Fatal(msg string)
WithField(key string, value interface{}) Logger
WithFields(fields map[string]interface{}) Logger
}
func NewLoggerWithLevel ¶
NewLoggerWithLevel creates a new logger with the specified log level
Click to show internal directories.
Click to hide internal directories.