SimpleLogRecordProcessor
in package
implements
LogRecordProcessorInterface
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- forceFlush() : bool
- onEmit() : void
- shutdown() : bool
Properties
$exporter read-only
private
LogRecordExporterInterface
$exporter
Methods
__construct()
public
__construct(LogRecordExporterInterface $exporter) : mixed
Parameters
- $exporter : LogRecordExporterInterface
forceFlush()
public
forceFlush([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null
Return values
boolonEmit()
public
onEmit(ReadWriteLogRecord $record[, ContextInterface|null $context = null ]) : void
Parameters
- $record : ReadWriteLogRecord
- $context : ContextInterface|null = null
Tags
shutdown()
public
shutdown([CancellationInterface|null $cancellation = null ]) : bool
Parameters
- $cancellation : CancellationInterface|null = null