This commit is contained in:
Manfred Touron 2015-06-30 23:20:00 +02:00
parent b34dae6f7a
commit 3b1ecc5fdd
1 changed files with 1 additions and 1 deletions

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()