Documentation ¶
Index ¶
- Constants
- type Logger
- func (l *Logger) Close()
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Fatal(args ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Warning(args ...interface{})
- func (l *Logger) WithError(msg string, err error)
- func (l *Logger) WithFields(msg string, fields map[string]interface{})
Constants ¶
View Source
const ( LogLevelDevel = "devel" LogLevelProd = "prod" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) WithFields ¶
Click to show internal directories.
Click to hide internal directories.