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
1 changed files with 1 additions and 1 deletions

2
classes/logger.php Normal file → Executable file
View 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;
}