Package org.refcodes.logger.alt.slf4j
This package provides a bridge from a
RuntimeLogger
to an SLF4J
Logger
.The
RuntimeLogger
created by the
Slf4jRuntimeLoggerFactory
uses an underlying SLF4J logger as
factored by the SLF4J framework being the logger subsystem bound to the SLF4J
framework. The
Slf4jRuntimeLoggerFactorySingleton
provides easy access to a RuntimeLogger
by
providing the
Slf4jRuntimeLoggerFactory
instance.
When you use the
Slf4jRuntimeLoggerFactory.createInstance()
method for obtaining a RuntimeLogger
, then
caller's (your) class name is used as logger name.
-
Class Summary Class Description Slf4jLogger TheSlf4jLogger
delegagres all logs to an accordingLogger
instance.Slf4jRuntimeLogger Alternate implementation of theRuntimeLogger
to log using SLF4J.Slf4jRuntimeLoggerFactory The Class Slf4jRuntimeLoggerFactory.Slf4jRuntimeLoggerFactorySingleton The Class Slf4jRuntimeLoggerFactorySingleton.