Documentation ¶
Index ¶
- func ErrorField(err error) zap.Field
- type Logger
- func (l *Logger) Close()
- func (l *Logger) Duration(key string, value time.Duration) zap.Field
- func (l *Logger) Error(context contract.Context, msg string, fields *[]contract.Field)
- func (l *Logger) Field(key string, value any) zap.Field
- func (l *Logger) Info(context contract.Context, msg string, fields *[]contract.Field)
- func (l *Logger) Int(key string, value int) zap.Field
- func (l *Logger) NewMessage(context contract.Context, msg string, fields *[]contract.Field) *contract.Message
- func (l *Logger) String(key string, value string) zap.Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorField ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.