Class Logger

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

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

    • Logger

      public Logger()
  • Method Details

    • apply

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

      public static 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 static org.slf4j.Logger root()
      Returns the SLF4J Root Logger