NullProcessor extends AbstractProcessor

A log processor that does nothing. Used in unit tests.

Table of Contents

Methods

__construct()  : mixed
Constructs this log processor
processLogRecord()  : LogRecord
Processes a log record and returns the same.

Methods

__construct()

Constructs this log processor

public __construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
$options : array<string|int, mixed> = []

Configuration options - depends on the actual processor

Tags
throws
InvalidLogProcessorConfigurationException

processLogRecord()

Processes a log record and returns the same.

public processLogRecord(LogRecord $logRecord) : LogRecord
Parameters
$logRecord : LogRecord

The log record to process

Return values
LogRecord

The processed log record with additional data


        
On this page

Search results