$processors
$processors : callable[]
Buffers all records until closing the handler and then pass them as batch.
This is useful for a MailHandler to send only one mail per request instead of sending one per log message.
$processors : callable[]
$level : int
$bubble : bool
$handler : \Monolog\Handler\HandlerInterface
$bufferSize : int
$bufferLimit : int
$flushOnOverflow : bool
$buffer : \Monolog\Handler\Record[]
$initialized : bool
__construct(\Monolog\Handler\HandlerInterface $handler, int $bufferLimit, mixed $level = Logger::DEBUG, bool $bubble = true, bool $flushOnOverflow = false) : mixed
\Monolog\Handler\HandlerInterface | $handler | Handler. |
int | $bufferLimit | How many entries should be buffered at most, beyond that the oldest items are removed from the buffer. |
mixed | $level | The minimum logging level at which this handler will be triggered |
bool | $bubble | Whether the messages that are handled can bubble up the stack or not |
bool | $flushOnOverflow | If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded |