• 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
..
Silex/Tests Loading commit data...
bootstrap.php Loading commit data...