What is Apache Commons Logging API and Bridges?

Q

What is Apache Commons Logging API and Bridges?

✍: FYIcenter.com

A

Apache Commons Logging API is a Log interface that is intended to be both light-weight and an independent abstraction of other logging toolkits. It provides the middleware/tooling developer with a simple logging abstraction, that allows the user (application developer) to plug in a specific logging implementation.

Apache Commons Logging API bridges are wrapper classes to implement the API with other logging packages like Log4J, Avalon LogKit, and JDK 1.4 logging.

Apache Commons Logging API and bridges are all included in the commons-logging-1.2.jar with two dummy implementations SimpleLog and NoOpLog of the API as shown in the picture below:
Apache Commons Logging API and Bridges

 

Using commons-logging.jar in Java Code

⇒⇒FAQ for Apache commons-logging.jar

2017-07-03, 516👍, 2💬