Documentation
¶
Index ¶
- func Debug(v ...any)
- func Debugf(format string, v ...any)
- func Error(v ...any)
- func Errorf(format string, v ...any)
- func Fatal(v ...any)
- func Fatalf(format string, v ...any)
- func Info(v ...any)
- func Infof(format string, v ...any)
- func InitLogger(path string, level LogLevel)
- func IsDebug() bool
- func NewTextLoggerWithCompression(cfg Config) *zap.Logger
- func SetLevel(level LogLevel)
- func Shutdown()
- func Warn(v ...any)
- func Warnf(format string, v ...any)
- type Config
- type LogLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTextLoggerWithCompression ¶
NewTextLoggerWithCompression 初始化支持压缩的纯文本日志配置
Types ¶
Click to show internal directories.
Click to hide internal directories.