mirror of https://github.com/sirupsen/logrus.git
commit
eb84da520d
|
@ -57,5 +57,5 @@ with a call to `NewSentryHook`. This can be changed by assigning a value to the
|
||||||
|
|
||||||
```go
|
```go
|
||||||
hook, _ := logrus_sentry.NewSentryHook(...)
|
hook, _ := logrus_sentry.NewSentryHook(...)
|
||||||
hook.Timeout = 20*time.Seconds
|
hook.Timeout = 20*time.Second
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue