38 if ($record[
'level'] < $this->level) {
42 $record[
'extra'][
'hg'] = self::getMercurialInfo();
53 $result = explode(
' ', trim(`hg
id -nb`));
55 return self::$cache = array(
61 return self::$cache = array();
const DEBUG
Detailed debug information.
static getMercurialInfo()
Injects Hg branch and Hg revision number in all records.
__construct($level=Logger::DEBUG)
static toMonologLevel($level)
Converts PSR-3 levels to Monolog ones if necessary.
An optional interface to allow labelling Monolog processors.