Accept data structure in Logger::devLog

pull/6106/head
Hypolite Petovan 2018-11-10 08:17:33 -05:00
rodzic d4a02dc314
commit 8703fe4032
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -115,6 +115,10 @@ class Logger extends BaseObject
$processId = $a->process_id;
}
if (!is_string($msg)) {
$msg = var_export($msg, true);
}
$callers = debug_backtrace();
$logline = sprintf("%s@\t%s:\t%s:\t%s\t%s\t%s\n",
DateTimeFormat::utcNow(),