Merge pull request #3687 from annando/iso8601
Logger date format is now ISO8601 compatible
This commit is contained in:
commit
8cf00147b3
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ function logger($msg, $level = 0) {
|
||||||
|
|
||||||
$callers = debug_backtrace();
|
$callers = debug_backtrace();
|
||||||
$logline = sprintf("%s@%s\t[%s]:%s:%s:%s\t%s\n",
|
$logline = sprintf("%s@%s\t[%s]:%s:%s:%s\t%s\n",
|
||||||
datetime_convert(),
|
datetime_convert('UTC', 'UTC', 'now', 'Y-m-d\TH:i:s\Z'),
|
||||||
$process_id,
|
$process_id,
|
||||||
$LOGGER_LEVELS[$level],
|
$LOGGER_LEVELS[$level],
|
||||||
basename($callers[0]['file']),
|
basename($callers[0]['file']),
|
||||||
|
|
Loading…
Reference in a new issue