mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-03 05:52:48 +08:00
修正日志记录写法
This commit is contained in:
@@ -98,7 +98,7 @@ class Hook
|
||||
|
||||
if (APP_DEBUG) {
|
||||
Debug::remark('behavior_end', 'time');
|
||||
Log::record('Run ' . $name . ' [ RunTime:' . Debug::getUseTime('behavior_start', 'behavior_end') . 's ]', 'INFO');
|
||||
Log::record('Run ' . $name . ' [ RunTime:' . Debug::getRangeTime('behavior_start', 'behavior_end') . 's ]', 'log');
|
||||
}
|
||||
if (false === $result) {
|
||||
// 如果返回false 则中断行为执行
|
||||
|
||||
Reference in New Issue
Block a user