Documentation ¶
Index ¶
- Constants
- type Event
- type Fields
- type Level
- type Logger
- func (l *Logger) Error(template string, values ...interface{})
- func (l *Logger) Info(template string, values ...interface{})
- func (l *Logger) Panic(template string, values ...interface{})
- func (l *Logger) Trace(template string, values ...interface{})
- func (l *Logger) With(key string, value interface{}) Logger
- func (l *Logger) WithError(err error) Logger
- func (l *Logger) WithFields(fields Fields) Logger
- type Sink
Constants ¶
View Source
const ErrorKey = "error"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
func (*Logger) WithFields ¶
Click to show internal directories.
Click to hide internal directories.