Skip to content

Commit 54f83ec

Browse files
committed
Mark breadcrumb handler as optional
1 parent 1ceb8d3 commit 54f83ec

File tree

1 file changed

+2
-2
lines changed
  • docs/platforms/php/guides/symfony/integrations

1 file changed

+2
-2
lines changed

docs/platforms/php/guides/symfony/integrations/monolog.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ sentry:
1212
register_error_handler: false # Disables the ErrorListener, ExceptionListener and FatalErrorListener integrations of the base PHP SDK
1313

1414
services:
15-
# Configure the breadcrumb handler as a service
15+
# (Optionally) Configure the breadcrumb handler as a service (needed for the breadcrumb Monolog handler)
1616
Sentry\Monolog\BreadcrumbHandler:
1717
arguments:
1818
- '@Sentry\State\HubInterface'
1919
- !php/const Monolog\Logger::INFO # Configures the level of messages to capture as breadcrumbs
2020

2121
monolog:
2222
handlers:
23-
# Register the breadcrumb handler as a Monolog handler
23+
# (Optionally) Register the breadcrumb handler as a Monolog handler
2424
sentry_breadcrumbs:
2525
type: service
2626
name: sentry_breadcrumbs

0 commit comments

Comments
 (0)