Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Commit

Permalink
Merge pull request sirupsen#256 from flowlo/patch-1
Browse files Browse the repository at this point in the history
Improve references to Logstash formatter
  • Loading branch information
sirupsen committed Oct 5, 2015
2 parents a6a8245 + 005f65e commit 05fe8fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,10 @@ The built-in logging formatters are:
field to `true`. To force no colored output even if there is a TTY set the
`DisableColors` field to `true`
* `logrus.JSONFormatter`. Logs fields as JSON.
* `logrus_logstash.LogstashFormatter`. Logs fields as Logstash Events (https://logstash.net).
* `logrus/formatters/logstash.LogstashFormatter`. Logs fields as [Logstash](https://logstash.net) Events.

```go
logrus.SetFormatter(&logrus_logstash.LogstashFormatter{Type: “application_name"})
logrus.SetFormatter(&logstash.LogstashFormatter{Type: “application_name"})
```
Third party logging formatters:
Expand Down

0 comments on commit 05fe8fb

Please sign in to comment.