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