mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
改进日志存储结构和输出驱动
This commit is contained in:
@@ -70,8 +70,10 @@ class Trace
|
||||
|
||||
// 获取调试日志
|
||||
$debug = [];
|
||||
foreach ($log as $line) {
|
||||
$debug[$line['type']][] = $line['msg'];
|
||||
foreach ($log as $type => $val) {
|
||||
foreach ($val as $msg) {
|
||||
$debug[$type][] = $msg;
|
||||
}
|
||||
}
|
||||
|
||||
// 页面Trace信息
|
||||
|
||||
Reference in New Issue
Block a user