mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
加强调试信息
This commit is contained in:
@@ -120,7 +120,7 @@ class App
|
||||
$reflect = new \ReflectionFunction($function);
|
||||
$args = self::bindParams($reflect, $vars);
|
||||
// 记录执行信息
|
||||
Log::record('[ RUN ] ' . $reflect->getFileName(), 'info');
|
||||
Log::record('[ RUN ] ' . $reflect->getFileName() . '[ ' . var_export($vars, true) . ' ]', 'info');
|
||||
return $reflect->invokeArgs($args);
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ class App
|
||||
}
|
||||
$args = self::bindParams($reflect, $vars);
|
||||
// 记录执行信息
|
||||
Log::record('[ RUN ] ' . $reflect->getFileName(), 'info');
|
||||
Log::record('[ RUN ] ' . $reflect->getFileName() . '[ ' . var_export($args, true) . ' ]', 'info');
|
||||
return $reflect->invokeArgs(isset($class) ? $class : null, $args);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user