1、首先在入口文件 index.php中开启 debug 模式
defined('YII_DEBUG') or define('YII_DEBUG',true);2、protected/config/main.php 的 log 下面
'log' => array( 'class' => 'CLogRouter', 'routes' => array( array( 'enabled' => true, 'class' => 'CWebLogRoute', 'levels' => '', 'categories' => '', ),...
上一篇:vscode怎么开启折叠代码功能