Documentation

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

Methods

__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

Search results