setOwner

fun setOwner(owner: Any)

Sets the owner of the logger, automatically setting the message prefix to the simple name of the owner class.

Parameters

owner

The owner object to set.