2
0

readme again

This commit is contained in:
Nate Finch
2014-06-16 07:20:18 -04:00
parent ffdf92b04f
commit 20a6506830
+5 -3
View File
@@ -1,5 +1,7 @@
# 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.
@@ -135,7 +137,7 @@ to the normal rules.
Example of how to rotate in response to SIGHUP.
Code:
```go
l := &lumberjack.Logger{}
log.SetOutput(l)
c := make(chan os.Signal, 1)
@@ -147,7 +149,7 @@ Code:
l.Rotate()
}
}()
```
### func (\*Logger) Write