Documentation ¶
Index ¶
- Constants
- func Debug(template string, args ...interface{})
- func Error(template string, args ...interface{})
- func Fatal(template string, args ...interface{})
- func Info(template string, args ...interface{})
- func NewLogger() *zap.SugaredLogger
- func Panic(template string, args ...interface{})
- func SetLevel(level zapcore.Level)
- func Warn(template string, args ...interface{})
Constants ¶
View Source
const EncodeTimeFormat = "2006.01.02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
func NewLogger ¶ added in v0.6.0
func NewLogger() *zap.SugaredLogger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.