Documentation
¶
Index ¶
- Variables
- func CatchPanic(location string)
- func CatchPanicCallback(location string, cb func(err any))
- func Debug(template string, args ...interface{})
- func Error(template string, args ...interface{})
- func Info(template string, args ...interface{})
- func Init(dev bool)
- func UpdateLogger(config *zap.Config)
- func Warn(template string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.SugaredLogger
Functions ¶
func CatchPanicCallback ¶ added in v0.0.19
CatchPanic - Handle panic
func UpdateLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.