The documentation definitely specifies that the first param to Yii:log() is a string.
Viz: public static void log(string $msg, string $level=‘info’, string $category=‘application’)
However, trying this out yields:
Feb 16 15:16:27 bester KoVirt: error - (php) - log() expects parameter 1 to be double, string given …