Skip to content

Commit

Permalink
Merge pull request #3409 from NLog/xsd-add-rulename
Browse files Browse the repository at this point in the history
Various XSD improvements (NLog.Schema package)
  • Loading branch information
304NotModified committed May 24, 2019
2 parents 0a49b83 + 1fcd91d commit 1cebc99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/MakeNLogXSD/TemplateXSD.xml
Expand Up @@ -43,12 +43,12 @@
</xs:attribute>
<xs:attribute name="globalThreshold" type="NLogLevel">
<xs:annotation>
<xs:documentation>Global log level threshold for application log messages. Messages below this level won't be logged..</xs:documentation>
<xs:documentation>Global log level threshold for application log messages. Messages below this level won't be logged.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="throwExceptions" type="xs:boolean">
<xs:annotation>
<xs:documentation>Throw an exception when there is an internal error. Default value is: false.</xs:documentation>
<xs:documentation>Throw an exception when there is an internal error. Default value is: false. Not recommend to set to true in production!</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="throwConfigExceptions" type="xs:boolean">
Expand Down Expand Up @@ -134,7 +134,7 @@
</xs:choice>
<xs:attribute name="name" use="optional">
<xs:annotation>
<xs:documentation>Name of the logger. May include '*' character which acts like a wildcard. Allowed forms are: *, Name, *Name, Name* and *Name*</xs:documentation>
<xs:documentation>Name of the logger. May include wildcard characters ('*' or '?').</xs:documentation>
</xs:annotation>
</xs:attribute>

Expand Down Expand Up @@ -174,9 +174,9 @@
</xs:annotation>
</xs:attribute>

<xs:attribute name="enabled" type="xs:boolean" default="true">
<xs:attribute name="ruleName" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Enable or disable logging rule. Disabled rules are ignored.</xs:documentation>
<xs:documentation>Rule identifier to allow rule lookup with Configuration.FindRuleByName and Configuration.RemoveRuleByName.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
Expand Down

0 comments on commit 1cebc99

Please sign in to comment.