先来看个采用log4j输出日志的例子
添加依赖包
1
2
3
4
5<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.7</version>
</dependency>
先来看个采用log4j输出日志的例子
添加依赖包
1 | <dependency> |
Update your browser to view this website correctly. Update my browser now