Class LoggingFactory

java.lang.Object
org.seppiko.commons.logging.LoggingFactory

public class LoggingFactory extends Object
Logging factory
Author:
Leonard Woo
  • Constructor Details

    • LoggingFactory

      protected LoggingFactory()
      Protected constructor that is not available for public use.
  • Method Details

    • getLogging

      public static Logging getLogging(String name)
      Return a logger named according to the name parameter using the statically bound ILoggingFactory instance.
      Parameters:
      name - the name of the logger.
      Returns:
      log
    • getLogging

      public static Logging getLogging(Class<?> clazz)
      Return a logger named corresponding to the class passed as parameter, using the statically bound ILoggingFactory instance.
      Parameters:
      clazz - the returned log will be named after clazz.
      Returns:
      log