PsrLogMessageProcessor
    
            
            in package
            
        
    
            
            implements
                            ProcessorInterface                    
    
    
Processes a record's message according to PSR-3 rules
It replaces {foo} with the value from $context['foo']
Tags
Table of Contents
Interfaces
- ProcessorInterface
- An optional interface to allow labelling Monolog processors.
Constants
- SIMPLE_DATE = "Y-m-d\\TH:i:s.uP"
Properties
- $dateFormat : string|null
- $removeUsedContextFields : bool
Methods
- __construct() : mixed
- __invoke() : array<string|int, mixed>
Constants
SIMPLE_DATE
    public
        mixed
    SIMPLE_DATE
    = "Y-m-d\\TH:i:s.uP"
    
    
    
    
Properties
$dateFormat
    private
        string|null
    $dateFormat
    
    
    
    
    
$removeUsedContextFields
    private
        bool
    $removeUsedContextFields
    
    
    
    
    
Methods
__construct()
    public
                    __construct([string|null $dateFormat = null ][, bool $removeUsedContextFields = false ]) : mixed
    Parameters
- $dateFormat : string|null = null
- 
                    The format of the timestamp: one supported by DateTime::format 
- $removeUsedContextFields : bool = false
- 
                    If set to true the fields interpolated into message gets unset 
__invoke()
    public
                    __invoke(array<string|int, mixed> $record) : array<string|int, mixed>
    Parameters
- $record : array<string|int, mixed>