diff options
Diffstat (limited to 'plugins/Monolog/Handler/WebNotificationHandler.php')
-rw-r--r-- | plugins/Monolog/Handler/WebNotificationHandler.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/Monolog/Handler/WebNotificationHandler.php b/plugins/Monolog/Handler/WebNotificationHandler.php index 5f0de1bb8c..9ff76958aa 100644 --- a/plugins/Monolog/Handler/WebNotificationHandler.php +++ b/plugins/Monolog/Handler/WebNotificationHandler.php @@ -20,6 +20,15 @@ use Zend_Session_Exception; */ class WebNotificationHandler extends AbstractProcessingHandler { + public function isHandling(array $record) + { + if (!empty($record['context']['ignoreInScreenWriter'])) { + return false; + } + + return parent::isHandling($record); + } + protected function write(array $record) { switch ($record['level']) { |