$processors
$processors : array<mixed,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.
$handler : \Monolog\Handler\HandlerInterface
__construct(\Monolog\Handler\HandlerInterface $handler, integer $bufferLimit, string|integer $level = \Monolog\Logger::DEBUG, boolean $bubble = true, boolean $flushOnOverflow = false)
| \Monolog\Handler\HandlerInterface | $handler | Handler. |
| integer | $bufferLimit | How many entries should be buffered at most, beyond that the oldest items are removed from the buffer. |
| string|integer | $level | The minimum logging level at which this handler will be triggered |
| boolean | $bubble | Whether the messages that are handled can bubble up the stack or not |
| boolean | $flushOnOverflow | If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded |
setFormatter(\Monolog\Formatter\FormatterInterface $formatter) : \Monolog\Handler\HandlerInterface
Sets the formatter.
| \Monolog\Formatter\FormatterInterface | $formatter |
self
getFormatter() : \Monolog\Formatter\FormatterInterface
Gets the formatter.