Package 

Class LoggingKt

  • All Implemented Interfaces:

    
    public final class LoggingKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final static Logger logger
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Logger getLogger() Default logger for when you feel too lazy to declare one.
      final static <T extends Any> T trace(T $self, String prefix) Uses this T to log a message with a prefix using TRACE level.
      final static <T extends Any> T debug(T $self, String prefix) Uses this T to log a message with a prefix using DEBUG level.
      final static <T extends Any> T info(T $self, String prefix) Uses this T to log a message with a prefix using INFO level.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getLogger

         final Logger getLogger()

        Default logger for when you feel too lazy to declare one.

      • trace

         final static <T extends Any> T trace(T $self, String prefix)

        Uses this T to log a message with a prefix using TRACE level.

        com.hexagonkt.core.logging.Logger must have TRACE level

        TODO Add use case and example in documentation.

        Parameters:
        prefix - .
      • debug

         final static <T extends Any> T debug(T $self, String prefix)

        Uses this T to log a message with a prefix using DEBUG level.

        com.hexagonkt.core.logging.Logger must have DEBUG level

        TODO Add use case and example in documentation.

        Parameters:
        prefix - .
      • info

         final static <T extends Any> T info(T $self, String prefix)

        Uses this T to log a message with a prefix using INFO level.

        com.hexagonkt.core.logging.Logger must have INFO level

        TODO Add use case and example in documentation.

        Parameters:
        prefix - .