Logger: Add method getLevel()

refs #10567
This commit is contained in:
Johannes Meyer 2015-11-11 09:59:28 +01:00
parent cfb26e22b3
commit 60a951a97d
1 changed files with 10 additions and 0 deletions

View File

@ -136,6 +136,16 @@ class Logger
return $this;
}
/**
* Return the logging level being used
*
* @return int
*/
public function getLevel()
{
return $this->level;
}
/**
* Register the given message as config error
*