42 $error = date(
"Y-m-d H:i:s (T)") .
": \"$errmsg\" in file $filename (line $linenum)";
57 case E_RECOVERABLE_ERROR:
60 if (error_reporting()) {
61 $this->
log(LogLevel::WARNING,
"PHP: $error");
66 $this->
log(LogLevel::NOTICE,
"PHP NOTICE: $error");
static $_instance
Reference to the loaded Application.
__invoke($errno, $errmsg, $filename, $linenum, $vars)
Intercepts catchable PHP errors.
static isCoreLoaded()
Are Elgg's global functions loaded?
trait Loggable
Enables adding a logger.
Handle system and PHP errors.
log($level, $message, array $context=[])
Log a message.