Logger: add implementation for logger->log(message)
This commit is contained in:
parent
665495b94b
commit
4f17c3f977
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue