1
0
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:
Jordi Boggiano
2015-07-20 19:24:38 +01:00

View File

@@ -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);
} }
/** /**