Class Slf4jRuntimeLoggerFactorySingleton

  • All Implemented Interfaces:
    org.refcodes.factory.LookupFactory<org.refcodes.logger.RuntimeLogger,java.lang.String>, org.refcodes.factory.TypeFactory<org.refcodes.logger.RuntimeLogger>, org.refcodes.logger.RuntimeLoggerFactory

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

      • Slf4jRuntimeLoggerFactorySingleton

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

      • 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​(java.util.Map<java.lang.String,java.lang.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​(java.lang.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​(java.lang.String aIdentifier,
                                                                     java.util.Map<java.lang.String,java.lang.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