You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trigger_deprecation('symfony/monolog-bundle', '3.11', 'The "mongo" handler type is deprecated in MonologBundle since version 3.11.0, use the "mongodb" type instead.');
234
+
235
+
if (!class_exists('MongoDB\Client')) {
236
+
thrownew \RuntimeException('The "mongo" handler requires the mongodb/mongodb package to be installed.');
trigger_deprecation('symfony/monolog-bundle', '3.8', 'The "elasticsearch" handler type is deprecated in MonologBundle since version 3.8.0, use the "elastica" type instead, or switch to the official Elastic client using the "elastic_search" type.');
305
+
// no break
306
+
260
307
case'elastica':
261
308
case'elastic_search':
262
309
if (isset($handler['elasticsearch']['id'])) {
@@ -811,6 +858,7 @@ private function getHandlerClassByType(string $handlerType): string
0 commit comments