Package 

Class LoggingKt

    • Method Summary

      Modifier and Type Method Description
      final <R extends Any> Lazy<Logger> klogger(R $self) Utility method to declare a new logger in a Class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • klogger

         final <R extends Any> Lazy<Logger> klogger(R $self)

        Utility method to declare a new logger in a Class.

        • Declare a logger in a Class:

        class MyClass {
          companion object {
            private val log by klogger()
          }
        }
        • Declare a logger in an object:

        object MyObject {
          private val log by klogger()
        }