MercurialProcessor
in package
implements
ProcessorInterface
Injects Hg branch and Hg revision number in all records
Tags
Interfaces, Classes and Traits
- ProcessorInterface
- An optional interface to allow labelling Monolog processors.
Table of Contents
- $cache : mixed
- $level : mixed
- __construct() : mixed
- __invoke() : array<string|int, mixed>
- getMercurialInfo() : 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
Return values
mixed —__invoke()
public
__invoke(array<string|int, mixed> $record) : array<string|int, mixed>
Parameters
- $record : array<string|int, mixed>
Return values
array<string|int, mixed> —getMercurialInfo()
private
static getMercurialInfo() : mixed