We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49021f2 commit e3dba45Copy full SHA for e3dba45
README.md
@@ -26,7 +26,7 @@ func main() {
26
if err := sentry.Init(sentry.ClientOptions{
27
Dsn: "myDSN",
28
}); err != nil {
29
- slog.Error("init sentry", err)
+ slog.Error("init sentry", "err", err)
30
}
31
32
defer sentry.Flush(time.Second * 2)
handler.go
@@ -8,11 +8,6 @@ import (
8
"github.com/getsentry/sentry-go"
9
)
10
11
-// SentryHandlerOpts represent Sentry hooks options.
12
-type SentryHandlerOpts struct {
13
- Opts slog.HandlerOptions
14
-}
15
-
16
// SentryHandler is a Handler that writes log records to the Sentry.
17
type SentryHandler struct {
18
slog.Handler
0 commit comments