Skip to content

Commit

Permalink
Mark breadcrumb handler as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive committed Oct 9, 2024
1 parent 1ceb8d3 commit 54f83ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/platforms/php/guides/symfony/integrations/monolog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ sentry:
register_error_handler: false # Disables the ErrorListener, ExceptionListener and FatalErrorListener integrations of the base PHP SDK

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

monolog:
handlers:
# Register the breadcrumb handler as a Monolog handler
# (Optionally) Register the breadcrumb handler as a Monolog handler
sentry_breadcrumbs:
type: service
name: sentry_breadcrumbs
Expand Down

0 comments on commit 54f83ec

Please sign in to comment.