Documentation ¶
Index ¶
- type Logger
- func (l *Logger) AddAnyField(key string, value any)
- func (l *Logger) AddIntField(key string, value int)
- func (l *Logger) AddStringField(key string, value string)
- func (l *Logger) Debug(msg string)
- func (l *Logger) Error(err error)
- func (l *Logger) ErrorMsg(msg string)
- func (l *Logger) Info(msg string)
- func (l *Logger) LogRequest(data logging.LogData)
- func (l *Logger) NewScope(value string) logging.Writer
- func (l *Logger) Warn(msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { ID string Fields map[string]zapcore.Field // contains filtered or unexported fields }
func (*Logger) AddAnyField ¶ added in v0.0.12
func (*Logger) AddIntField ¶ added in v0.0.12
func (*Logger) AddStringField ¶ added in v0.0.12
func (*Logger) LogRequest ¶
Click to show internal directories.
Click to hide internal directories.