mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 12:47:38 +00:00
Logger: add implementation for logger->log(message)
This commit is contained in:
2
classes/logger.php
Normal file → Executable file
2
classes/logger.php
Normal file → Executable 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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user