Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Monolog/Handler/WebNotificationHandler.php')
-rw-r--r--plugins/Monolog/Handler/WebNotificationHandler.php9
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']) {