mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-18 02:41:24 +02:00
Reorder processor stack
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user