logback 编码器模式文档在哪里

发布于 2024-09-26 15:33:35 字数 445 浏览 0 评论 0原文

我已经阅读了 文档 logback 并且我在记录时找不到任何配置编码器模式的文档,例如:

<encoder>
  <pattern>%d{HH:mm:ss.SSS} %-4relative %-5level %logger{35} - %msg%n</pattern>
</encoder>

我想要一张表格(就像 log4j 具有的表格)解释配置模式的不同选项。

模式的文档在哪里?也许它们是在另一个项目中定义的?

I've gone through all the documentation of logback and I can't find anywhere the documentation to configure the encoder's pattern when logging, such as:

<encoder>
  <pattern>%d{HH:mm:ss.SSS} %-4relative %-5level %logger{35} - %msg%n</pattern>
</encoder>

I would like a table (like the one that log4j has) explaining the different options to configure the pattern.

Where is the documentation of the pattern? Maybe they are defined in another project?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

放手` 2024-10-03 15:33:35

也许你应该看看第 6 章:布局...

Probably you should take a look at Chapter 6: Layouts...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文