Documentation ¶
Index ¶
- func Debugf(template string, args ...interface{})
- func Errorf(template string, args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Glob() *zap.SugaredLogger
- func Infof(template string, args ...interface{})
- func Panicf(template string, args ...interface{})
- func SetLogLevelAt(level string) error
- func Warnf(template string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(template string, args ...interface{})
Debugf uses fmt.Sprintf to log a templated message.
func Errorf ¶
func Errorf(template string, args ...interface{})
Errorf uses fmt.Sprintf to log a templated message.
func Fatalf ¶
func Fatalf(template string, args ...interface{})
Fatalf uses fmt.Sprintf to log a templated message.
func Glob ¶
func Glob() *zap.SugaredLogger
func Infof ¶
func Infof(template string, args ...interface{})
Infof uses fmt.Sprintf to log a templated message.
func Panicf ¶
func Panicf(template string, args ...interface{})
Panicf uses fmt.Sprintf to log a templated message.
func SetLogLevelAt ¶
SetLogLevelAt creates a new SugaredLogger with provided log level enabled and assigns it as the global logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.