Merge pull request #206 from moul/patch-1

fix typo
This commit is contained in:
Simon Eskildsen
2015-06-30 22:57:07 -04:00
+1 -1
View File
@@ -329,7 +329,7 @@ func (f *JSONFormatter) Format(entry *Entry) ([]byte, error) {
#### Logger as an `io.Writer`
Logrus can be transormed into an `io.Writer`. That writer is the end of an `io.Pipe` and it is your responsibility to close it.
Logrus can be transformed into an `io.Writer`. That writer is the end of an `io.Pipe` and it is your responsibility to close it.
```go
w := logger.Writer()