Log Bridge allows the abstraction of logging from a particular logging implementation.
But why would anyone want to do this?
Well, in actual fact, anyone writing a library, a component or a framework should be doing this.
The reason is because, when you are writing code of this nature, it will only form a part of a whole application.
As such, it should not be up to the library or framework developer to choose what logging framework should (or shouldn't) be in use, but it should be a decision made by the application developer, the one pulling all the pieces together.
Log Bridge allows you to do this by providing a simple API that acts as a bridge from your library or component through to the logging package that the developers using your components choose.
其他Java 日志系统 开源项目资源: