Mybatis---log4j
1.日志配置:<settings> <setting name="logImpl" value="STDOUT_LOGGING"/>//自带日志 <setting name="logImpl" value="LOG4J"/>//第三方日志</settings>2.配置文件:log4j.properties3.使用方式:在监测的类中定义 Logger logger=Logger.getLogger(xxxx.class) logger.info(xxxxx)
相关推荐
chw0 2020-11-04
大唐帝国前营 2020-08-18
sdaq 2020-07-26
MrLiar 2020-07-07
sdaq 2020-06-16
CXC0 2020-06-14
丨Fanny丨Cri 2020-06-13
CXC0 2020-06-08
dongxurr 2020-06-07
sdaq 2020-06-06
MrLiar 2020-06-04
丨Fanny丨Cri 2020-06-03
MrLiar 2020-05-25
丨Fanny丨Cri 2020-05-17
MrLiar 2020-05-14
MrLiar 2020-05-12
sdaq 2020-05-11