You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/go/guides/zerolog/index.mdx
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,21 @@ WithBreadcrumbs bool
109
109
FlushTimeout time.Duration
110
110
```
111
111
112
+
- Using `hubProvider` for Scoped Sentry Hubs
113
+
114
+
The hubProvider allows you to configure the Sentry hook to use a custom Sentry hub. This can be particularly useful when you want to scope logs to specific goroutines or operations, enabling more precise grouping and context in Sentry.
115
+
116
+
You can set a custom hubProvider function using the SetHubProvider method:
0 commit comments