我在哪里可以获得 logback dtd?
Where can I get a logback dtd?
我用logback.xml配置的时候,总是提示不出来,所以想弄个logback的DTD schema,请问哪里可以弄到?
谢谢!
来自docs(重点是我加的):
As will be demonstrated over and over, the syntax of logback configuration files is extremely flexible. As such, it is not possible to specify the allowed syntax with a DTD file or an XML schema. Nevertheless, the very basic structure of the configuration file can be described as, <configuration>
element, containing zero or more <appender>
elements, followed by zero or more <logger>
elements, followed by at most one <root>
element. The following diagram illustrates this basic structure.
我用logback.xml配置的时候,总是提示不出来,所以想弄个logback的DTD schema,请问哪里可以弄到? 谢谢!
来自docs(重点是我加的):
As will be demonstrated over and over, the syntax of logback configuration files is extremely flexible. As such, it is not possible to specify the allowed syntax with a DTD file or an XML schema. Nevertheless, the very basic structure of the configuration file can be described as,
<configuration>
element, containing zero or more<appender>
elements, followed by zero or more<logger>
elements, followed by at most one<root>
element. The following diagram illustrates this basic structure.