Class GetLoggerKt

  • All Implemented Interfaces:

    
    public final class GetLoggerKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> Logger loggerFor() Convenient and efficient way to provide a logger for a specific class.
      final static Logger logger() Provide a logger for any class.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • loggerFor

         final static <T extends Any> Logger loggerFor()

        Convenient and efficient way to provide a logger for a specific class. Useful when we don't want to hold a field--for example, in an entity or utility function.

      • logger

        @Deprecated(message = "Use the inline version for better performance", replaceWith = @ReplaceWith(imports = {}, expression = "loggerFor<Type>()")) final static Logger logger()

        Provide a logger for any class.