...
Gliffy Diagram | ||||||
---|---|---|---|---|---|---|
|
As illustrated by the class diagram above, the interface LogginerProvider
is introduced where the setLogLevel()
method varies among different logging implementations. The isEnabled()
method is invoked during the initialization. All the LoggingProvider
implementation classes, that are registered using the Java service loading facility, are tested and only the first enabled one will be used. Any subclass of the Slf4jLoggingProvider
is considered to be enabled as long as the factory name returned from StaticLoggerBinder.getLoggerFactoryClassStr()
is the same as the one of its logging implementation factory.
Limitations
TBD
Compatibility, Deprecation, and Migration Plan
...