mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:15:56 +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) {
|
||||
if ($this->adapter)
|
||||
return $this->adapter->log($string);
|
||||
return $this->adapter->log_error(E_USER_NOTICE, $string, '', 0, '');
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user