yii\log\Dispatcher::setTraceLevel PHP Method

setTraceLevel() public method

public setTraceLevel ( integer $value )
$value integer how many application call stacks should be logged together with each message. This method will set the value of [[Logger::traceLevel]]. If the value is greater than 0, at most that number of call stacks will be logged. Note that only application call stacks are counted. Defaults to 0.
    public function setTraceLevel($value)
    {
        $this->getLogger()->traceLevel = $value;
    }