LogsHandler
class LogsHandler extends AbstractProcessingHandler
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)
Set the formatter for the logs generated by handleBatch().
FormatterInterface
getBatchFormatter()
Get the formatter for the logs generated by handleBatch().
void
write(LogRecord $record)
Write a log record.
void
doWrite(LogRecord $record)
Write a record to Sentry Logs.
Details
at line 22
void
handleBatch(array $records)
No description
at line 57
LogsHandler
setBatchFormatter(FormatterInterface $formatter)
Set the formatter for the logs generated by handleBatch().
at line 67
FormatterInterface
getBatchFormatter()
Get the formatter for the logs generated by handleBatch().
at line 79
protected void
write(LogRecord $record)
Write a log record.
at line 87
protected void
doWrite(LogRecord $record)
Write a record to Sentry Logs.