使用 YAML 或 JSON 配置 Log4j
<p>使用 YAML 或 JSON 配置 Log4j:</p><table border="0" width="100%" cellpadding="0" cellspacing="0"><tbody><tr><th> Format</th><th>Dependencies </th><th>File names </th></tr><tr><td> YAML</td><td> com.fasterxml.jackson.core:jackson-databind + com.fasterxml.jackson.dataformat:jackson-dataformat-yaml</td><td> log4j2.yaml + log4j2.yml</td></tr><tr><td> JSON</td><td> com.fasterxml.jackson.core:jackson-databind</td><td> log4j2.json + log4j2.jsn</td></tr></tbody></table><p><br></p>
收藏(0)
分享
相关标签: