处理日志默认参数

This commit is contained in:
liwei1dao 2022-12-02 16:33:36 +08:00
parent 6916304695
commit 1f889cad23

View File

@ -128,6 +128,7 @@ func newOptionsByOption(opts ...Option) (options *Options, err error) {
CupTimeTime: 24,
MaxAgeTime: 7,
MaxBackups: 250,
MaxSize: 100 * 1024 * 1024,
Compress: false,
Encoder: TextEncoder,
CallerSkip: 3,