Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
philippzagar committed Aug 10, 2021
1 parent 2d4e44e commit ffc253a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ LogstashLogHandler.setup(hostname: "0.0.0.0", port: 31311)
LoggingSystem.bootstrap(LogstashLogHandler.init)
```

**Important:** Setup the `LogstashLogHandler` before registering it in the `LoggingSystem`!

Furthermore, it's possible to register multiple logging backends. An option would be to send the logs to Logstash as well as print them to console:

```swift
Expand Down

0 comments on commit ffc253a

Please sign in to comment.