Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶ added in v1.1.0
type Logger struct {
// contains filtered or unexported fields
}
Logger represents logger instance
func (*Logger) Logger ¶ added in v1.1.0
func (l *Logger) Logger() *zap.SugaredLogger
Logger returns logger instance engine
func (*Logger) SetLevel ¶ added in v1.1.0
func (l *Logger) SetLevel(level string) *zap.SugaredLogger
SetLevel sets logging level. Available options are "debug", "info", "warn", "error", "fatal", "panic". If different value is passed as argument, info level is used by default. Returns logger instance engine.
Click to show internal directories.
Click to hide internal directories.