2
0

Change definition of maxage to make it easier (i.e. possible) to load from a json/yaml/etc

This commit is contained in:
Nate Finch
2014-06-18 08:09:40 -04:00
parent 06f4f4ea5e
commit 72cc861377
4 changed files with 69 additions and 40 deletions
+1 -1
View File
@@ -35,6 +35,6 @@ func Example() {
NameFormat: time.RFC822 + ".log",
MaxSize: lumberjack.Gigabyte,
MaxBackups: 3,
MaxAge: lumberjack.Week * 4,
MaxAge: 28,
})
}