mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-26 10:06:10 +01: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;
|
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->level = Logger::toMonologLevel($level);
|
||||||
$this->skipClassesPartials = $skipClassesPartials;
|
$this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user