Documentation ¶
Index ¶
- func DPanic(msg string, args ...zap.Field)
- func Debug(msg string, args ...zap.Field)
- func Error(msg string, args ...zap.Field)
- func Fatal(msg string, args ...zap.Field)
- func Info(msg string, args ...zap.Field)
- func Init(cfgLog string, module string)
- func Panic(msg string, args ...zap.Field)
- func SetConsoleLevel(level zapcore.Level)
- func SetFileLevel(level zapcore.Level)
- func StructField(i interface{}) []zap.Field
- func Warn(msg string, args ...zap.Field)
- type LogConfig
- type LogConfiguration
- type Logger
- func (l *Logger) DPanic(msg string, args ...zap.Field)
- func (l *Logger) Debug(msg string, args ...zap.Field)
- func (l *Logger) Error(msg string, args ...zap.Field)
- func (l *Logger) Fatal(msg string, args ...zap.Field)
- func (l *Logger) Info(msg string, args ...zap.Field)
- func (l *Logger) Panic(msg string, args ...zap.Field)
- func (l *Logger) SetConsoleLevel(level zapcore.Level)
- func (l *Logger) SetFileLevel(level zapcore.Level)
- func (l *Logger) Warn(msg string, args ...zap.Field)
- func (l *Logger) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetFileLevel ¶
Types ¶
type LogConfiguration ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) SetConsoleLevel ¶
func (*Logger) SetFileLevel ¶
Click to show internal directories.
Click to hide internal directories.