XML schema or DTD for logback.xml?(logback.xml 的 XML 模式或 DTD?)
问题描述
我在网上看到过一些讨论,关于如果有一个 XML 模式或 DTD for logback.xml 文件至少在 IDEA 或 Eclipse 等 IDE 中具有非常基本的验证和自动完成功能,那该有多好,但是我从未见过任何解决方案.
I've seen several discussions on the net about how great it would be to have an XML schema or DTD for logback.xml file to have at least the very basic validation and auto-completion in IDEs like IDEA or Eclipse, but I never saw any solution.
是吗?
推荐答案
官方不支持文档,但是有一个独立的项目来提供Logback的Schema
It is not supported officially according to the documentation, but there is an independent project to provide Schema for Logback
但是,由于 Logback 配置的极大灵活性,Schema 无法支持所有可能的配置选项.
However, due to extreme flexibility of the Logback configuration, Schema cannot support all possible configuration options.
这篇关于logback.xml 的 XML 模式或 DTD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:logback.xml 的 XML 模式或 DTD?


基础教程推荐
- 多个组件的复杂布局 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 从 python 访问 JVM 2022-01-01