用于logback.xml的XML模式或DTD? [英] XML schema or DTD for logback.xml?

查看:183
本文介绍了用于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 for Logback

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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆