From 4f17c3f977d419aeba6c02a9a7dcc746f630fd90 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 10 Sep 2018 21:26:28 +0300 Subject: [PATCH] Logger: add implementation for logger->log(message) --- classes/logger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 classes/logger.php diff --git a/classes/logger.php b/classes/logger.php old mode 100644 new mode 100755 index 3b178ae5..1c7b5eb3 --- a/classes/logger.php +++ b/classes/logger.php @@ -32,7 +32,7 @@ class Logger { function log($string) { if ($this->adapter) - return $this->adapter->log($string); + return $this->adapter->log_error(E_USER_NOTICE, $string, '', 0, ''); else return false; } -- 2.39.5