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

Parameters

array $records

Return Value

void

at line 68
LogsHandler setBatchFormatter(FormatterInterface $formatter)

Sets the formatter for the logs generated by handleBatch().

Parameters

FormatterInterface $formatter

Return Value

LogsHandler

at line 78
FormatterInterface getBatchFormatter()

Gets the formatter for the logs generated by handleBatch().

Return Value

FormatterInterface

at line 93
protected void doWrite(mixed $record)

Write a record to the handler.

Parameters

mixed $record

Return Value

void