Idiomatic way of logging in Kotlin
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 { private static final Logger LOG = LoggerFactory.getLogger(Foo.class); } Question is what is the idiomatic way of performing logging in Kotlin? 17 Answers 17