29 public function handle(array $record)
37 $record[
'formatted'] = $this->
getFormatter()->format($record);
39 $this->
write($record);
50 abstract protected function write(array $record);
60 if ($this->processors) {
61 foreach ($this->processors as $processor) {
62 $record = call_user_func($processor, $record);
Base Handler class providing the Handler structure.
Base Handler class providing the Handler structure.
write(array $record)
Writes the record down to the log of the implementing handler.
handle(array $record)
{Handles a record.All records may be passed to this method, and the handler should discard those that...
getFormatter()
{Gets the formatter.FormatterInterface}
isHandling(array $record)
{Checks whether the given record will be handled by this handler.This is mostly done for performance ...
processRecord(array $record)
Processes a record.