type
status
date
slug
summary
tags
category
icon
password
1.出现问题
运行成功,但是结果没有出来:是什么原因呢?

于是:在Logger源码下查看方法:
void info(String var1, Object var2);

Log4jLoggerAdapter.java
MessageFormatter.java
加上占位符就可以成功输出结果:

- Author:atsuc
- URL:https://blog.atsuc.cn/article/error-slf4j_01
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!