.log4j介绍
1通过log4j可以看到程序运行过程中更详细的信息
(1)经常使用log4j查看日志
2使用
(1)导入log4j的jar包
(2)复制log4j的配置文件,复制到src下面
3设置日志级别
(1)info,看到基本信息
(2)debug,看到更详细信息

.log4j介绍
1通过log4j可以看到程序运行过程中更详细的信息
(1)经常使用log4j查看日志
2使用
(1)导入log4j的jar包
(2)复制log4j的配置文件,复制到src下面
3设置日志级别
(1)info,看到基本信息
(2)debug,看到更详细信息
本文标题:log4j
本文链接:https://www.haomeiwen.com/subject/uyqifftx.html
网友评论