Documentation
¶
Overview ¶
This is a wrapper for the zap framework no SugerLogger, Only Logger @author: 胖胖的ALEX example:
Log().Debug("debug log test")
Log().Info("info log test")
Log().Warn("warn log test")
Log().Error("error log test")
Log().Panic("panic log test")
Log().Fatal("fatal log test")
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Color ¶ added in v1.0.9
type Color struct {
Info func(a ...interface{}) string
Low func(a ...interface{}) string
Midium func(a ...interface{}) string
High func(a ...interface{}) string
Critical func(a ...interface{}) string
Vulner func(a ...interface{}) string
Time func(a ...interface{}) string
Title func(a ...interface{}) string
}
var LogColor *Color
Click to show internal directories.
Click to hide internal directories.