Uses of Interface
org.refcodes.logger.RuntimeLogger
-
Uses of RuntimeLogger in org.refcodes.logger
Modifier and TypeClassDescriptionclass
The default implementation of theRuntimeLogger
interface to be configured with a (back-end)Logger
.class
ThisRuntimeLoggerSingleton
provides aRuntimeLogger
singleton configured by a "runtimelogger-config.xml
" file find in one of the several locations relative to your application's base directory: The applications base directory (where your JAR or your classes reside) is taken and a list of directories (as defined in theFolders.CONFIG_DIRS
) relative to this base directory is generated : The actual directories being looked at (in case them exist) are as follows, relative to your applications base directory: ..Modifier and TypeMethodDescriptionRuntimeLoggerFactoryImpl.createInstance()
RuntimeLoggerFactoryImpl.createInstance
(String aIdentifier) RuntimeLoggerFactoryImpl.createInstance
(String aIdentifier, Map<String, String> aProperties) The provided identifier represents a level hierarchy as defined in theRUNTIME_LOGGER_CONFIG
XML file.RuntimeLoggerFactoryImpl.createInstance
(Map<String, String> aProperties) static RuntimeLogger
RuntimeLoggerFactorySingleton.createRuntimeLogger()
Convenience method actually delegating the call to the instance returned byRuntimeLoggerFactorySingleton.getInstance()
.static RuntimeLogger
RuntimeLoggerFactorySingleton.createRuntimeLogger
(String aIdentifier) Convenience method actually delegating the call to the instance returned byRuntimeLoggerFactorySingleton.getInstance()
.RuntimeLoggerFactorySingleton.createRuntimeLogger
(String aIdentifier, Map<String, String> aProperties) Convenience method actually delegating the call to the instance returned byRuntimeLoggerFactorySingleton.getInstance()
.static RuntimeLogger
RuntimeLoggerFactorySingleton.createRuntimeLogger
(Map<String, String> aProperties) Convenience method actually delegating the call to the instance returned byRuntimeLoggerFactorySingleton.getInstance()
.static RuntimeLogger
RuntimeLoggerFactoryImpl.fromConfigurationFile
(String aElementPath, String aConfigFileName) Loads the configuredRuntimeLogger
from the given configuration file.static RuntimeLogger
RuntimeLoggerSingleton.getInstance()
Returns the singleton's instance as fabricated by thisRuntimeLoggerSingleton
.RuntimeLoggerAccessor.getRuntimeLogger()
Retrieves the logger from the logger property.default RuntimeLogger
RuntimeLoggerAccessor.RuntimeLoggerProperty.letRuntimeLogger
(RuntimeLogger aRuntimeLogger) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenRuntimeLogger
(setter) as ofRuntimeLoggerAccessor.RuntimeLoggerMutator.setRuntimeLogger(RuntimeLogger)
and returns the very same value (getter).Modifier and TypeMethodDescriptiondefault RuntimeLogger
RuntimeLoggerAccessor.RuntimeLoggerProperty.letRuntimeLogger
(RuntimeLogger aRuntimeLogger) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenRuntimeLogger
(setter) as ofRuntimeLoggerAccessor.RuntimeLoggerMutator.setRuntimeLogger(RuntimeLogger)
and returns the very same value (getter).void
RuntimeLoggerAccessor.RuntimeLoggerMutator.setRuntimeLogger
(RuntimeLogger aRuntimeLogger) Sets the logger for the logger property.ModifierConstructorDescriptionprotected
RuntimeLoggerSingleton
(RuntimeLogger aRuntimeLogger) Instantiates a new runtime logger singleton.