\Monolog\ProcessorGitProcessor

Injects Git branch and Git commit SHA in all records

Summary

Methods
Properties
Constants
__construct()
__invoke()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getGitInfo()
$level
$cache
N/A

Properties

$level

$level : int

Type

int

$cache

$cache

Methods

__construct()

__construct(string|int  $level = Logger::DEBUG) : mixed

Parameters

string|int $level

The minimum logging level at which this Processor will be triggered

Returns

mixed —

__invoke()

__invoke(array  $record) : array

Parameters

array $record

Returns

array —

The processed record

getGitInfo()

getGitInfo() : array

Returns

array —