Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Supported Log Levels

Level / ImplementationLog4jLogbackJava Logging
TRACETRACE

DEBUG

DEBUG

INFOINFO

WARNWARN

ERRORERROR

SEVEREERROR

OFFOFF


Limitations

TBD

Compatibility, Deprecation, and Migration Plan

...