Home  >  Article  >  Backend Development  >  关于yii-debug-toolbar解决思路

关于yii-debug-toolbar解决思路

WBOY
WBOYOriginal
2016-06-13 12:04:45927browse

关于yii-debug-toolbar
配置完后, 在页面能看到右侧菜单.
但是除了Request菜单之外其他的都点不进去. 这是为什么啊?
主要我想看SQL语句.
------解决方案--------------------
看SQL语句用log啊

//        'log'=>array(
//            'class'=>'CLogRouter',
//            'routes'=>array(
//                array(
//                    'class'=>'CWebLogRoute',
//                    'levels' => 'trace,info,profile,warning,error',
//                )
//            ),
//        ),

会显示在页面下方

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn