Class Logger$

java.lang.Object
org.apache.pekko.event.slf4j.Logger$

public class Logger$ extends Object
Logger is a factory for obtaining SLF4J-Loggers
  • Field Details

    • MODULE$

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

    • Logger$

      public Logger$()
  • Method Details

    • apply

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

      public org.slf4j.Logger apply(Class<?> logClass, 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