]> git.wh0rd.org Git - tt-rss.git/commitdiff
Logger: add implementation for logger->log(message)
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 10 Sep 2018 18:26:28 +0000 (21:26 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 10 Sep 2018 18:26:28 +0000 (21:26 +0300)
classes/logger.php [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 3b178ae..1c7b5eb
@@ -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;
        }