File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,20 @@ sentry:
90
90
dsn :
" https://public:[email protected] /1"
91
91
` ` `
92
92
93
+ #### Optional: use monolog handler provided by ` sentry/sentry`
94
+ *Note: this step is optional*
95
+
96
+ The bundle registers `Sentry\Monolog\Handler` as a service. If You're using `monolog` for logging e.g. in-app errors, You
97
+ can use this handler in order for them to show up in Sentry. Modify `MonologBundle` configuration :
98
+
99
+ ` ` ` yaml
100
+ monolog:
101
+ sentry:
102
+ type: service
103
+ id: Sentry\M onolog\H andler
104
+ level: error
105
+ ` ` `
106
+
93
107
# # Maintained versions
94
108
* 3.x is actively maintained and developed on the master branch, and uses Sentry SDK 2.0;
95
109
* 2.x is supported only for fixes; from this version onwards it requires Symfony 3+ and PHP 7.1+;
You can’t perform that action at this time.
0 commit comments