Class Slf4jRuntimeLoggerFactorySingleton

java.lang.Object
org.refcodes.logger.alt.slf4j.legacy.Slf4jRuntimeLoggerFactory
org.refcodes.logger.alt.slf4j.legacy.Slf4jRuntimeLoggerFactorySingleton
All Implemented Interfaces:
org.refcodes.factory.LookupFactory<org.refcodes.logger.RuntimeLogger,String>, org.refcodes.factory.TypeFactory<org.refcodes.logger.RuntimeLogger>, org.refcodes.logger.RuntimeLoggerFactory, org.refcodes.mixin.TypeAccessor<org.refcodes.logger.RuntimeLogger>

public class Slf4jRuntimeLoggerFactorySingleton extends Slf4jRuntimeLoggerFactory
The Class Slf4jRuntimeLoggerFactorySingleton.
Author:
steiner
  • Constructor Details

    • Slf4jRuntimeLoggerFactorySingleton

      protected Slf4jRuntimeLoggerFactorySingleton()
      Instantiates a new slf 4 j runtime logger factory singleton.
  • Method Details

    • getInstance

      public static org.refcodes.logger.RuntimeLoggerFactory getInstance()
      Returns the singleton's instance as fabricated by this Slf4jRuntimeLoggerFactorySingleton.
      Returns:
      The RuntimeLoggerFactory singleton's instance.
    • createRuntimeLogger

      public static org.refcodes.logger.RuntimeLogger createRuntimeLogger()
      Convenience method actually delegating the call to the instance returned by getInstance(). See also TypeFactory.createInstance()
      Returns:
      the runtime logger
    • createRuntimeLogger

      public static org.refcodes.logger.RuntimeLogger createRuntimeLogger(Map<String,String> aProperties)
      Convenience method actually delegating the call to the instance returned by getInstance(). See also TypeFactory.createInstance(Map)
      Parameters:
      aProperties - the properties
      Returns:
      the runtime logger
    • createRuntimeLogger

      public static org.refcodes.logger.RuntimeLogger createRuntimeLogger(String aIdentifier)
      Convenience method actually delegating the call to the instance returned by getInstance(). See also TypeFactory.createInstance(Map)
      Parameters:
      aIdentifier - the identifier
      Returns:
      the runtime logger
    • createRuntimeLogger

      public org.refcodes.logger.RuntimeLogger createRuntimeLogger(String aIdentifier, Map<String,String> aProperties)
      Convenience method actually delegating the call to the instance returned by getInstance(). See also LookupFactory.createInstance(Object, Map)
      Parameters:
      aIdentifier - the identifier
      aProperties - the properties
      Returns:
      the runtime logger