Package org.refcodes.logger.alt.slf4j
Class Slf4jRuntimeLoggerFactorySingleton
java.lang.Object
org.refcodes.logger.alt.slf4j.Slf4jRuntimeLoggerFactory
org.refcodes.logger.alt.slf4j.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>
The Class Slf4jRuntimeLoggerFactorySingleton.
- Author:
- steiner
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.TypeAccessor
org.refcodes.mixin.TypeAccessor.TypeBuilder<T extends Object,B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T, B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T extends Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends Object> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new slf 4 j runtime logger factory singleton. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.refcodes.logger.RuntimeLoggerConvenience method actually delegating the call to the instance returned bygetInstance().static org.refcodes.logger.RuntimeLoggercreateRuntimeLogger(String aIdentifier) Convenience method actually delegating the call to the instance returned bygetInstance().org.refcodes.logger.RuntimeLoggercreateRuntimeLogger(String aIdentifier, Map<String, String> aProperties) Convenience method actually delegating the call to the instance returned bygetInstance().static org.refcodes.logger.RuntimeLoggercreateRuntimeLogger(Map<String, String> aProperties) Convenience method actually delegating the call to the instance returned bygetInstance().static org.refcodes.logger.RuntimeLoggerFactoryReturns the singleton's instance as fabricated by thisSlf4jRuntimeLoggerFactorySingleton.Methods inherited from class org.refcodes.logger.alt.slf4j.Slf4jRuntimeLoggerFactory
createInstance, createInstance, createInstance, createInstanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.refcodes.factory.TypeFactory
getType
-
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 thisSlf4jRuntimeLoggerFactorySingleton.- Returns:
- The
RuntimeLoggerFactorysingleton's instance.
-
createRuntimeLogger
public static org.refcodes.logger.RuntimeLogger createRuntimeLogger()Convenience method actually delegating the call to the instance returned bygetInstance(). See alsoTypeFactory.createInstance()- Returns:
- the runtime logger
-
createRuntimeLogger
Convenience method actually delegating the call to the instance returned bygetInstance(). See alsoTypeFactory.createInstance(Map)- Parameters:
aProperties- the properties- Returns:
- the runtime logger
-
createRuntimeLogger
Convenience method actually delegating the call to the instance returned bygetInstance(). See alsoTypeFactory.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 bygetInstance(). See alsoLookupFactory.createInstance(Object, Map)- Parameters:
aIdentifier- the identifieraProperties- the properties- Returns:
- the runtime logger
-