mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-19 07:36:17 +02:00
Add support for PSR-3 levels to all public APIs accepting levels, fixes #421
This commit is contained in:
@@ -32,7 +32,7 @@ class IntrospectionProcessor
|
||||
|
||||
public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array('Monolog\\'))
|
||||
{
|
||||
$this->level = $level;
|
||||
$this->level = Logger::toMonologLevel($level);
|
||||
$this->skipClassesPartials = $skipClassesPartials;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user