Documentation ¶
Index ¶
- Constants
- func Debug(format string, val ...interface{})
- func Error(format string, val ...interface{})
- func Fatal(format string, val ...interface{})
- func Info(format string, val ...interface{})
- func LevelStr(str string) zapcore.Level
- func NewLogger(filePath string, level zapcore.Level, maxSize int, maxBackups int, maxAge int, ...) *zap.SugaredLogger
- func Set(cfg *Config)
- func Warn(format string, val ...interface{})
- type Config
Constants ¶
View Source
const ( DebugLevel = zapcore.DebugLevel InfoLevel = zapcore.InfoLevel WarnLevel = zapcore.WarnLevel ErrorLevel = zapcore.ErrorLevel DPanicLevel = zapcore.DPanicLevel PanicLevel = zapcore.PanicLevel FatalLevel = zapcore.FatalLevel )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.