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 ¶
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func Fatal(msg string, fields ...zap.Field)
- func GetColor(level string, log string) string
- func Info(msg string, fields ...zap.Field)
- func Log() *zap.Logger
- func Panic(msg string, fields ...zap.Field)
- func Warn(msg string, fields ...zap.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.