mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-24 21:56:17 +02:00
Reorder processor stack
This commit is contained in:
@@ -70,12 +70,12 @@ abstract class AbstractHandler implements HandlerInterface
|
|||||||
|
|
||||||
public function pushProcessor($callback)
|
public function pushProcessor($callback)
|
||||||
{
|
{
|
||||||
$this->processors[] = $callback;
|
array_unshift($this->processors, $callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function popProcessor()
|
public function popProcessor()
|
||||||
{
|
{
|
||||||
return array_pop($this->processors);
|
return array_shift($this->processors);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setFormatter($formatter)
|
public function setFormatter($formatter)
|
||||||
|
Reference in New Issue
Block a user