Package org.slf4j.impl
Class StaticLoggerBinder
java.lang.Object
org.slf4j.impl.StaticLoggerBinder
The binding of
LoggerFactory
class with an actual instance of
ILoggerFactory
is performed using information returned by this class.
This class is meant to provide a dummy StaticLoggerBinder to the slf4j-api module.
Real implementations are found in each SLF4J binding project, e.g. slf4j-nop,
slf4j-log4j12 etc.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String
Declare the version of the SLF4J API this implementation is compiled against.private static final StaticLoggerBinder
The unique instance of this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final StaticLoggerBinder
Return the singleton of this class.
-
Field Details
-
SINGLETON
The unique instance of this class. -
REQUESTED_API_VERSION
Declare the version of the SLF4J API this implementation is compiled against. The value of this field is modified with each major release.
-
-
Constructor Details
-
StaticLoggerBinder
private StaticLoggerBinder()
-
-
Method Details
-
getSingleton
Return the singleton of this class.- Returns:
- the StaticLoggerBinder singleton
-
getLoggerFactory
-
getLoggerFactoryClassStr
-