1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-30 12:30:52 +02:00

Logger: add implementation for logger->log(message)

This commit is contained in:
Andrew Dolgov 2018-09-10 21:26:28 +03:00
parent 665495b94b
commit 4f17c3f977

2
classes/logger.php Normal file → Executable file
View File

@ -32,7 +32,7 @@ class Logger {
function log($string) { function log($string) {
if ($this->adapter) if ($this->adapter)
return $this->adapter->log($string); return $this->adapter->log_error(E_USER_NOTICE, $string, '', 0, '');
else else
return false; return false;
} }