LoggerFactory is a utility class producing Loggers for
various logging APIs, most notably for log4j, logback and JDK 1.4 logging.
Other implementations such as NOPLogger and
SimpleLogger are also supported.
LoggerFactory is essentially a wrapper around an
instance bound with ILoggerFactoryLoggerFactory at
compile time.
Please note that all methods in LoggerFactory are static.
static final String NO_STATICLOGGERBINDER_URL = "http://www.slf4j.org/codes.html#StaticLoggerBinder";
static final String UNSUCCESSFUL_INIT_MSG = "org.slf4j.LoggerFactory could not be successfully initialized. See also "
This method is intended to be called by classes (in the same package) for testing purposes. This method is internal. It can be modified, renamed or removed at any time without notice. You are strongly discouraged from calling this method in production code.
ILoggerFactory instance.
name
The name of the logger.ILoggerFactory instance.
clazz
the returned logger will be named after clazzILoggerFactory instance in use.
ILoggerFactory instance is bound with this class at compile time.