While learning Yii the CWebLogRoute trace is great to understand what happens during each page load. However, is there a way to increase the trace depth?
While learning Yii the CWebLogRoute trace is great to understand what happens during each page load. However, is there a way to increase the trace depth?
Yes, there is.
In index.php we have:
// specify how many levels of call stack should be shown in each log message
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', n);
where n is the trace depth.