Class Logger$


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

      Fields 
      Modifier and Type Field Description
      static Logger$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Logger$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.slf4j.Logger apply​(java.lang.Class<?> logClass, java.lang.String logSource)  
      org.slf4j.Logger apply​(java.lang.String logger)  
      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
    • Field Detail

      • MODULE$

        public static final Logger$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Logger$

        public Logger$()
    • Method Detail

      • apply

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

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

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