isHandling()
isHandling(array $record) : Boolean
Checks whether the given record will be handled by this handler.
This is mostly done for performance reasons, to avoid calling processors for nothing.
Parameters
array | $record |
Interface that all Monolog Handlers must implement
handle(array $record) : Boolean
Handles a record.
The return value of this function controls the bubbling process of the handler stack.
array | $record | The record to handle |
True means that this handler handled the record, and that bubbling is not permitted. False means the record was either not processed or that this handler allows bubbling.
setFormatter(\Monolog\Formatter\FormatterInterface $formatter)
Sets the formatter.
\Monolog\Formatter\FormatterInterface | $formatter |
getFormatter() : \Monolog\Formatter\FormatterInterface
Gets the formatter.
Loading…