2
0
This commit is contained in:
Nate Finch
2014-06-16 09:46:11 -04:00
+2 -4
View File
@@ -1,7 +1,5 @@
# lumberjack [![GoDoc](https://godoc.org/github.com/natefinch/lumberjack?status.png)](https://godoc.org/github.com/natefinch/lumberjack)
[![Build Status](https://travis-ci.org/natefinch/lumberjack.png)](https://travis-ci.org/natefinch/lumberjack)
# lumberjack [![GoDoc](https://godoc.org/github.com/natefinch/lumberjack?status.png)](https://godoc.org/github.com/natefinch/lumberjack) [![Build Status](https://travis-ci.org/natefinch/lumberjack.png)](https://travis-ci.org/natefinch/lumberjack)
### Lumberjack is a Go package for writing logs to rolling files.
@@ -79,7 +77,7 @@ type Logger struct {
Logger is an io.WriteCloser that writes to a log file in the given directory
with the given NameFormat. NameFormat should include a time formatting
layout in it that produces a valid unique filename for the OS. For more
about time formatting layouts, read a href="http://golang.org/pkg/time/#pkg-constants">http://golang.org/pkg/time/#pkg-constants</a>.
about time formatting layouts, read a http://golang.org/pkg/time/#pkg-constants.
The date encoded in the filename by NameFormat is used to determine which log
files are most recent in several situations.