不知道项目里用的是啥 ** 版本的 log4j

居然不能传入变长参数

log.info()传入多个参数的方法

logger.info(String.format("%s %s %s", username, feature, "1111"));

只好采用这种方式啦

原文地址:https://blog.csdn.net/HeatDeath/article/details/80170008

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2021-06-03
  • 2021-11-25
猜你喜欢
  • 2022-12-23
  • 2021-09-22
  • 2021-12-16
  • 2022-12-23
  • 2021-09-24
  • 2021-09-21
相关资源
相似解决方案