mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-25 10:36:33 +02:00
Merge pull request #609 from xploSEoF/patch-2
Prevent Monolog from ever being introspected
This commit is contained in:
@@ -30,10 +30,10 @@ class IntrospectionProcessor
|
||||
|
||||
private $skipClassesPartials;
|
||||
|
||||
public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array('Monolog\\'))
|
||||
public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array())
|
||||
{
|
||||
$this->level = Logger::toMonologLevel($level);
|
||||
$this->skipClassesPartials = $skipClassesPartials;
|
||||
$this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user