doctrine / DoctrineMongoDBBundle

Integrates Doctrine MongoDB ODM with Symfony
http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html
MIT License
379 stars 229 forks source link

Allow PSR/Log v2 and v3 #704

Closed IonBazan closed 2 years ago

IonBazan commented 2 years ago

PSR logger is only used in PSRCommandLogger: https://github.com/doctrine/DoctrineMongoDBBundle/blob/4.4.x/APM/PSRCommandLogger.php

Since we are only calling debug() method and not relying on any of return types, we can safely allow installing all versions of psr/log without any changes in code.