2
0

Update README.md

update with new, windows-friendly filename format.
This commit is contained in:
Nate Finch
2014-06-24 08:51:25 -04:00
parent d4187366d3
commit a6f35bab25
+1 -1
View File
@@ -25,7 +25,7 @@ Code:
```go
log.SetOutput(&lumberjack.Logger{
Dir: "/var/log/myapp/",
NameFormat: time.RFC822 + ".log",
NameFormat: "2006-01-02T15-04-05.000.log",
MaxSize: lumberjack.Gigabyte,
MaxBackups: 3,
MaxAge: 28,