Documentation
¶
Index ¶
Constants ¶
View Source
const ( Fatal = iota Error Warn Info Debug )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
ErrorErr(error)
Errorf(format string, args ...interface{})
Error(args ...interface{})
Warnf(format string, args ...interface{})
Warn(args ...interface{})
Infof(format string, args ...interface{})
Info(args ...interface{})
Debugf(format string, args ...interface{})
Debug(args ...interface{})
WithContext(fields map[string]interface{}) Logger
}
func NewLogrusLogger ¶
func NewSimpleLoggerNull ¶
func NewSimpleLoggerNull() Logger
Click to show internal directories.
Click to hide internal directories.