Documentation ¶
Index ¶
- func Debugf(template string, args ...interface{})
- func Default(debug ...bool) log.Logger
- func EnableDebug()
- func Errorf(template string, args ...interface{})
- func Infof(template string, args ...interface{})
- func New(opts ...zap.Option) log.Logger
- func Printf(format string, v ...interface{})
- func SetLogger(l log.Logger)
- func Warnf(template string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶ added in v1.5.0
func Debugf(template string, args ...interface{})
Debugf logs a message at DebugLevel.
func EnableDebug ¶
func EnableDebug()
EnableDebug enables the development model for logging. Deprecated
func Errorf ¶ added in v1.5.0
func Errorf(template string, args ...interface{})
Errorf logs a message at ErrorLevel.
func Infof ¶ added in v1.5.0
func Infof(template string, args ...interface{})
Infof logs a message at InfoLevel.
func Printf ¶
func Printf(format string, v ...interface{})
Printf prints a formated message without a specified level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.