From b36fccc0a4074a3028a7d120e97b08a898145a4c Mon Sep 17 00:00:00 2001 From: Aine Date: Thu, 5 Dec 2024 12:07:02 +0200 Subject: [PATCH] use default flush interval --- logger.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/logger.go b/logger.go index 31891e9..e8f76d8 100644 --- a/logger.go +++ b/logger.go @@ -4,7 +4,6 @@ import ( "context" "fmt" "os" - "time" sentryzerolog "github.com/getsentry/sentry-go/zerolog" "github.com/rs/zerolog" @@ -58,7 +57,6 @@ func newSentryWriter(ctx context.Context) (zerolog.LevelWriter, error) { return sentryzerolog.NewWithHub(GetHub(ctx), sentryzerolog.Options{ Levels: []zerolog.Level{zerolog.ErrorLevel, zerolog.FatalLevel, zerolog.PanicLevel}, - FlushTimeout: 5 * time.Second, WithBreadcrumbs: true, }) }