Documentation ¶
Index ¶
- func GetField(key, value string) zapcore.Field
- func NewLogger(filePath string, level zapcore.Level, maxSize int, maxBackups int, maxAge int, ...) *zap.Logger
- type LoggerBase
- func (log LoggerBase) Debug(msg string, fields ...zapcore.Field)
- func (log LoggerBase) Error(msg string, fields ...zapcore.Field)
- func (log LoggerBase) Fatal(msg string, fields ...zapcore.Field)
- func (log LoggerBase) Info(msg string, fields ...zapcore.Field)
- func (log LoggerBase) Warn(msg string, fields ...zapcore.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoggerBase ¶
Click to show internal directories.
Click to hide internal directories.