diff --git a/library/Icinga/Application/Logger.php b/library/Icinga/Application/Logger.php index 9203a2f75..08568431f 100644 --- a/library/Icinga/Application/Logger.php +++ b/library/Icinga/Application/Logger.php @@ -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 *