mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
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)
|
||||
{
|
||||
$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