• Igor Wiedler's avatar
    Allow strings for levels in the monolog service provider · 121f3f2b
    Igor Wiedler authored
    The monolog service provider requires a constant on Monolog\Logger to be
    referenced, which has an integer value. This is not very practical when
    working with external configuration files.
    
    This patch accepts strings like debug, info, error, etc. that are
    translated to the corresponding logger constant values.
    
    This is an alternative to #882.
    121f3f2b
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
src/Silex Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
composer.json Loading commit data...
phpunit.xml.dist Loading commit data...