|
45 | 45 | <xs:documentation>Pass NLog internal exceptions to the application. Default value is: false.</xs:documentation>
|
46 | 46 | </xs:annotation>
|
47 | 47 | </xs:attribute>
|
| 48 | + <xs:attribute name="internalLogToTrace" type="xs:boolean"> |
| 49 | + <xs:annotation> |
| 50 | + <xs:documentation>Write internal NLog messages to the the System.Diagnostics.Trace. Default value is: false</xs:documentation> |
| 51 | + </xs:annotation> |
| 52 | + </xs:attribute> |
48 | 53 | </xs:complexType>
|
49 | 54 | <xs:complexType name="NLogTargets">
|
50 | 55 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
611 | 616 | <xs:element name="regex" minOccurs="0" maxOccurs="1" type="xs:string" />
|
612 | 617 | <xs:element name="text" minOccurs="0" maxOccurs="1" type="xs:string" />
|
613 | 618 | <xs:element name="wholeWords" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
| 619 | + <xs:element name="compileRegex" minOccurs="0" maxOccurs="1" type="xs:boolean" /> |
614 | 620 | <xs:element name="backgroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
|
615 | 621 | <xs:element name="foregroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
|
616 | 622 | </xs:choice>
|
|
634 | 640 | <xs:documentation>Indicates whether to match whole words only.</xs:documentation>
|
635 | 641 | </xs:annotation>
|
636 | 642 | </xs:attribute>
|
| 643 | + <xs:attribute name="compileRegex" type="xs:boolean"> |
| 644 | + <xs:annotation> |
| 645 | + <xs:documentation>Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.</xs:documentation> |
| 646 | + </xs:annotation> |
| 647 | + </xs:attribute> |
637 | 648 | <xs:attribute name="backgroundColor" type="NLog.Targets.ConsoleOutputColor">
|
638 | 649 | <xs:annotation>
|
639 | 650 | <xs:documentation>Background color.</xs:documentation>
|
|
911 | 922 | <xs:element name="log" minOccurs="0" maxOccurs="1" type="xs:string" />
|
912 | 923 | <xs:element name="machineName" minOccurs="0" maxOccurs="1" type="xs:string" />
|
913 | 924 | <xs:element name="source" minOccurs="0" maxOccurs="1" type="Layout" />
|
| 925 | + <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.EventLogTargetOverflowAction" /> |
914 | 926 | <xs:element name="entryType" minOccurs="0" maxOccurs="1" type="Layout" />
|
| 927 | + <xs:element name="maxMessageLength" minOccurs="0" maxOccurs="1" type="xs:integer" /> |
915 | 928 | </xs:choice>
|
916 | 929 | <xs:attribute name="name" type="xs:string">
|
917 | 930 | <xs:annotation>
|
|
948 | 961 | <xs:documentation>Value to be used as the event Source.</xs:documentation>
|
949 | 962 | </xs:annotation>
|
950 | 963 | </xs:attribute>
|
| 964 | + <xs:attribute name="onOverflow" type="NLog.Targets.EventLogTargetOverflowAction"> |
| 965 | + <xs:annotation> |
| 966 | + <xs:documentation>Action to take if the message is larger than the option.</xs:documentation> |
| 967 | + </xs:annotation> |
| 968 | + </xs:attribute> |
951 | 969 | <xs:attribute name="entryType" type="SimpleLayoutAttribute">
|
952 | 970 | <xs:annotation>
|
953 | 971 | <xs:documentation>Optional entrytype. When not set, or when not convertable to then determined by </xs:documentation>
|
954 | 972 | </xs:annotation>
|
955 | 973 | </xs:attribute>
|
| 974 | + <xs:attribute name="maxMessageLength" type="xs:integer"> |
| 975 | + <xs:annotation> |
| 976 | + <xs:documentation>Message length limit to write to the Event Log.</xs:documentation> |
| 977 | + </xs:annotation> |
| 978 | + </xs:attribute> |
956 | 979 | </xs:extension>
|
957 | 980 | </xs:complexContent>
|
958 | 981 | </xs:complexType>
|
| 982 | + <xs:simpleType name="NLog.Targets.EventLogTargetOverflowAction"> |
| 983 | + <xs:restriction base="xs:string"> |
| 984 | + <xs:enumeration value="Truncate" /> |
| 985 | + <xs:enumeration value="Split" /> |
| 986 | + <xs:enumeration value="Discard" /> |
| 987 | + </xs:restriction> |
| 988 | + </xs:simpleType> |
959 | 989 | <xs:complexType name="FallbackGroup">
|
960 | 990 | <xs:complexContent>
|
961 | 991 | <xs:extension base="CompoundTargetBase">
|
|
1090 | 1120 | </xs:attribute>
|
1091 | 1121 | <xs:attribute name="archiveDateFormat" type="xs:string">
|
1092 | 1122 | <xs:annotation>
|
1093 |
| - <xs:documentation>Value specifying the date format to use when archving files.</xs:documentation> |
| 1123 | + <xs:documentation>Value specifying the date format to use when archiving files.</xs:documentation> |
1094 | 1124 | </xs:annotation>
|
1095 | 1125 | </xs:attribute>
|
1096 | 1126 | <xs:attribute name="archiveOldFileOnStartup" type="xs:boolean">
|
|
1661 | 1691 | </xs:attribute>
|
1662 | 1692 | <xs:attribute name="methodName" type="xs:string">
|
1663 | 1693 | <xs:annotation>
|
1664 |
| - <xs:documentation>Method name. The method must be public and static.</xs:documentation> |
| 1694 | + <xs:documentation>Method name. The method must be public and static. Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx e.g.</xs:documentation> |
1665 | 1695 | </xs:annotation>
|
1666 | 1696 | </xs:attribute>
|
1667 | 1697 | </xs:extension>
|
|
0 commit comments