日志的两种解决方案(log4j+commons-logging & logback + slf4j)
在项目中我们经常会使用日志来记录系统的运行状况、分析用户的使用情况和操作等等内容。以下有两种日志的解决方案:一、Log4J + commons-Logging1)引入依赖<!-- https://mvnrepository.com/artifact/log4j/log4j --><dependency> <groupId>log4j</groupId> <artifactId>log4j</artifact...
原创
2020-11-11 23:40:45 ·
376 阅读 ·
0 评论