Kotlin doesn\'t have the same notion of static fields as used in Java. In Java, the generally accepted way of doing logging is:
public class Foo { privat
That's what companion objects are for, in general: replacing static stuff.