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 ¶
type Color struct { Info func(a ...any) string Low func(a ...any) string Midium func(a ...any) string High func(a ...any) string Critical func(a ...any) string Unkown func(a ...any) string Vulner func(a ...any) string Time func(a ...any) string Title func(a ...any) string Banner func(a ...any) string Bold func(a ...any) string Red func(a ...any) string Green func(a ...any) string Extractor func(a ...any) string }
var LogColor *Color
Click to show internal directories.
Click to hide internal directories.