1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 06:52:34 +01:00

Reorder processor stack

This commit is contained in:
Jordi Boggiano 2011-02-25 22:01:37 +01:00
parent 903bbd0fd6
commit 156e2ace46

View File

@ -70,12 +70,12 @@ abstract class AbstractHandler implements HandlerInterface
public function pushProcessor($callback)
{
$this->processors[] = $callback;
array_unshift($this->processors, $callback);
}
public function popProcessor()
{
return array_pop($this->processors);
return array_shift($this->processors);
}
public function setFormatter($formatter)