Injects url/method and remote IP of the current web request in all records

CloneableInstantiable
ImplementsMonolog\Processor\ProcessorInterface
Methods
public __construct( $serverData = NULL, ?array $extraFields = NULL)
 


    public __invoke(array $record) : array
    public addExtraField(string $extraName, string $serverName) : self
    Properties
    protected $extraFields
     
    Default fields

    Array is structured as [key in record.extra => key in $serverData]

    • var array
    protected $serverData
     


    • var array|\ArrayAccess
    Methods
    private appendExtraFields(array $extra) : array
    © 2020 Bruce Wells
    Search Namespaces \ Classes
    ConfigurationNumbers (0-9.) only