Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Debug(message string)
- func (l *Logger) Debugf(message string, props log.Props)
- func (l *Logger) Error(err error)
- func (l *Logger) Errorf(message string, props log.Props)
- func (l *Logger) Info(message string)
- func (l *Logger) Infof(message string, props log.Props)
- func (l *Logger) IsEnabled(level log.Level) bool
- func (l *Logger) New() log.Logger
- func (l *Logger) SetLevel(level log.Level)
- func (l *Logger) SetProperty(key string, value interface{})
- func (l *Logger) Warn(message string)
- func (l *Logger) Warnf(message string, props log.Props)
- func (l *Logger) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger output messages to console
func (*Logger) SetProperty ¶
SetProperty with given key:value into current logger context
Click to show internal directories.
Click to hide internal directories.