From 20a65068306b951d7fa8f1ca4255f23a25a74e3d Mon Sep 17 00:00:00 2001 From: Nate Finch Date: Mon, 16 Jun 2014 07:20:18 -0400 Subject: [PATCH] readme again --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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