Package net.sf.eBus.logging
This package extends slf4j package with an asynchronous
logger. This slf4j logger performs actual logging on an eBus
run queue thread rather than in-line with the application
code. See
AsyncLogger
for
a detailed explanation on how to create and use this logger.
The reason this asynchronous logger is in the eBus extensions
module rather than the in utils module is because
AsyncLogger
is dependent on core module's
EObject
interface. Since the core module is dependent
on the utils module, this would create a circular dependency.
Therefore the asynchronous logger is placed in the core module
to both resolve the circular dependency and to make this
logger available to eBus core module.
-
Class Summary Class Description AsyncLogger This class implementsLogger
interface with the goal of performing the actual logging asynchronously on an eBus run queue thread.AsyncLogger.AsyncLoggerObject Logs messages using the nested logger instance.AsyncLoggerFactory Utility class for creatingAsyncLogger
instances for a given class or name.