mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
改进Log类的record方法
This commit is contained in:
@@ -92,6 +92,9 @@ class Socket
|
||||
'css' => isset($this->css[$type]) ? $this->css[$type] : '',
|
||||
];
|
||||
foreach ($val as $msg) {
|
||||
if (!is_string($msg)) {
|
||||
$msg = var_export($msg, true);
|
||||
}
|
||||
$trace[] = [
|
||||
'type' => 'log',
|
||||
'msg' => $msg,
|
||||
|
||||
Reference in New Issue
Block a user