First param to Yii:log()

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 …

OK, this would be a good lesson learned, esp. since it didn’t turn up in my (admittedly cursory) search.

I omitted one colon, and wrote Yii:log(). Perhaps this defaults to some logarithm function.