Versions in this module Expand all Collapse all v0 v0.0.2 Oct 30, 2023 Changes in this version + const DefaultConfigFilePath + const DefaultOutputFolder v0.0.1 Oct 27, 2023 Changes in this version + func DPanic(msg string, fields ...zapcore.Field) + func Debug(msg string, fields ...zapcore.Field) + func Error(msg string, fields ...zapcore.Field) + func Fatal(msg string, fields ...zapcore.Field) + func Info(msg string, fields ...zapcore.Field) + func InitLogger(conf Config) *zap.Logger + func Initialize(cfp string) + func Panic(msg string, fields ...zapcore.Field) + func Sync() error + func Warn(msg string, fields ...zapcore.Field) + type Config struct + Context LineContext + Level string + Output Output + func (conf *Config) Default() + func (conf *Config) Fix() + type LineContext struct + Fileds map[string]string + Format string + ShowCaller bool + type Output struct + Compress bool + Console bool + File bool + FilePath string + MaxAge int + MaxBackups int + MaxSize int