Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Yii 1.x では、CWebLogRoute クラスを使用して、すべてのクエリなどをブラウザーに記録します。このオプションは Yii 2.0 ですでに利用可能ですか? フレームワークには、FileTarget、DbTarget、および EmailTarget クラスしか表示されません。
正解:
return [ 'bootstrap' => ['debug'], 'modules' => [ 'debug' => 'yii\debug\Module', // ... ], ];