Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilLogger = errors.New("logger is nil")
ErrNilLogger is returned by functions that expect a non-nil Logger, but received nil.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
Logger represents the component for writing messages to log.
It is a type alias of go.uber.org/zap.Logger.
type Prm ¶ added in v0.20.0
type Prm struct {
// contains filtered or unexported fields
}
Prm groups Logger's parameters.
func (*Prm) SetLevelString ¶ added in v0.20.0
SetLevelString sets minimum logging level.
Returns error of s is not a string representation of zap.Level value (see zapcore.Level docs).
Click to show internal directories.
Click to hide internal directories.