mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
This commit is contained in:
committed by
GitHub
parent
165421dfc7
commit
d1d60e2d19
@ -278,7 +278,7 @@ class Logger extends Component
|
||||
list($token, $level, $category, $timestamp, $traces) = $log;
|
||||
$memory = isset($log[5]) ? $log[5] : 0;
|
||||
$log[6] = $i;
|
||||
$hash = md5(serialize($token));
|
||||
$hash = md5(json_encode($token));
|
||||
if ($level == self::LEVEL_PROFILE_BEGIN) {
|
||||
$stack[$hash] = $log;
|
||||
} elseif ($level == self::LEVEL_PROFILE_END) {
|
||||
|
||||
Reference in New Issue
Block a user