Documentation ¶
Index ¶
- func Debug(msg string, fields ...zap.Field)
- func Debugf(msg string, value ...any)
- func DevPanic(msg string, fields ...zap.Field)
- func DevPanicf(msg string, fields ...any)
- func Error(msg string, fields ...zap.Field)
- func Errorf(msg string, fields ...any)
- func Info(msg string, fields ...zap.Field)
- func Infof(msg string, value ...any)
- func InitLog(level zapcore.Level)
- func InitWithConfig(config LogConfig)
- func NewLogger(config LogConfig) *zap.Logger
- func Panic(msg string, fields ...zap.Field)
- func Panicf(msg string, fields ...any)
- func Sync() error
- func Warn(msg string, fields ...zap.Field)
- func Warnf(msg string, fields ...any)
- type LogConfig
- type LogNormalLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitWithConfig ¶ added in v0.0.5
func InitWithConfig(config LogConfig)
Types ¶
Click to show internal directories.
Click to hide internal directories.