Documentation
¶
Index ¶
- Variables
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func Errorf(format string, args ...interface{})
- func Fatal(msg string, fields ...zap.Field)
- func Fatalf(format string, args ...interface{})
- func Info(msg string, fields ...zap.Field)
- func Infof(format string, args ...interface{})
- func InitLogger(level string, outputPath string, maxSize int, maxBackups int, maxAge int, ...)
- func Warn(msg string, fields ...zap.Field)
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *zap.Logger
Logger 全局日志实例
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.