GitProcessor
    
            
            in package
            
        
    
            
            implements
                            ProcessorInterface                    
    
    
Injects Git branch and Git commit SHA in all records
Tags
Table of Contents
Interfaces
- ProcessorInterface
- An optional interface to allow labelling Monolog processors.
Properties
Methods
- __construct() : mixed
- __invoke() : array<string|int, mixed>
- getGitInfo() : mixed
Properties
$cache
    private
    static    mixed
    $cache
    
    
    
    
    
$level
    private
        mixed
    $level
    
    
    
    
    
Methods
__construct()
    public
                    __construct([mixed $level = Logger::DEBUG ]) : mixed
    Parameters
- $level : mixed = Logger::DEBUG
__invoke()
    public
                    __invoke(array<string|int, mixed> $record) : array<string|int, mixed>
    Parameters
- $record : array<string|int, mixed>
Return values
array<string|int, mixed>getGitInfo()
    private
            static        getGitInfo() : mixed