Documentation ¶
Index ¶
- func Wrap(log *zap.Logger, level *zap.AtomicLevel) logging.Logger
- type Wrapper
- func (w *Wrapper) Debug(f string, a ...interface{})
- func (w *Wrapper) Error(f string, a ...interface{})
- func (w *Wrapper) GetLevel() logging.Level
- func (w *Wrapper) Info(f string, a ...interface{})
- func (w *Wrapper) SetLevel(l logging.Level)
- func (w *Wrapper) Warn(f string, a ...interface{})
- func (w *Wrapper) WithFields(fields map[string]interface{}) logging.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
Wrapper implements logging.Logger for a zap Logger.
Click to show internal directories.
Click to hide internal directories.