未验证 提交 b1305ba0 编写于 作者: Q qxo 提交者: GitHub

fix:fix NullPointerException for replaceParam when message is null (#5280)

上级 29a9d1cf
......@@ -85,6 +85,9 @@ public class PatternLogger implements ILog {
}
private String replaceParam(String message, Object... parameters) {
if (message == null) {
return message;
}
int startSize = 0;
int parametersIndex = 0;
int index;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册