Skip to content

Commit d16367a

Browse files
committed
Add missing import
1 parent 7520e53 commit d16367a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/platforms/go/guides/zerolog/index.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ To integrate Sentry with Zerolog, you need to set up a custom writer that sends
3030
import (
3131
"errors"
3232
"time"
33-
33+
"os"
34+
3435
"github.com/getsentry/sentry-go"
3536
sentryzerolog "github.com/getsentry/sentry-go/zerolog"
3637
"github.com/rs/zerolog"
@@ -113,5 +114,3 @@ FlushTimeout time.Duration
113114
Use Zerolog as you normally would, and it will automatically send logs at or above the specified levels to Sentry.
114115

115116
Note: Ensure Sentry is flushed before the application exits to avoid losing any pending events.
116-
117-

0 commit comments

Comments
 (0)