Skip to content

Commit d599fae

Browse files
ruudkJean85
authored andcommitted
Explain PsrLogMessageProcessor (#295)
* Explain PsrLogMessageProcessor * Apply feedback
1 parent b8090f4 commit d599fae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ monolog:
129129
id: Sentry\Monolog\Handler
130130
```
131131

132+
Additionally, you can register the `PsrLogMessageProcessor` to resolve PSR-3 placeholders in reported messages:
133+
134+
```yaml
135+
services:
136+
Monolog\Processor\PsrLogMessageProcessor:
137+
tags: { name: monolog.processor, handler: sentry }
138+
```
139+
132140
## Maintained versions
133141
* 3.x is actively maintained and developed on the master branch, and uses Sentry SDK 2.0;
134142
* 2.x is supported only for fixes; from this version onwards it requires Symfony 3+ and PHP 7.1+;

0 commit comments

Comments
 (0)