【发布时间】:2022-01-19 15:42:37
【问题描述】:
要遵循的步骤: 1.请下载log4j-api-2.16.0.jar和log4j-core-2.16.0.jar。
- 列表项
从https://dlcdn.apache.org/logging/log4j/2.16.0/apache-log4j-2.16.0-bin.zip下载 2.创建日志文件如下。enter image description here
3.编写示例代码.enter image description here
4.运行应用程序。enter image description here
【问题讨论】:
标签: log4j2