From: Andrew Dolgov Date: Mon, 10 Sep 2018 18:26:28 +0000 (+0300) Subject: Logger: add implementation for logger->log(message) X-Git-Tag: 18.12~72 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4f17c3f977d419aeba6c02a9a7dcc746f630fd90;p=tt-rss.git Logger: add implementation for logger->log(message) --- 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; }