- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AddSync (0.77 sec)
-
pkg/log/config.go
} else { enc = zapcore.NewConsoleEncoder(encCfg) useJSON.Store(false) } } var rotaterSink zapcore.WriteSyncer if options.RotateOutputPath != "" { rotaterSink = zapcore.AddSync(&lumberjack.Logger{ Filename: options.RotateOutputPath, MaxSize: options.RotationMaxSize, MaxBackups: options.RotationMaxBackups, MaxAge: options.RotationMaxAge, }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 12.1K bytes - Viewed (0)