HostnameProcessor
in package
implements
ProcessorInterface
Injects value of gethostname in all records
Table of Contents
Interfaces
- ProcessorInterface
- An optional interface to allow labelling Monolog processors.
Properties
- $host : string
Methods
- __construct() : mixed
- __invoke() : LogRecord
Properties
$host
private
static string
$host
Methods
__construct()
public
__construct() : mixed
__invoke()
public
__invoke(LogRecord $record) : LogRecord
Parameters
- $record : LogRecord
Tags
Return values
LogRecord —The processed record