Class Logger$


  • public class Logger$
    extends java.lang.Object
    Logger is a factory for obtaining JUL 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
      java.util.logging.Logger apply​(java.lang.Class<?> logClass, java.lang.String logSource)  
      java.util.logging.Logger apply​(java.lang.String logger)  
      java.util.logging.Level mapLevel​(Logging.LogLevel level)  
      java.util.logging.Logger root()
      Returns the JUL 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 java.util.logging.Logger apply​(java.lang.String logger)
        Parameters:
        logger - - which logger
        Returns:
        a Logger that corresponds for the given logger name
      • apply

        public java.util.logging.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 java.util.logging.Logger root()
        Returns the JUL Root Logger
        Returns:
        (undocumented)
      • mapLevel

        public java.util.logging.Level mapLevel​(Logging.LogLevel level)