Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Debugf(msg string, args ...interface{})
- func (l *Logger) Debugw(msg string, keysAndValues ...interface{})
- func (l *Logger) Errorf(msg string, args ...interface{})
- func (l *Logger) Errorw(msg string, keysAndValues ...interface{})
- func (l *Logger) Fatalf(msg string, args ...interface{})
- func (l *Logger) Fatalw(msg string, keysAndValues ...interface{})
- func (l *Logger) Infof(msg string, args ...interface{})
- func (l *Logger) Infow(msg string, keysAndValues ...interface{})
- func (l *Logger) Warnf(msg string, args ...interface{})
- func (l *Logger) Warnw(msg string, keysAndValues ...interface{})
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 represents a zap logger implementation.
func (*Logger) Debugw ¶
Debugw writes a 'debug' message to configured logger with some additional context.
func (*Logger) Errorw ¶
Errorw writes an 'error' message to configured logger with some additional context.
func (*Logger) Fatalw ¶
Fatalw writes a 'fatal' message to configured logger with some additional context.
func (*Logger) Infow ¶
Infow writes a 'info' message to configured logger with some additional context.
Click to show internal directories.
Click to hide internal directories.