collect() public method
Processes the given log messages.
This method will filter the given messages with $levels and $categories. And if requested, it will also export the filtering result to specific medium (e.g. email). Depending on the $includeContext attribute, a context message will be either created or ignored.
public void collect ( $messages, $final ) | ||
---|---|---|
$messages | array |
Log messages to be processed. See yii\log\Logger::$messages for the structure of each message. |
$final | boolean |
Whether this method is called at the end of the current application |
Please login to continue.