Documentation ¶
Index ¶
- func ErrorField(err error) zap.Field
- type Logger
- func (l *Logger) Close()
- func (l *Logger) Field(key string, value interface{}) zap.Field
- func (l *Logger) FieldDuration(key string, value time.Duration) zap.Field
- func (l *Logger) FieldError(err error) zap.Field
- func (l *Logger) FieldInt(key string, value int) zap.Field
- func (l *Logger) FieldString(key string, value string) zap.Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorField ¶
Types ¶
type Logger ¶
func (*Logger) FieldDuration ¶
Click to show internal directories.
Click to hide internal directories.