Difference between Simple Logging Facade for Java and Apache Commons Logging
问题 What is the difference between Simple Logging Facade for Java and Apache Commons Logging? 回答1: From the SLF4J FAQ: SLF4J is conceptually very similar to JCL. As such, it can be thought of as yet another logging facade. However, SLF4J is much simpler in design and arguably more robust. In a nutshell, SLF4J avoid the class loader issues that plague JCL. Do a google for "JCL classloader issues" for more on this... 回答2: While SLF4J can be used as a facade over libraries like Log4j, or JUL, it can