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>
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
ModifierConstructorDescriptionprotected
Instantiates a new slf 4 j runtime logger factory singleton. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.refcodes.logger.RuntimeLogger
Convenience method actually delegating the call to the instance returned bygetInstance()
.static org.refcodes.logger.RuntimeLogger
createRuntimeLogger
(String aIdentifier) Convenience method actually delegating the call to the instance returned bygetInstance()
.org.refcodes.logger.RuntimeLogger
createRuntimeLogger
(String aIdentifier, Map<String, String> aProperties) Convenience method actually delegating the call to the instance returned bygetInstance()
.static org.refcodes.logger.RuntimeLogger
createRuntimeLogger
(Map<String, String> aProperties) Convenience method actually delegating the call to the instance returned bygetInstance()
.static org.refcodes.logger.RuntimeLoggerFactory
Returns the singleton's instance as fabricated by thisSlf4jRuntimeLoggerFactorySingleton
.Methods inherited from class org.refcodes.logger.alt.slf4j.legacy.Slf4jRuntimeLoggerFactory
createInstance, createInstance, createInstance, createInstance
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
RuntimeLoggerFactory
singleton'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
-