Skip to content

Commit 19a14f2

Browse files
committed
move before send to hooks
1 parent 7063a1a commit 19a14f2

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

docs/platforms/python/configuration/options.mdx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,19 @@ The callback typically gets a second argument (called a "hint") which contains t
245245

246246
</SdkOption>
247247

248+
<SdkOption name="before_send_log" type='Optional[Callable[Log, Hint] -> Optional[Log]]' defaultValue='None'>
249+
250+
A function that will be called for each log. It can be used to modify the log
251+
before it's sent to Sentry or to filter specific logs out altogether (if it returns
252+
`None`).
253+
254+
New in SDK version `2.35.0`. Prior to `2.35.0`, this option was experimental.
255+
256+
</SdkOption>
257+
248258
<PlatformContent includePath="/performance/traces-sampler-config-option" />
249259

260+
250261
## Transport Options
251262

252263
Transports are used to send events to Sentry. Transports can be customized to some degree to better support highly specific deployments.
@@ -426,13 +437,3 @@ logging integrations.
426437
New in SDK version `2.35.0`. Prior to `2.35.0`, this option was experimental.
427438

428439
</SdkOption>
429-
430-
<SdkOption name="before_send_log" type='Optional[Callable[Log, Hint] -> Optional[Log]]' defaultValue='None'>
431-
432-
A function that will be called for each log. It can be used to modify the log
433-
before it's sent to Sentry or to filter specific logs out altogether (if it returns
434-
`None`).
435-
436-
New in SDK version `2.35.0`. Prior to `2.35.0`, this option was experimental.
437-
438-
</SdkOption>

0 commit comments

Comments
 (0)