log\Logger getProfiling()

getProfiling() public method

Returns the profiling results.

By default, all profiling results will be returned. You may provide $categories and $excludeCategories as parameters to retrieve the results that you are interested in.

public array getProfiling ( $categories = [], $excludeCategories = [] )
$categories array

List of categories that you are interested in. You can use an asterisk at the end of a category to do a prefix match. For example, 'yii\db*' will match categories starting with 'yii\db\', such as 'yii\db\Connection'.

$excludeCategories array

List of categories that you want to exclude

return array

The profiling results. Each element is an array consisting of these elements: info, category, timestamp, trace, level, duration.

doc_Yii
2016-10-30 17:06:54
Comments
Leave a Comment

Please login to continue.