Difference between Simple Logging Facade for Java and Apache Commons Logging

前端 未结 3 1111
梦谈多话
梦谈多话 2021-01-31 16:43

What is the difference between Simple Logging Facade for Java and Apache Commons Logging?

3条回答
  •  耶瑟儿~
    2021-01-31 16:54

    Logging Facade|Framework|AbstractionLayer
    (facade-The word comes from the French language, literally meaning "frontage" or "face".)

    Definition- Logging Facade
    Logging Facade is a abstraction for various logging frameworks, e.g. java.util.logging, log4j and logback, allowing the end user to plug in the desired logging framework at deployment time.

    Simple Logging Facade(SLF4J) is a abstract logging framework like JCL(jakarta-commons-logging). And JCL is also called as Apache Commons Logging

    Also note that commons-io(apache io -utilities) is different from commons-logging(logging facade)

提交回复
热议问题