File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
docs/platforms/python/configuration Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff 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
252263Transports 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.
426437New 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 >
You can’t perform that action at this time.
0 commit comments