mirror of https://github.com/sirupsen/logrus.git
commit
446d1c146f
|
@ -301,7 +301,7 @@ The built-in logging formatters are:
|
|||
* `logrus/formatters/logstash.LogstashFormatter`. Logs fields as [Logstash](http://logstash.net) Events.
|
||||
|
||||
```go
|
||||
logrus.SetFormatter(&logstash.LogstashFormatter{Type: “application_name"})
|
||||
logrus.SetFormatter(&logstash.LogstashFormatter{Type: "application_name"})
|
||||
```
|
||||
|
||||
Third party logging formatters:
|
||||
|
|
Loading…
Reference in New Issue