\Monolog\ProcessorMercurialProcessor

Injects Hg branch and Hg revision number 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
getMercurialInfo()
$level
$cache
N/A

Properties

$level

$level : \Monolog\Processor\Level

Type

\Monolog\Processor\Level —

$cache

$cache

Methods

__construct()

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

Parameters

int|string $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

getMercurialInfo()

getMercurialInfo() : array

Returns

array —