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