Plugin logging in Craft 3 How is logging handled in Craft 3? There's nothing mentioned in the docs at all.

None of the below exist.


Craft::log() 
MyPlugin::log()
MyPlugin::$plugin->log()


I'm not seeing any logging in any of the other plugins I've got on this site.

Halp!
You can use Craft::getLogger()-&gt;log($message, $level, $category = 'application')

It uses the Yii2 logger, you can change the $category to your plugin handle

Edit: You can use the "short" syntax as well class reference

Craft::warning($message, $category);


or 

Craft::info($message, $category);