1、设置启用调试模式
config/app.php设置:
"app_debug"=>true
2、配置日志级别:
config/log.php
默认是所有日志都打印。
3、日志路径:
在 config/log.php配置。
日志路径默认根目录/runtime/log/日期/xxx.log
1、设置启用调试模式
config/app.php设置:
"app_debug"=>true
2、配置日志级别:
config/log.php
默认是所有日志都打印。
3、日志路径:
在 config/log.php配置。
日志路径默认根目录/runtime/log/日期/xxx.log