Change definition of maxage to make it easier (i.e. possible) to load from a json/yaml/etc
This commit is contained in:
+1
-1
@@ -35,6 +35,6 @@ func Example() {
|
||||
NameFormat: time.RFC822 + ".log",
|
||||
MaxSize: lumberjack.Gigabyte,
|
||||
MaxBackups: 3,
|
||||
MaxAge: lumberjack.Week * 4,
|
||||
MaxAge: 28,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user