Skip to content

Commit

Permalink
Update Symfony/Monolog PSR3 information
Browse files Browse the repository at this point in the history
  • Loading branch information
HypeMC committed Aug 12, 2024
1 parent f6d39b8 commit 91dc622
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/platforms/php/guides/symfony/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,7 @@ monolog:
level: !php/const Monolog\Logger::ERROR
hub_id: Sentry\State\HubInterface
fill_extra_context: true # Enables sending monolog context to Sentry
```
Additionally, you can register the `PsrLogMessageProcessor` to resolve PSR-3 placeholders in reported messages:

{/* <!-- prettier-ignore --> */}
```yaml {filename:config/packages/sentry.yaml}
services:
Monolog\Processor\PsrLogMessageProcessor:
tags: { name: monolog.processor, handler: sentry }
process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders in reported messages
```
## Verify
Expand Down

0 comments on commit 91dc622

Please sign in to comment.