Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZeroSlave authored Jul 9, 2022
1 parent 643600a commit 1159232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func modifyToSentryLogger(log *zap.Logger, client *sentry.Client) *zap.Logger {
```

Please note that wrapper does not guarantee that all your events will be sent before the app exits.
Flush called internally only in case of writing message with severity level > zapcore.ErrorLevel(Fatal, Panic, ...).
Flush called internally only in case of writing message with severity level > zapcore.ErrorLevel (i.e. Fatal, Panic, ...).
If you want to ensure your messages come to sentry - call the flush on native sentry client at defer.
Example:
```golang
Expand Down

0 comments on commit 1159232

Please sign in to comment.