Class Logger

  • public class Logger
    extends java.lang.Object
    Logger is a factory for obtaining SLF4J-Loggers
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.slf4j.Logger apply​(java.lang.Class<?> logClass, java.lang.String logSource)  
      static org.slf4j.Logger apply​(java.lang.String logger)  
      static org.slf4j.Logger root()
      Returns the SLF4J Root Logger
      • Methods inherited from class java.lang.Object

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

      • Logger

        public Logger()
    • Method Detail

      • apply

        public static org.slf4j.Logger apply​(java.lang.String logger)
        logger - - which logger
        a Logger that corresponds for the given logger name
      • apply

        public static org.slf4j.Logger apply​(java.lang.Class<?> logClass,
                                             java.lang.String logSource)
        logClass - - the class to log for
        logSource - - the textual representation of the source of this log stream
        a Logger for the specified parameters
      • root

        public static org.slf4j.Logger root()
        Returns the SLF4J Root Logger