log

abstract fun log(level: Level, msg: String)

Logs a message with a specific level.

There are various shorthand functions for this, such as info and warn.