File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ the [PHP specific](https://docs.sentry.io/platforms/php/#php-specific-options) o
106
106
If You're using `monolog` for logging e.g. in-app errors, You
107
107
can use this handler in order for them to show up in Sentry.
108
108
109
- First, define `Sentry\Monolog\Handler` as a service in `app/ config/services.yml `
109
+ First, define `Sentry\Monolog\Handler` as a service in `config/services.yaml `
110
110
111
111
` ` ` yaml
112
112
services:
@@ -118,10 +118,11 @@ Then enable it in `monolog` config:
118
118
119
119
` ` ` yaml
120
120
monolog:
121
- sentry:
122
- type: service
123
- id: sentry.monolog.handler
124
- level: error
121
+ handlers:
122
+ sentry:
123
+ type: service
124
+ id: sentry.monolog.handler
125
+ level: error
125
126
` ` `
126
127
127
128
# # Maintained versions
You can’t perform that action at this time.
0 commit comments