forked from mirrors/easyappointments
Added backtrace in debug log entries.
This commit is contained in:
parent
0c683ad990
commit
cd58d5d07d
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class CI_Exceptions {
|
||||||
public function log_exception($severity, $message, $filepath, $line)
|
public function log_exception($severity, $message, $filepath, $line)
|
||||||
{
|
{
|
||||||
$severity = isset($this->levels[$severity]) ? $this->levels[$severity] : $severity;
|
$severity = isset($this->levels[$severity]) ? $this->levels[$severity] : $severity;
|
||||||
log_message('error', 'Severity: '.$severity.' --> '.$message.' '.$filepath.' '.$line);
|
log_message('error', 'Severity: '.$severity.' --> '.$message.' '.$filepath.' '.$line.' '.PHP_EOL.print_r(debug_backtrace(), true));
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue