\Monolog\HandlerProcessableHandlerInterface

Interface to describe loggers that have processors

Summary

Methods
Constants
pushProcessor()
popProcessor()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

pushProcessor()

pushProcessor(\Monolog\Processor\ProcessorInterface|callable  $callback) : \Monolog\Handler\HandlerInterface

Adds a processor in the stack.

Parameters

\Monolog\Processor\ProcessorInterface|callable $callback

Returns

\Monolog\Handler\HandlerInterface —

self

popProcessor()

popProcessor() : callable|\Monolog\Processor\ProcessorInterface

Removes the processor on top of the stack and returns it.

Throws

\LogicException

In case the processor stack is empty

Returns

callable|\Monolog\Processor\ProcessorInterface —