diff --git a/README.md b/README.md index caef6c1..cd60bba 100644 --- a/README.md +++ b/README.md @@ -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