LogsHandler
class LogsHandler extends AbstractProcessingHandler
Traits
CompatibilityProcessingHandlerTrait
Properties
| protected FormatterInterface|null | $batchFormatter | The formatter to use for the logs generated via handleBatch(). |
Methods
void
handleBatch(array $records)
No description
setBatchFormatter(FormatterInterface $formatter)
Sets the formatter for the logs generated by handleBatch().
FormatterInterface
getBatchFormatter()
Gets the formatter for the logs generated by handleBatch().
void
doWrite(mixed $record)
Write a record to the handler.
Details
at line 24
void
handleBatch(array $records)
No description
at line 68
LogsHandler
setBatchFormatter(FormatterInterface $formatter)
Sets the formatter for the logs generated by handleBatch().
at line 78
FormatterInterface
getBatchFormatter()
Gets the formatter for the logs generated by handleBatch().
at line 93
protected void
doWrite(mixed $record)
Write a record to the handler.