WebProcessor extends AbstractProcessor
Web log processor to automatically add web request related data to a log record.
Table of Contents
Methods
- __construct() : mixed
- Constructs this log processor
- processLogRecord() : LogRecord
- Processes a log record and adds webserver environment data.
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
processLogRecord()
Processes a log record and adds webserver environment data.
public
processLogRecord(LogRecord $logRecord) : LogRecord
We use the usual "Debug System Information"
Parameters
- $logRecord : LogRecord
-
The log record to process
Tags
Return values
LogRecord —The processed log record with additional data