From 60a951a97ddb6f6b9e6aff01caf4ce3eee832f2e Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 11 Nov 2015 09:59:28 +0100 Subject: [PATCH] Logger: Add method getLevel() refs #10567 --- library/Icinga/Application/Logger.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 *