nlog 1.0.0.505 → 1.0.0.505.20100822
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/NET Compact Framework 1.0/NLog.dll +0 -0
- data/lib/NET Compact Framework 1.0/NLog.xml +10743 -0
- data/lib/NET Compact Framework 2.0/NLog.dll +0 -0
- data/lib/NET Compact Framework 2.0/NLog.xml +10844 -0
- data/lib/NET Framework 1.0/NLog.ComInterop.dll +0 -0
- data/lib/NET Framework 1.0/NLog.ComInterop.xml +141 -0
- data/lib/NET Framework 1.0/NLog.dll +0 -0
- data/lib/NET Framework 1.0/NLog.xml +13792 -0
- data/lib/NET Framework 1.0/NLog.xsd +1732 -0
- data/lib/NET Framework 1.0/NLogC.dll +0 -0
- data/lib/NET Framework 1.0/NLogC.exp +0 -0
- data/lib/NET Framework 1.0/NLogC.lib +0 -0
- data/lib/NET Framework 1.0/NLogC.pdb +0 -0
- data/lib/NET Framework 1.0/Policy.1.0.NLog.dll +0 -0
- data/lib/NET Framework 1.0/Policy.1.0.NLog.xml +11 -0
- data/lib/NET Framework 1.1/NLog.ComInterop.dll +0 -0
- data/lib/NET Framework 1.1/NLog.ComInterop.xml +141 -0
- data/lib/NET Framework 1.1/NLog.dll +0 -0
- data/lib/NET Framework 1.1/NLog.xml +13792 -0
- data/lib/NET Framework 1.1/NLog.xsd +1869 -0
- data/lib/NET Framework 1.1/NLogC.dll +0 -0
- data/lib/NET Framework 1.1/NLogC.exp +0 -0
- data/lib/NET Framework 1.1/NLogC.lib +0 -0
- data/lib/NET Framework 1.1/NLogC.pdb +0 -0
- data/lib/NET Framework 1.1/Policy.1.0.NLog.dll +0 -0
- data/lib/NET Framework 1.1/Policy.1.0.NLog.xml +11 -0
- data/lib/NET Framework 2.0/NLog.ComInterop.dll +0 -0
- data/lib/NET Framework 2.0/NLog.ComInterop.xml +141 -0
- data/lib/NET Framework 2.0/NLog.dll +0 -0
- data/lib/NET Framework 2.0/NLog.xml +13813 -0
- data/lib/NET Framework 2.0/NLog.xsd +1869 -0
- data/lib/NET Framework 2.0/NLogC.dll +0 -0
- data/lib/NET Framework 2.0/NLogC.dll.manifest +8 -0
- data/lib/NET Framework 2.0/NLogC.exp +0 -0
- data/lib/NET Framework 2.0/NLogC.lib +0 -0
- data/lib/NET Framework 2.0/NLogC.pdb +0 -0
- data/lib/NET Framework 2.0/Policy.1.0.NLog.dll +0 -0
- data/lib/NET Framework 2.0/Policy.1.0.NLog.xml +11 -0
- metadata +42 -3
@@ -0,0 +1,1869 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<xs:schema id="NLog" targetNamespace="http://www.nlog-project.org/schemas/NLog.xsd" elementFormDefault="qualified" xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:mstns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<xs:element name="nlog" type="NLogConfiguration" />
|
4
|
+
<xs:element name="target" type="Target" abstract="true" />
|
5
|
+
<xs:complexType name="NLogConfiguration">
|
6
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
7
|
+
<xs:element name="extensions" type="NLogExtensions" />
|
8
|
+
<xs:element name="include" type="NLogInclude" />
|
9
|
+
<xs:element name="variable" type="NLogVariable" />
|
10
|
+
<xs:element name="targets" type="NLogTargets" />
|
11
|
+
<xs:element name="rules" type="NLogRules" />
|
12
|
+
</xs:choice>
|
13
|
+
<xs:attribute name="autoReload" type="xs:boolean">
|
14
|
+
<xs:annotation>
|
15
|
+
<xs:documentation>Watch config file for changes and reload automatically.</xs:documentation>
|
16
|
+
</xs:annotation>
|
17
|
+
</xs:attribute>
|
18
|
+
<xs:attribute name="internalLogToConsole" type="xs:boolean">
|
19
|
+
<xs:annotation>
|
20
|
+
<xs:documentation>Print internal NLog messages to the console. Default value is: false</xs:documentation>
|
21
|
+
</xs:annotation>
|
22
|
+
</xs:attribute>
|
23
|
+
<xs:attribute name="internalLogToConsoleError" type="xs:boolean">
|
24
|
+
<xs:annotation>
|
25
|
+
<xs:documentation>Print internal NLog messages to the console error output. Default value is: false</xs:documentation>
|
26
|
+
</xs:annotation>
|
27
|
+
</xs:attribute>
|
28
|
+
<xs:attribute name="internalLogFile" type="xs:string">
|
29
|
+
<xs:annotation>
|
30
|
+
<xs:documentation>Write internal NLog messages to the specified file.</xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:attribute>
|
33
|
+
<xs:attribute name="internalLogLevel" type="NLogLevel">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation>Log level threshold for internal log messages. Default value is: Info.</xs:documentation>
|
36
|
+
</xs:annotation>
|
37
|
+
</xs:attribute>
|
38
|
+
<xs:attribute name="globalThreshold" type="NLogLevel">
|
39
|
+
<xs:annotation>
|
40
|
+
<xs:documentation>Global log level threshold for application log messages. Messages below this level won't be logged..</xs:documentation>
|
41
|
+
</xs:annotation>
|
42
|
+
</xs:attribute>
|
43
|
+
<xs:attribute name="throwExceptions" type="xs:boolean">
|
44
|
+
<xs:annotation>
|
45
|
+
<xs:documentation>Pass NLog internal exceptions to the application. Default value is: false.</xs:documentation>
|
46
|
+
</xs:annotation>
|
47
|
+
</xs:attribute>
|
48
|
+
</xs:complexType>
|
49
|
+
<xs:complexType name="NLogTargets">
|
50
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
51
|
+
<xs:element name="default-wrapper" type="WrapperTargetBase" />
|
52
|
+
<xs:element name="default-target-parameters" type="Target" />
|
53
|
+
<xs:element name="target" type="Target" />
|
54
|
+
<xs:element name="wrapper-target" type="WrapperTargetBase" />
|
55
|
+
<xs:element name="compound-target" type="CompoundTargetBase" />
|
56
|
+
</xs:choice>
|
57
|
+
<xs:attribute name="async" type="xs:boolean">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>Make all targets within this section asynchronous (creates additional threads but the calling thread isn't blocked by any target writes).</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:attribute>
|
62
|
+
</xs:complexType>
|
63
|
+
<xs:complexType name="NLogRules">
|
64
|
+
<xs:sequence minOccurs="0" maxOccurs="unbounded">
|
65
|
+
<xs:element name="logger" type="NLogLoggerRule" />
|
66
|
+
</xs:sequence>
|
67
|
+
</xs:complexType>
|
68
|
+
<xs:complexType name="NLogExtensions">
|
69
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
70
|
+
<xs:element name="add" type="NLogExtensionsAdd" />
|
71
|
+
</xs:choice>
|
72
|
+
</xs:complexType>
|
73
|
+
<xs:complexType name="NLogExtensionsAdd">
|
74
|
+
<xs:attribute name="prefix" type="xs:string">
|
75
|
+
<xs:annotation>
|
76
|
+
<xs:documentation>Prefix for targets/layout renderers/filters/conditions loaded from this assembly.</xs:documentation>
|
77
|
+
</xs:annotation>
|
78
|
+
</xs:attribute>
|
79
|
+
<xs:attribute name="assemblyFile" type="xs:string">
|
80
|
+
<xs:annotation>
|
81
|
+
<xs:documentation>Load NLog extensions from the specified file (*.dll)</xs:documentation>
|
82
|
+
</xs:annotation>
|
83
|
+
</xs:attribute>
|
84
|
+
<xs:attribute name="assembly" type="xs:string">
|
85
|
+
<xs:annotation>
|
86
|
+
<xs:documentation>Load NLog extensions from the specified assembly. Assembly name should be fully qualified.</xs:documentation>
|
87
|
+
</xs:annotation>
|
88
|
+
</xs:attribute>
|
89
|
+
</xs:complexType>
|
90
|
+
<xs:complexType name="NLogLoggerRule">
|
91
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
92
|
+
<xs:element name="filters" type="NLogFilters" />
|
93
|
+
</xs:choice>
|
94
|
+
<xs:attribute name="name" use="optional">
|
95
|
+
<xs:annotation>
|
96
|
+
<xs:documentation>Name of the logger. May include '*' character which acts like a wildcard. Allowed forms are: *, Name, *Name, Name* and *Name*</xs:documentation>
|
97
|
+
</xs:annotation>
|
98
|
+
</xs:attribute>
|
99
|
+
<xs:attribute name="levels" type="NLogLevelList">
|
100
|
+
<xs:annotation>
|
101
|
+
<xs:documentation>Comma separated list of levels that this rule matches.</xs:documentation>
|
102
|
+
</xs:annotation>
|
103
|
+
</xs:attribute>
|
104
|
+
<xs:attribute name="minlevel" type="NLogLevel">
|
105
|
+
<xs:annotation>
|
106
|
+
<xs:documentation>Minimum level that this rule matches.</xs:documentation>
|
107
|
+
</xs:annotation>
|
108
|
+
</xs:attribute>
|
109
|
+
<xs:attribute name="maxlevel" type="NLogLevel">
|
110
|
+
<xs:annotation>
|
111
|
+
<xs:documentation>Maximum level that this rule matches.</xs:documentation>
|
112
|
+
</xs:annotation>
|
113
|
+
</xs:attribute>
|
114
|
+
<xs:attribute name="level" type="NLogLevel">
|
115
|
+
<xs:annotation>
|
116
|
+
<xs:documentation>Level that this rule matches.</xs:documentation>
|
117
|
+
</xs:annotation>
|
118
|
+
</xs:attribute>
|
119
|
+
<xs:attribute name="writeTo" type="NLogTargetIDList">
|
120
|
+
<xs:annotation>
|
121
|
+
<xs:documentation>Comma separated list of target names.</xs:documentation>
|
122
|
+
</xs:annotation>
|
123
|
+
</xs:attribute>
|
124
|
+
<xs:attribute name="final" type="xs:boolean" default="false">
|
125
|
+
<xs:annotation>
|
126
|
+
<xs:documentation>Ignore further rules if this one matches.</xs:documentation>
|
127
|
+
</xs:annotation>
|
128
|
+
</xs:attribute>
|
129
|
+
</xs:complexType>
|
130
|
+
<xs:complexType name="NLogFilters">
|
131
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
132
|
+
<xs:element name="whenNotContains" type="WhenNotContainsFilter" />
|
133
|
+
<xs:element name="whenEqual" type="WhenEqualFilter" />
|
134
|
+
<xs:element name="whenContains" type="WhenContainsFilter" />
|
135
|
+
<xs:element name="whenNotEqual" type="WhenNotEqualFilter" />
|
136
|
+
<xs:element name="when" type="ConditionBasedFilter" />
|
137
|
+
</xs:choice>
|
138
|
+
</xs:complexType>
|
139
|
+
<xs:simpleType name="NLogLevel">
|
140
|
+
<xs:restriction base="xs:string">
|
141
|
+
<xs:enumeration value="Off" />
|
142
|
+
<xs:enumeration value="Trace" />
|
143
|
+
<xs:enumeration value="Debug" />
|
144
|
+
<xs:enumeration value="Info" />
|
145
|
+
<xs:enumeration value="Warn" />
|
146
|
+
<xs:enumeration value="Error" />
|
147
|
+
<xs:enumeration value="Fatal" />
|
148
|
+
</xs:restriction>
|
149
|
+
</xs:simpleType>
|
150
|
+
<xs:simpleType name="NLogLevelList">
|
151
|
+
<xs:restriction base="xs:string">
|
152
|
+
<xs:pattern value="(|Trace|Debug|Info|Warn|Error|Fatal)(,(Trace|Debug|Info|Warn|Error|Fatal))*" />
|
153
|
+
</xs:restriction>
|
154
|
+
</xs:simpleType>
|
155
|
+
<xs:complexType name="NLogInclude">
|
156
|
+
<xs:attribute name="file" type="NLogLayout" use="required">
|
157
|
+
<xs:annotation>
|
158
|
+
<xs:documentation>Name of the file to be included. The name is relative to the name of the current config file.</xs:documentation>
|
159
|
+
</xs:annotation>
|
160
|
+
</xs:attribute>
|
161
|
+
<xs:attribute name="ignoreErrors" type="xs:boolean" use="optional" default="false">
|
162
|
+
<xs:annotation>
|
163
|
+
<xs:documentation>Ignore any errors in the include file.</xs:documentation>
|
164
|
+
</xs:annotation>
|
165
|
+
</xs:attribute>
|
166
|
+
</xs:complexType>
|
167
|
+
<xs:complexType name="NLogVariable">
|
168
|
+
<xs:attribute name="name" type="xs:string" use="required">
|
169
|
+
<xs:annotation>
|
170
|
+
<xs:documentation>Variable name.</xs:documentation>
|
171
|
+
</xs:annotation>
|
172
|
+
</xs:attribute>
|
173
|
+
<xs:attribute name="value" type="NLogLayout" use="required">
|
174
|
+
<xs:annotation>
|
175
|
+
<xs:documentation>Variable value.</xs:documentation>
|
176
|
+
</xs:annotation>
|
177
|
+
</xs:attribute>
|
178
|
+
</xs:complexType>
|
179
|
+
<xs:simpleType name="NLogTargetIDList">
|
180
|
+
<xs:restriction base="xs:string">
|
181
|
+
<xs:pattern value="(|([a-zA-Z][a-zA-Z0-9_\-]*))(,([a-zA-Z][a-zA-Z0-9_\-]*))*" />
|
182
|
+
</xs:restriction>
|
183
|
+
</xs:simpleType>
|
184
|
+
<xs:complexType name="Target" abstract="true">
|
185
|
+
<xs:attribute name="name" use="optional" />
|
186
|
+
</xs:complexType>
|
187
|
+
<xs:complexType name="ILayout" abstract="true">
|
188
|
+
</xs:complexType>
|
189
|
+
<xs:complexType name="ILayoutWithHeaderAndFooter" abstract="true">
|
190
|
+
<xs:complexContent>
|
191
|
+
<xs:extension base="ILayout" />
|
192
|
+
</xs:complexContent>
|
193
|
+
</xs:complexType>
|
194
|
+
<xs:complexType name="TargetWithLayout" abstract="true">
|
195
|
+
<xs:complexContent>
|
196
|
+
<xs:extension base="Target">
|
197
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
198
|
+
<xs:element name="layout" type="ILayout" minOccurs="0" maxOccurs="1" />
|
199
|
+
</xs:choice>
|
200
|
+
<xs:attribute name="layout" type="NLogLayout" use="optional" />
|
201
|
+
</xs:extension>
|
202
|
+
</xs:complexContent>
|
203
|
+
</xs:complexType>
|
204
|
+
<xs:complexType name="TargetWithLayoutHeaderAndFooter" abstract="true">
|
205
|
+
<xs:complexContent>
|
206
|
+
<xs:extension base="TargetWithLayout">
|
207
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
208
|
+
<xs:element name="header" type="ILayout" minOccurs="0" maxOccurs="1" />
|
209
|
+
<xs:element name="footer" type="ILayout" minOccurs="0" maxOccurs="1" />
|
210
|
+
</xs:choice>
|
211
|
+
<xs:attribute name="layout" type="NLogLayout" default="${longdate}|${level:uppercase=true}|${logger}|${message}">
|
212
|
+
<xs:annotation>
|
213
|
+
<xs:documentation> The text to be rendered. Default value is: ${longdate}|${level:uppercase=true}|${logger}|${message}</xs:documentation>
|
214
|
+
</xs:annotation>
|
215
|
+
</xs:attribute>
|
216
|
+
<xs:attribute name="header" type="NLogLayout">
|
217
|
+
<xs:annotation>
|
218
|
+
<xs:documentation> Header </xs:documentation>
|
219
|
+
</xs:annotation>
|
220
|
+
</xs:attribute>
|
221
|
+
<xs:attribute name="footer" type="NLogLayout">
|
222
|
+
<xs:annotation>
|
223
|
+
<xs:documentation> Footer </xs:documentation>
|
224
|
+
</xs:annotation>
|
225
|
+
</xs:attribute>
|
226
|
+
</xs:extension>
|
227
|
+
</xs:complexContent>
|
228
|
+
</xs:complexType>
|
229
|
+
<xs:simpleType name="NLogLayout">
|
230
|
+
<xs:restriction base="xs:string">
|
231
|
+
<xs:pattern value="((\$\{[a-zA-Z][a-zA-Z0-9\-]*(\:[a-zA-Z][a-zA-Z0-9\-]*\=([^\\\:]|\\.)*)*\})|([^\$])|(\$[^\{]))*" />
|
232
|
+
<xs:minLength value="1" />
|
233
|
+
</xs:restriction>
|
234
|
+
</xs:simpleType>
|
235
|
+
<xs:simpleType name="NLogCondition">
|
236
|
+
<xs:restriction base="xs:string">
|
237
|
+
<xs:minLength value="1" />
|
238
|
+
</xs:restriction>
|
239
|
+
</xs:simpleType>
|
240
|
+
<xs:complexType name="RetryingWrapper">
|
241
|
+
<xs:complexContent>
|
242
|
+
<xs:extension base="WrapperTargetBase">
|
243
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
244
|
+
<xs:element name="retryCount" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
245
|
+
<xs:element name="retryDelayMilliseconds" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
246
|
+
</xs:choice>
|
247
|
+
<xs:attribute name="retryCount" type="xs:integer" default="3">
|
248
|
+
<xs:annotation>
|
249
|
+
<xs:documentation> Number of retries that should be attempted on the wrapped target in case of a failure. Default value is: 3</xs:documentation>
|
250
|
+
</xs:annotation>
|
251
|
+
</xs:attribute>
|
252
|
+
<xs:attribute name="retryDelayMilliseconds" type="xs:integer" default="100">
|
253
|
+
<xs:annotation>
|
254
|
+
<xs:documentation> The time to wait between retries in milliseconds. Default value is: 100</xs:documentation>
|
255
|
+
</xs:annotation>
|
256
|
+
</xs:attribute>
|
257
|
+
</xs:extension>
|
258
|
+
</xs:complexContent>
|
259
|
+
</xs:complexType>
|
260
|
+
<xs:complexType name="WrapperTargetBase" abstract="true">
|
261
|
+
<xs:complexContent>
|
262
|
+
<xs:extension base="Target">
|
263
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
264
|
+
<xs:element name="target" type="Target" minOccurs="1" maxOccurs="1" />
|
265
|
+
<xs:element name="wrapper-target" type="WrapperTargetBase" minOccurs="1" maxOccurs="1" />
|
266
|
+
<xs:element name="compound-target" type="CompoundTargetBase" minOccurs="1" maxOccurs="1" />
|
267
|
+
</xs:choice>
|
268
|
+
</xs:extension>
|
269
|
+
</xs:complexContent>
|
270
|
+
</xs:complexType>
|
271
|
+
<xs:complexType name="MethodCall">
|
272
|
+
<xs:complexContent>
|
273
|
+
<xs:extension base="MethodCallTargetBase">
|
274
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
275
|
+
<xs:element name="className" type="xs:string" minOccurs="0" maxOccurs="1" />
|
276
|
+
<xs:element name="methodName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
277
|
+
</xs:choice>
|
278
|
+
<xs:attribute name="className" type="xs:string">
|
279
|
+
<xs:annotation>
|
280
|
+
<xs:documentation> The class name. </xs:documentation>
|
281
|
+
</xs:annotation>
|
282
|
+
</xs:attribute>
|
283
|
+
<xs:attribute name="methodName" type="xs:string">
|
284
|
+
<xs:annotation>
|
285
|
+
<xs:documentation> The method name. The method must be public and static. </xs:documentation>
|
286
|
+
</xs:annotation>
|
287
|
+
</xs:attribute>
|
288
|
+
</xs:extension>
|
289
|
+
</xs:complexContent>
|
290
|
+
</xs:complexType>
|
291
|
+
<xs:complexType name="MethodCallTargetBase" abstract="true">
|
292
|
+
<xs:complexContent>
|
293
|
+
<xs:extension base="Target">
|
294
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
295
|
+
<xs:element name="parameter" type="MethodCallParameter" minOccurs="0" maxOccurs="unbounded" />
|
296
|
+
</xs:choice>
|
297
|
+
</xs:extension>
|
298
|
+
</xs:complexContent>
|
299
|
+
</xs:complexType>
|
300
|
+
<xs:complexType name="MethodCallParameter">
|
301
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
302
|
+
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
|
303
|
+
<xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="1" />
|
304
|
+
<xs:element name="layout" type="xs:string" minOccurs="0" maxOccurs="1" />
|
305
|
+
<xs:element name="compiledLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
306
|
+
</xs:choice>
|
307
|
+
<xs:attribute name="name" type="xs:string">
|
308
|
+
<xs:annotation>
|
309
|
+
<xs:documentation> The name of the parameter. </xs:documentation>
|
310
|
+
</xs:annotation>
|
311
|
+
</xs:attribute>
|
312
|
+
<xs:attribute name="type" type="xs:string">
|
313
|
+
<xs:annotation>
|
314
|
+
<xs:documentation> The type of the parameter. </xs:documentation>
|
315
|
+
</xs:annotation>
|
316
|
+
</xs:attribute>
|
317
|
+
<xs:attribute name="layout" type="xs:string">
|
318
|
+
<xs:annotation>
|
319
|
+
<xs:documentation> The layout that should be use to calcuate the value for the parameter. </xs:documentation>
|
320
|
+
</xs:annotation>
|
321
|
+
</xs:attribute>
|
322
|
+
</xs:complexType>
|
323
|
+
<xs:complexType name="AutoFlushWrapper">
|
324
|
+
<xs:complexContent>
|
325
|
+
<xs:extension base="WrapperTargetBase">
|
326
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
327
|
+
</xs:extension>
|
328
|
+
</xs:complexContent>
|
329
|
+
</xs:complexType>
|
330
|
+
<xs:complexType name="PerfCounter">
|
331
|
+
<xs:complexContent>
|
332
|
+
<xs:extension base="Target">
|
333
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
334
|
+
<xs:element name="autoCreate" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
335
|
+
<xs:element name="categoryName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
336
|
+
<xs:element name="counterName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
337
|
+
<xs:element name="instanceName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
338
|
+
<xs:element name="counterType" type="PerformanceCounterType" minOccurs="0" maxOccurs="1" />
|
339
|
+
</xs:choice>
|
340
|
+
<xs:attribute name="autoCreate" type="xs:boolean">
|
341
|
+
<xs:annotation>
|
342
|
+
<xs:documentation> Whether performance counter should be automatically created. </xs:documentation>
|
343
|
+
</xs:annotation>
|
344
|
+
</xs:attribute>
|
345
|
+
<xs:attribute name="categoryName" type="xs:string">
|
346
|
+
<xs:annotation>
|
347
|
+
<xs:documentation> Performance counter category. </xs:documentation>
|
348
|
+
</xs:annotation>
|
349
|
+
</xs:attribute>
|
350
|
+
<xs:attribute name="counterName" type="xs:string">
|
351
|
+
<xs:annotation>
|
352
|
+
<xs:documentation> Name of the performance counter. </xs:documentation>
|
353
|
+
</xs:annotation>
|
354
|
+
</xs:attribute>
|
355
|
+
<xs:attribute name="instanceName" type="xs:string">
|
356
|
+
<xs:annotation>
|
357
|
+
<xs:documentation> Instance name. </xs:documentation>
|
358
|
+
</xs:annotation>
|
359
|
+
</xs:attribute>
|
360
|
+
<xs:attribute name="counterType" type="PerformanceCounterType">
|
361
|
+
<xs:annotation>
|
362
|
+
<xs:documentation> Performance counter type. </xs:documentation>
|
363
|
+
</xs:annotation>
|
364
|
+
</xs:attribute>
|
365
|
+
</xs:extension>
|
366
|
+
</xs:complexContent>
|
367
|
+
</xs:complexType>
|
368
|
+
<xs:simpleType name="PerformanceCounterType">
|
369
|
+
<xs:restriction base="xs:string">
|
370
|
+
<xs:enumeration value="NumberOfItems32" />
|
371
|
+
<xs:enumeration value="NumberOfItems64" />
|
372
|
+
<xs:enumeration value="NumberOfItemsHEX32" />
|
373
|
+
<xs:enumeration value="NumberOfItemsHEX64" />
|
374
|
+
<xs:enumeration value="RateOfCountsPerSecond32" />
|
375
|
+
<xs:enumeration value="RateOfCountsPerSecond64" />
|
376
|
+
<xs:enumeration value="CountPerTimeInterval32" />
|
377
|
+
<xs:enumeration value="CountPerTimeInterval64" />
|
378
|
+
<xs:enumeration value="RawFraction" />
|
379
|
+
<xs:enumeration value="RawBase" />
|
380
|
+
<xs:enumeration value="AverageTimer32" />
|
381
|
+
<xs:enumeration value="AverageBase" />
|
382
|
+
<xs:enumeration value="AverageCount64" />
|
383
|
+
<xs:enumeration value="SampleFraction" />
|
384
|
+
<xs:enumeration value="SampleCounter" />
|
385
|
+
<xs:enumeration value="SampleBase" />
|
386
|
+
<xs:enumeration value="CounterTimer" />
|
387
|
+
<xs:enumeration value="CounterTimerInverse" />
|
388
|
+
<xs:enumeration value="Timer100Ns" />
|
389
|
+
<xs:enumeration value="Timer100NsInverse" />
|
390
|
+
<xs:enumeration value="ElapsedTime" />
|
391
|
+
<xs:enumeration value="CounterMultiTimer" />
|
392
|
+
<xs:enumeration value="CounterMultiTimerInverse" />
|
393
|
+
<xs:enumeration value="CounterMultiTimer100Ns" />
|
394
|
+
<xs:enumeration value="CounterMultiTimer100NsInverse" />
|
395
|
+
<xs:enumeration value="CounterMultiBase" />
|
396
|
+
<xs:enumeration value="CounterDelta32" />
|
397
|
+
<xs:enumeration value="CounterDelta64" />
|
398
|
+
</xs:restriction>
|
399
|
+
</xs:simpleType>
|
400
|
+
<xs:complexType name="ColoredConsole">
|
401
|
+
<xs:complexContent>
|
402
|
+
<xs:extension base="TargetWithLayoutHeaderAndFooter">
|
403
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
404
|
+
<xs:element name="errorStream" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
405
|
+
<xs:element name="useDefaultRowHighlightingRules" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
406
|
+
<xs:element name="highlight-row" type="ConsoleRowHighlightingRule" minOccurs="0" maxOccurs="unbounded" />
|
407
|
+
<xs:element name="highlight-word" type="ConsoleWordHighlightingRule" minOccurs="0" maxOccurs="unbounded" />
|
408
|
+
</xs:choice>
|
409
|
+
<xs:attribute name="errorStream" type="xs:boolean" default="false">
|
410
|
+
<xs:annotation>
|
411
|
+
<xs:documentation> Determines whether the error stream (stderr) should be used instead of the output stream (stdout). Default value is: false</xs:documentation>
|
412
|
+
</xs:annotation>
|
413
|
+
</xs:attribute>
|
414
|
+
<xs:attribute name="useDefaultRowHighlightingRules" type="xs:boolean" default="true">
|
415
|
+
<xs:annotation>
|
416
|
+
<xs:documentation> Use default row highlighting rules. Default value is: true</xs:documentation>
|
417
|
+
</xs:annotation>
|
418
|
+
</xs:attribute>
|
419
|
+
</xs:extension>
|
420
|
+
</xs:complexContent>
|
421
|
+
</xs:complexType>
|
422
|
+
<xs:complexType name="ConsoleRowHighlightingRule">
|
423
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
424
|
+
<xs:element name="condition" type="xs:string" minOccurs="0" maxOccurs="1" />
|
425
|
+
<xs:element name="foregroundColor" type="ConsoleOutputColor" minOccurs="0" maxOccurs="1" />
|
426
|
+
<xs:element name="backgroundColor" type="ConsoleOutputColor" minOccurs="0" maxOccurs="1" />
|
427
|
+
</xs:choice>
|
428
|
+
<xs:attribute name="condition" type="NLogCondition">
|
429
|
+
<xs:annotation>
|
430
|
+
<xs:documentation> The condition that must be met in order to set the specified foreground and background color. </xs:documentation>
|
431
|
+
</xs:annotation>
|
432
|
+
</xs:attribute>
|
433
|
+
<xs:attribute name="foregroundColor" type="ConsoleOutputColor" default="NoChange">
|
434
|
+
<xs:annotation>
|
435
|
+
<xs:documentation> The foreground color. Default value is: NoChange</xs:documentation>
|
436
|
+
</xs:annotation>
|
437
|
+
</xs:attribute>
|
438
|
+
<xs:attribute name="backgroundColor" type="ConsoleOutputColor" default="NoChange">
|
439
|
+
<xs:annotation>
|
440
|
+
<xs:documentation> The background color. Default value is: NoChange</xs:documentation>
|
441
|
+
</xs:annotation>
|
442
|
+
</xs:attribute>
|
443
|
+
</xs:complexType>
|
444
|
+
<xs:simpleType name="ConsoleOutputColor">
|
445
|
+
<xs:restriction base="xs:string">
|
446
|
+
<xs:enumeration value="Black" />
|
447
|
+
<xs:enumeration value="DarkBlue" />
|
448
|
+
<xs:enumeration value="DarkGreen" />
|
449
|
+
<xs:enumeration value="DarkCyan" />
|
450
|
+
<xs:enumeration value="DarkRed" />
|
451
|
+
<xs:enumeration value="DarkMagenta" />
|
452
|
+
<xs:enumeration value="DarkYellow" />
|
453
|
+
<xs:enumeration value="Gray" />
|
454
|
+
<xs:enumeration value="DarkGray" />
|
455
|
+
<xs:enumeration value="Blue" />
|
456
|
+
<xs:enumeration value="Green" />
|
457
|
+
<xs:enumeration value="Cyan" />
|
458
|
+
<xs:enumeration value="Red" />
|
459
|
+
<xs:enumeration value="Magenta" />
|
460
|
+
<xs:enumeration value="Yellow" />
|
461
|
+
<xs:enumeration value="White" />
|
462
|
+
<xs:enumeration value="NoChange" />
|
463
|
+
</xs:restriction>
|
464
|
+
</xs:simpleType>
|
465
|
+
<xs:complexType name="ConsoleWordHighlightingRule">
|
466
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
467
|
+
<xs:element name="regex" type="xs:string" minOccurs="0" maxOccurs="1" />
|
468
|
+
<xs:element name="text" type="xs:string" minOccurs="0" maxOccurs="1" />
|
469
|
+
<xs:element name="wholeWords" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
470
|
+
<xs:element name="ignoreCase" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
471
|
+
<xs:element name="foregroundColor" type="ConsoleOutputColor" minOccurs="0" maxOccurs="1" />
|
472
|
+
<xs:element name="backgroundColor" type="ConsoleOutputColor" minOccurs="0" maxOccurs="1" />
|
473
|
+
</xs:choice>
|
474
|
+
<xs:attribute name="regex" type="xs:string">
|
475
|
+
<xs:annotation>
|
476
|
+
<xs:documentation> The regular expression to be matched. You must specify either text or regex. </xs:documentation>
|
477
|
+
</xs:annotation>
|
478
|
+
</xs:attribute>
|
479
|
+
<xs:attribute name="text" type="xs:string">
|
480
|
+
<xs:annotation>
|
481
|
+
<xs:documentation> The text to be matched. You must specify either text or regex. </xs:documentation>
|
482
|
+
</xs:annotation>
|
483
|
+
</xs:attribute>
|
484
|
+
<xs:attribute name="wholeWords" type="xs:boolean" default="false">
|
485
|
+
<xs:annotation>
|
486
|
+
<xs:documentation> Match whole words only. Default value is: false</xs:documentation>
|
487
|
+
</xs:annotation>
|
488
|
+
</xs:attribute>
|
489
|
+
<xs:attribute name="ignoreCase" type="xs:boolean" default="false">
|
490
|
+
<xs:annotation>
|
491
|
+
<xs:documentation> Ignore case when comparing texts. Default value is: false</xs:documentation>
|
492
|
+
</xs:annotation>
|
493
|
+
</xs:attribute>
|
494
|
+
<xs:attribute name="foregroundColor" type="ConsoleOutputColor" default="NoChange">
|
495
|
+
<xs:annotation>
|
496
|
+
<xs:documentation> The foreground color. Default value is: NoChange</xs:documentation>
|
497
|
+
</xs:annotation>
|
498
|
+
</xs:attribute>
|
499
|
+
<xs:attribute name="backgroundColor" type="ConsoleOutputColor" default="NoChange">
|
500
|
+
<xs:annotation>
|
501
|
+
<xs:documentation> The background color. Default value is: NoChange</xs:documentation>
|
502
|
+
</xs:annotation>
|
503
|
+
</xs:attribute>
|
504
|
+
</xs:complexType>
|
505
|
+
<xs:complexType name="AsyncWrapper">
|
506
|
+
<xs:complexContent>
|
507
|
+
<xs:extension base="WrapperTargetBase">
|
508
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
509
|
+
<xs:element name="batchSize" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
510
|
+
<xs:element name="timeToSleepBetweenBatches" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
511
|
+
<xs:element name="overflowAction" type="AsyncTargetWrapperOverflowAction" minOccurs="0" maxOccurs="1" />
|
512
|
+
<xs:element name="queueLimit" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
513
|
+
</xs:choice>
|
514
|
+
<xs:attribute name="batchSize" type="xs:integer" default="100">
|
515
|
+
<xs:annotation>
|
516
|
+
<xs:documentation> The number of log events that should be processed in a batch by the lazy writer thread. Default value is: 100</xs:documentation>
|
517
|
+
</xs:annotation>
|
518
|
+
</xs:attribute>
|
519
|
+
<xs:attribute name="timeToSleepBetweenBatches" type="xs:integer" default="50">
|
520
|
+
<xs:annotation>
|
521
|
+
<xs:documentation> The time in milliseconds to sleep between batches. Default value is: 50</xs:documentation>
|
522
|
+
</xs:annotation>
|
523
|
+
</xs:attribute>
|
524
|
+
<xs:attribute name="overflowAction" type="AsyncTargetWrapperOverflowAction" default="Discard">
|
525
|
+
<xs:annotation>
|
526
|
+
<xs:documentation> The action to be taken when the lazy writer thread request queue count exceeds the set limit. Default value is: Discard</xs:documentation>
|
527
|
+
</xs:annotation>
|
528
|
+
</xs:attribute>
|
529
|
+
<xs:attribute name="queueLimit" type="xs:integer" default="10000">
|
530
|
+
<xs:annotation>
|
531
|
+
<xs:documentation> The limit on the number of requests in the lazy writer thread request queue. Default value is: 10000</xs:documentation>
|
532
|
+
</xs:annotation>
|
533
|
+
</xs:attribute>
|
534
|
+
</xs:extension>
|
535
|
+
</xs:complexContent>
|
536
|
+
</xs:complexType>
|
537
|
+
<xs:simpleType name="AsyncTargetWrapperOverflowAction">
|
538
|
+
<xs:restriction base="xs:string">
|
539
|
+
<xs:enumeration value="Grow" />
|
540
|
+
<xs:enumeration value="Discard" />
|
541
|
+
<xs:enumeration value="Block" />
|
542
|
+
</xs:restriction>
|
543
|
+
</xs:simpleType>
|
544
|
+
<xs:complexType name="RoundRobinGroup">
|
545
|
+
<xs:complexContent>
|
546
|
+
<xs:extension base="CompoundTargetBase">
|
547
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
548
|
+
</xs:extension>
|
549
|
+
</xs:complexContent>
|
550
|
+
</xs:complexType>
|
551
|
+
<xs:complexType name="CompoundTargetBase" abstract="true">
|
552
|
+
<xs:complexContent>
|
553
|
+
<xs:extension base="Target">
|
554
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
555
|
+
<xs:element name="target" type="Target" minOccurs="1" maxOccurs="unbounded" />
|
556
|
+
<xs:element name="wrapper-target" type="WrapperTargetBase" minOccurs="1" maxOccurs="1" />
|
557
|
+
<xs:element name="compound-target" type="CompoundTargetBase" minOccurs="1" maxOccurs="1" />
|
558
|
+
</xs:choice>
|
559
|
+
</xs:extension>
|
560
|
+
</xs:complexContent>
|
561
|
+
</xs:complexType>
|
562
|
+
<xs:complexType name="BufferingWrapper">
|
563
|
+
<xs:complexContent>
|
564
|
+
<xs:extension base="WrapperTargetBase">
|
565
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
566
|
+
<xs:element name="bufferSize" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
567
|
+
<xs:element name="flushTimeout" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
568
|
+
</xs:choice>
|
569
|
+
<xs:attribute name="bufferSize" type="xs:integer" default="100">
|
570
|
+
<xs:annotation>
|
571
|
+
<xs:documentation> Number of log events to be buffered. Default value is: 100</xs:documentation>
|
572
|
+
</xs:annotation>
|
573
|
+
</xs:attribute>
|
574
|
+
<xs:attribute name="flushTimeout" type="xs:integer" default="-1">
|
575
|
+
<xs:annotation>
|
576
|
+
<xs:documentation> Flush the contents of buffer if there's no write in the specified period of time (milliseconds). Use -1 to disable timed flushes. Default value is: -1</xs:documentation>
|
577
|
+
</xs:annotation>
|
578
|
+
</xs:attribute>
|
579
|
+
</xs:extension>
|
580
|
+
</xs:complexContent>
|
581
|
+
</xs:complexType>
|
582
|
+
<xs:complexType name="SplitGroup">
|
583
|
+
<xs:complexContent>
|
584
|
+
<xs:extension base="CompoundTargetBase">
|
585
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
586
|
+
</xs:extension>
|
587
|
+
</xs:complexContent>
|
588
|
+
</xs:complexType>
|
589
|
+
<xs:complexType name="FallbackGroup">
|
590
|
+
<xs:complexContent>
|
591
|
+
<xs:extension base="CompoundTargetBase">
|
592
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
593
|
+
<xs:element name="returnToFirstOnSuccess" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
594
|
+
</xs:choice>
|
595
|
+
<xs:attribute name="returnToFirstOnSuccess" type="xs:boolean">
|
596
|
+
<xs:annotation>
|
597
|
+
<xs:documentation> Whether to return to the first target after any successful write. </xs:documentation>
|
598
|
+
</xs:annotation>
|
599
|
+
</xs:attribute>
|
600
|
+
</xs:extension>
|
601
|
+
</xs:complexContent>
|
602
|
+
</xs:complexType>
|
603
|
+
<xs:complexType name="File">
|
604
|
+
<xs:complexContent>
|
605
|
+
<xs:extension base="TargetWithLayoutHeaderAndFooter">
|
606
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
607
|
+
<xs:element name="fileName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
608
|
+
<xs:element name="createDirs" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
609
|
+
<xs:element name="openFileCacheSize" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
610
|
+
<xs:element name="openFileCacheTimeout" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
611
|
+
<xs:element name="deleteOldFileOnStartup" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
612
|
+
<xs:element name="replaceFileContentsOnEachWrite" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
613
|
+
<xs:element name="keepFileOpen" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
614
|
+
<xs:element name="enableFileDelete" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
615
|
+
<xs:element name="fileAttributes" type="Win32FileAttributes" minOccurs="0" maxOccurs="1" />
|
616
|
+
<xs:element name="lineEnding" type="LineEndingMode" minOccurs="0" maxOccurs="1" />
|
617
|
+
<xs:element name="autoFlush" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
618
|
+
<xs:element name="bufferSize" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
619
|
+
<xs:element name="encoding" type="xs:string" minOccurs="0" maxOccurs="1" />
|
620
|
+
<xs:element name="concurrentWrites" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
621
|
+
<xs:element name="networkWrites" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
622
|
+
<xs:element name="concurrentWriteAttempts" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
623
|
+
<xs:element name="archiveAboveSize" type="xs:long" minOccurs="0" maxOccurs="1" />
|
624
|
+
<xs:element name="archiveEvery" type="ArchiveEveryMode" minOccurs="0" maxOccurs="1" />
|
625
|
+
<xs:element name="archiveFileName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
626
|
+
<xs:element name="concurrentWriteAttemptDelay" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
627
|
+
<xs:element name="maxArchiveFiles" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
628
|
+
<xs:element name="archiveNumbering" type="ArchiveNumberingMode" minOccurs="0" maxOccurs="1" />
|
629
|
+
</xs:choice>
|
630
|
+
<xs:attribute name="fileName" type="NLogLayout">
|
631
|
+
<xs:annotation>
|
632
|
+
<xs:documentation> The name of the file to write to. </xs:documentation>
|
633
|
+
</xs:annotation>
|
634
|
+
</xs:attribute>
|
635
|
+
<xs:attribute name="createDirs" type="xs:boolean" default="true">
|
636
|
+
<xs:annotation>
|
637
|
+
<xs:documentation> Create directories if they don't exist. Default value is: true</xs:documentation>
|
638
|
+
</xs:annotation>
|
639
|
+
</xs:attribute>
|
640
|
+
<xs:attribute name="openFileCacheSize" type="xs:integer" default="5">
|
641
|
+
<xs:annotation>
|
642
|
+
<xs:documentation> The number of files to be kept open. Setting this to a higher value may improve performance in a situation where a single File target is writing to many files (such as splitting by level or by logger). Default value is: 5</xs:documentation>
|
643
|
+
</xs:annotation>
|
644
|
+
</xs:attribute>
|
645
|
+
<xs:attribute name="openFileCacheTimeout" type="xs:integer" default="-1">
|
646
|
+
<xs:annotation>
|
647
|
+
<xs:documentation> Maximum number of seconds that files are kept open. If this number is negative. Default value is: -1</xs:documentation>
|
648
|
+
</xs:annotation>
|
649
|
+
</xs:attribute>
|
650
|
+
<xs:attribute name="deleteOldFileOnStartup" type="xs:boolean" default="false">
|
651
|
+
<xs:annotation>
|
652
|
+
<xs:documentation> Delete old log file on startup. Default value is: false</xs:documentation>
|
653
|
+
</xs:annotation>
|
654
|
+
</xs:attribute>
|
655
|
+
<xs:attribute name="replaceFileContentsOnEachWrite" type="xs:boolean" default="false">
|
656
|
+
<xs:annotation>
|
657
|
+
<xs:documentation> Replace file contents on each write instead of appending log message at the end. Default value is: false</xs:documentation>
|
658
|
+
</xs:annotation>
|
659
|
+
</xs:attribute>
|
660
|
+
<xs:attribute name="keepFileOpen" type="xs:boolean" default="false">
|
661
|
+
<xs:annotation>
|
662
|
+
<xs:documentation> Keep log file open instead of opening and closing it on each logging event. Default value is: false</xs:documentation>
|
663
|
+
</xs:annotation>
|
664
|
+
</xs:attribute>
|
665
|
+
<xs:attribute name="enableFileDelete" type="xs:boolean" default="true">
|
666
|
+
<xs:annotation>
|
667
|
+
<xs:documentation> Enable log file(s) to be deleted. Default value is: true</xs:documentation>
|
668
|
+
</xs:annotation>
|
669
|
+
</xs:attribute>
|
670
|
+
<xs:attribute name="fileAttributes" type="Win32FileAttributes">
|
671
|
+
<xs:annotation>
|
672
|
+
<xs:documentation> File attributes (Windows only). </xs:documentation>
|
673
|
+
</xs:annotation>
|
674
|
+
</xs:attribute>
|
675
|
+
<xs:attribute name="lineEnding" type="LineEndingMode">
|
676
|
+
<xs:annotation>
|
677
|
+
<xs:documentation> Line ending mode. </xs:documentation>
|
678
|
+
</xs:annotation>
|
679
|
+
</xs:attribute>
|
680
|
+
<xs:attribute name="autoFlush" type="xs:boolean" default="true">
|
681
|
+
<xs:annotation>
|
682
|
+
<xs:documentation> Automatically flush the file buffers after each log message. Default value is: true</xs:documentation>
|
683
|
+
</xs:annotation>
|
684
|
+
</xs:attribute>
|
685
|
+
<xs:attribute name="bufferSize" type="xs:integer" default="32768">
|
686
|
+
<xs:annotation>
|
687
|
+
<xs:documentation> Log file buffer size in bytes. Default value is: 32768</xs:documentation>
|
688
|
+
</xs:annotation>
|
689
|
+
</xs:attribute>
|
690
|
+
<xs:attribute name="encoding" type="xs:string">
|
691
|
+
<xs:annotation>
|
692
|
+
<xs:documentation> File encoding.</xs:documentation>
|
693
|
+
</xs:annotation>
|
694
|
+
</xs:attribute>
|
695
|
+
<xs:attribute name="concurrentWrites" type="xs:boolean" default="true">
|
696
|
+
<xs:annotation>
|
697
|
+
<xs:documentation> Enables concurrent writes to the log file by multiple processes on the same host. Default value is: true</xs:documentation>
|
698
|
+
</xs:annotation>
|
699
|
+
</xs:attribute>
|
700
|
+
<xs:attribute name="networkWrites" type="xs:boolean" default="false">
|
701
|
+
<xs:annotation>
|
702
|
+
<xs:documentation> Disables open-fi Default value is: false</xs:documentation>
|
703
|
+
</xs:annotation>
|
704
|
+
</xs:attribute>
|
705
|
+
<xs:attribute name="concurrentWriteAttempts" type="xs:integer" default="10">
|
706
|
+
<xs:annotation>
|
707
|
+
<xs:documentation> The number of times the write is appended on the file before NLog discards the log message. Default value is: 10</xs:documentation>
|
708
|
+
</xs:annotation>
|
709
|
+
</xs:attribute>
|
710
|
+
<xs:attribute name="archiveAboveSize" type="xs:long">
|
711
|
+
<xs:annotation>
|
712
|
+
<xs:documentation> Automatically archive log files that exceed the specified size in bytes. </xs:documentation>
|
713
|
+
</xs:annotation>
|
714
|
+
</xs:attribute>
|
715
|
+
<xs:attribute name="archiveEvery" type="ArchiveEveryMode">
|
716
|
+
<xs:annotation>
|
717
|
+
<xs:documentation> Automatically archive log files every time the specified time passes. Possible options are: year, month, day, hour, minute. Files are moved to the archive as part of the write operation if the current period of time changes. For example if the current hour changes from 10 to 11, the first write that will occur on or after 11:00 will trigger the archiving. </xs:documentation>
|
718
|
+
</xs:annotation>
|
719
|
+
</xs:attribute>
|
720
|
+
<xs:attribute name="archiveFileName" type="NLogLayout">
|
721
|
+
<xs:annotation>
|
722
|
+
<xs:documentation> The name of the file to be used for an archive. It may contain a special placeholder {#####} that will be replaced with a sequence of numbers depending on the archiving strategy. The number of hash characters used determines the number of numerical digits to be used for numbering files. </xs:documentation>
|
723
|
+
</xs:annotation>
|
724
|
+
</xs:attribute>
|
725
|
+
<xs:attribute name="concurrentWriteAttemptDelay" type="xs:integer" default="1">
|
726
|
+
<xs:annotation>
|
727
|
+
<xs:documentation> The delay in milliseconds to wait before attempting to write to the file again. Default value is: 1</xs:documentation>
|
728
|
+
</xs:annotation>
|
729
|
+
</xs:attribute>
|
730
|
+
<xs:attribute name="maxArchiveFiles" type="xs:integer" default="9">
|
731
|
+
<xs:annotation>
|
732
|
+
<xs:documentation> Maximum number of archive files that should be kept. Default value is: 9</xs:documentation>
|
733
|
+
</xs:annotation>
|
734
|
+
</xs:attribute>
|
735
|
+
<xs:attribute name="archiveNumbering" type="ArchiveNumberingMode">
|
736
|
+
<xs:annotation>
|
737
|
+
<xs:documentation> Determines the way file archives are numbered. </xs:documentation>
|
738
|
+
</xs:annotation>
|
739
|
+
</xs:attribute>
|
740
|
+
</xs:extension>
|
741
|
+
</xs:complexContent>
|
742
|
+
</xs:complexType>
|
743
|
+
<xs:simpleType name="Win32FileAttributes">
|
744
|
+
<xs:restriction base="xs:string">
|
745
|
+
<xs:enumeration value="Readonly" />
|
746
|
+
<xs:enumeration value="Hidden" />
|
747
|
+
<xs:enumeration value="System" />
|
748
|
+
<xs:enumeration value="Archive" />
|
749
|
+
<xs:enumeration value="Device" />
|
750
|
+
<xs:enumeration value="Normal" />
|
751
|
+
<xs:enumeration value="Temporary" />
|
752
|
+
<xs:enumeration value="SparseFile" />
|
753
|
+
<xs:enumeration value="ReparsePoint" />
|
754
|
+
<xs:enumeration value="Compressed" />
|
755
|
+
<xs:enumeration value="NotContentIndexed" />
|
756
|
+
<xs:enumeration value="Encrypted" />
|
757
|
+
<xs:enumeration value="WriteThrough" />
|
758
|
+
<xs:enumeration value="NoBuffering" />
|
759
|
+
<xs:enumeration value="DeleteOnClose" />
|
760
|
+
<xs:enumeration value="PosixSemantics" />
|
761
|
+
</xs:restriction>
|
762
|
+
</xs:simpleType>
|
763
|
+
<xs:simpleType name="LineEndingMode">
|
764
|
+
<xs:restriction base="xs:string">
|
765
|
+
<xs:enumeration value="Default" />
|
766
|
+
<xs:enumeration value="CRLF" />
|
767
|
+
<xs:enumeration value="CR" />
|
768
|
+
<xs:enumeration value="LF" />
|
769
|
+
<xs:enumeration value="None" />
|
770
|
+
</xs:restriction>
|
771
|
+
</xs:simpleType>
|
772
|
+
<xs:simpleType name="ArchiveEveryMode">
|
773
|
+
<xs:restriction base="xs:string">
|
774
|
+
<xs:enumeration value="None" />
|
775
|
+
<xs:enumeration value="Year" />
|
776
|
+
<xs:enumeration value="Month" />
|
777
|
+
<xs:enumeration value="Day" />
|
778
|
+
<xs:enumeration value="Hour" />
|
779
|
+
<xs:enumeration value="Minute" />
|
780
|
+
</xs:restriction>
|
781
|
+
</xs:simpleType>
|
782
|
+
<xs:simpleType name="ArchiveNumberingMode">
|
783
|
+
<xs:restriction base="xs:string">
|
784
|
+
<xs:enumeration value="Sequence" />
|
785
|
+
<xs:enumeration value="Rolling" />
|
786
|
+
</xs:restriction>
|
787
|
+
</xs:simpleType>
|
788
|
+
<xs:complexType name="WebService">
|
789
|
+
<xs:complexContent>
|
790
|
+
<xs:extension base="MethodCallTargetBase">
|
791
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
792
|
+
<xs:element name="url" type="xs:string" minOccurs="0" maxOccurs="1" />
|
793
|
+
<xs:element name="methodName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
794
|
+
<xs:element name="namespace" type="xs:string" minOccurs="0" maxOccurs="1" />
|
795
|
+
<xs:element name="protocol" type="WebServiceProtocol" minOccurs="0" maxOccurs="1" />
|
796
|
+
</xs:choice>
|
797
|
+
<xs:attribute name="url" type="xs:string">
|
798
|
+
<xs:annotation>
|
799
|
+
<xs:documentation> Web service URL. </xs:documentation>
|
800
|
+
</xs:annotation>
|
801
|
+
</xs:attribute>
|
802
|
+
<xs:attribute name="methodName" type="xs:string">
|
803
|
+
<xs:annotation>
|
804
|
+
<xs:documentation> Web service method name. </xs:documentation>
|
805
|
+
</xs:annotation>
|
806
|
+
</xs:attribute>
|
807
|
+
<xs:attribute name="namespace" type="xs:string">
|
808
|
+
<xs:annotation>
|
809
|
+
<xs:documentation> Web service namespace. </xs:documentation>
|
810
|
+
</xs:annotation>
|
811
|
+
</xs:attribute>
|
812
|
+
<xs:attribute name="protocol" type="WebServiceProtocol" default="Soap11">
|
813
|
+
<xs:annotation>
|
814
|
+
<xs:documentation> The protocol to be used when calling web service. Default value is: Soap11</xs:documentation>
|
815
|
+
</xs:annotation>
|
816
|
+
</xs:attribute>
|
817
|
+
</xs:extension>
|
818
|
+
</xs:complexContent>
|
819
|
+
</xs:complexType>
|
820
|
+
<xs:simpleType name="WebServiceProtocol">
|
821
|
+
<xs:restriction base="xs:string">
|
822
|
+
<xs:enumeration value="Soap11" />
|
823
|
+
<xs:enumeration value="Soap12" />
|
824
|
+
<xs:enumeration value="HttpPost" />
|
825
|
+
<xs:enumeration value="HttpGet" />
|
826
|
+
</xs:restriction>
|
827
|
+
</xs:simpleType>
|
828
|
+
<xs:complexType name="FilteringWrapper">
|
829
|
+
<xs:complexContent>
|
830
|
+
<xs:extension base="WrapperTargetBase">
|
831
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
832
|
+
<xs:element name="condition" type="xs:string" minOccurs="0" maxOccurs="1" />
|
833
|
+
</xs:choice>
|
834
|
+
<xs:attribute name="condition" type="NLogCondition">
|
835
|
+
<xs:annotation>
|
836
|
+
<xs:documentation> Condition expression. Log events who meet this condition will be forwarded to the wrapped target. </xs:documentation>
|
837
|
+
</xs:annotation>
|
838
|
+
</xs:attribute>
|
839
|
+
</xs:extension>
|
840
|
+
</xs:complexContent>
|
841
|
+
</xs:complexType>
|
842
|
+
<xs:complexType name="ASPNetBufferingWrapper">
|
843
|
+
<xs:complexContent>
|
844
|
+
<xs:extension base="WrapperTargetBase">
|
845
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
846
|
+
<xs:element name="bufferSize" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
847
|
+
<xs:element name="growBufferAsNeeded" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
848
|
+
<xs:element name="bufferGrowLimit" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
849
|
+
</xs:choice>
|
850
|
+
<xs:attribute name="bufferSize" type="xs:integer" default="4000">
|
851
|
+
<xs:annotation>
|
852
|
+
<xs:documentation> The number of log events to be buffered. Default value is: 4000</xs:documentation>
|
853
|
+
</xs:annotation>
|
854
|
+
</xs:attribute>
|
855
|
+
<xs:attribute name="growBufferAsNeeded" type="xs:boolean" default="false">
|
856
|
+
<xs:annotation>
|
857
|
+
<xs:documentation> Grow the buffer when it gets full. Default value is: false</xs:documentation>
|
858
|
+
</xs:annotation>
|
859
|
+
</xs:attribute>
|
860
|
+
<xs:attribute name="bufferGrowLimit" type="xs:integer">
|
861
|
+
<xs:annotation>
|
862
|
+
<xs:documentation> The maximum number of log events that the buffer can keep. </xs:documentation>
|
863
|
+
</xs:annotation>
|
864
|
+
</xs:attribute>
|
865
|
+
</xs:extension>
|
866
|
+
</xs:complexContent>
|
867
|
+
</xs:complexType>
|
868
|
+
<xs:complexType name="Console">
|
869
|
+
<xs:complexContent>
|
870
|
+
<xs:extension base="TargetWithLayoutHeaderAndFooter">
|
871
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
872
|
+
<xs:element name="error" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
873
|
+
</xs:choice>
|
874
|
+
<xs:attribute name="error" type="xs:boolean" default="false">
|
875
|
+
<xs:annotation>
|
876
|
+
<xs:documentation> Send the logging messages to the standard error instead of the standard output. Default value is: false</xs:documentation>
|
877
|
+
</xs:annotation>
|
878
|
+
</xs:attribute>
|
879
|
+
</xs:extension>
|
880
|
+
</xs:complexContent>
|
881
|
+
</xs:complexType>
|
882
|
+
<xs:complexType name="ASPResponse">
|
883
|
+
<xs:complexContent>
|
884
|
+
<xs:extension base="TargetWithLayout">
|
885
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
886
|
+
<xs:element name="addComments" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
887
|
+
</xs:choice>
|
888
|
+
<xs:attribute name="addComments" type="xs:boolean">
|
889
|
+
<xs:annotation>
|
890
|
+
<xs:documentation> Add <!-- --> comments around all written texts. </xs:documentation>
|
891
|
+
</xs:annotation>
|
892
|
+
</xs:attribute>
|
893
|
+
</xs:extension>
|
894
|
+
</xs:complexContent>
|
895
|
+
</xs:complexType>
|
896
|
+
<xs:complexType name="PostFilteringWrapper">
|
897
|
+
<xs:complexContent>
|
898
|
+
<xs:extension base="WrapperTargetBase">
|
899
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
900
|
+
<xs:element name="defaultFilter" type="xs:string" minOccurs="0" maxOccurs="1" />
|
901
|
+
<xs:element name="when" type="FilteringRule" minOccurs="0" maxOccurs="unbounded" />
|
902
|
+
</xs:choice>
|
903
|
+
<xs:attribute name="defaultFilter" type="xs:string">
|
904
|
+
<xs:annotation>
|
905
|
+
<xs:documentation> Default filter to be applied when no specific rule matches. </xs:documentation>
|
906
|
+
</xs:annotation>
|
907
|
+
</xs:attribute>
|
908
|
+
</xs:extension>
|
909
|
+
</xs:complexContent>
|
910
|
+
</xs:complexType>
|
911
|
+
<xs:complexType name="FilteringRule">
|
912
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
913
|
+
<xs:element name="exists" type="xs:string" minOccurs="0" maxOccurs="1" />
|
914
|
+
<xs:element name="filter" type="xs:string" minOccurs="0" maxOccurs="1" />
|
915
|
+
</xs:choice>
|
916
|
+
<xs:attribute name="exists" type="NLogCondition">
|
917
|
+
<xs:annotation>
|
918
|
+
<xs:documentation> Condition to be tested. </xs:documentation>
|
919
|
+
</xs:annotation>
|
920
|
+
</xs:attribute>
|
921
|
+
<xs:attribute name="filter" type="NLogCondition">
|
922
|
+
<xs:annotation>
|
923
|
+
<xs:documentation> Resulting filter to be applied when the condition matches. </xs:documentation>
|
924
|
+
</xs:annotation>
|
925
|
+
</xs:attribute>
|
926
|
+
</xs:complexType>
|
927
|
+
<xs:complexType name="RepeatingWrapper">
|
928
|
+
<xs:complexContent>
|
929
|
+
<xs:extension base="WrapperTargetBase">
|
930
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
931
|
+
<xs:element name="repeatCount" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
932
|
+
</xs:choice>
|
933
|
+
<xs:attribute name="repeatCount" type="xs:integer" default="3">
|
934
|
+
<xs:annotation>
|
935
|
+
<xs:documentation> The number of times to repeat each log message. Default value is: 3</xs:documentation>
|
936
|
+
</xs:annotation>
|
937
|
+
</xs:attribute>
|
938
|
+
</xs:extension>
|
939
|
+
</xs:complexContent>
|
940
|
+
</xs:complexType>
|
941
|
+
<xs:complexType name="MessageBox">
|
942
|
+
<xs:complexContent>
|
943
|
+
<xs:extension base="TargetWithLayout">
|
944
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
945
|
+
<xs:element name="caption" type="xs:string" minOccurs="0" maxOccurs="1" />
|
946
|
+
</xs:choice>
|
947
|
+
<xs:attribute name="caption" type="NLogLayout">
|
948
|
+
<xs:annotation>
|
949
|
+
<xs:documentation> Message box title. </xs:documentation>
|
950
|
+
</xs:annotation>
|
951
|
+
</xs:attribute>
|
952
|
+
</xs:extension>
|
953
|
+
</xs:complexContent>
|
954
|
+
</xs:complexType>
|
955
|
+
<xs:complexType name="RichTextBox">
|
956
|
+
<xs:complexContent>
|
957
|
+
<xs:extension base="TargetWithLayout">
|
958
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
959
|
+
<xs:element name="controlName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
960
|
+
<xs:element name="formName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
961
|
+
<xs:element name="useDefaultRowColoringRules" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
962
|
+
<xs:element name="row-coloring" type="RichTextBoxRowColoringRule" minOccurs="0" maxOccurs="unbounded" />
|
963
|
+
<xs:element name="word-coloring" type="RichTextBoxWordColoringRule" minOccurs="0" maxOccurs="unbounded" />
|
964
|
+
</xs:choice>
|
965
|
+
<xs:attribute name="controlName" type="xs:string">
|
966
|
+
<xs:annotation>
|
967
|
+
<xs:documentation> Name of RichTextBox to which Nlog will log </xs:documentation>
|
968
|
+
</xs:annotation>
|
969
|
+
</xs:attribute>
|
970
|
+
<xs:attribute name="formName" type="xs:string">
|
971
|
+
<xs:annotation>
|
972
|
+
<xs:documentation> Name of the Form on which the control is located. If there is no open form of a specified name than NLog will create a new one. </xs:documentation>
|
973
|
+
</xs:annotation>
|
974
|
+
</xs:attribute>
|
975
|
+
<xs:attribute name="useDefaultRowColoringRules" type="xs:boolean" default="false">
|
976
|
+
<xs:annotation>
|
977
|
+
<xs:documentation> Use default coloring rules Default value is: false</xs:documentation>
|
978
|
+
</xs:annotation>
|
979
|
+
</xs:attribute>
|
980
|
+
</xs:extension>
|
981
|
+
</xs:complexContent>
|
982
|
+
</xs:complexType>
|
983
|
+
<xs:complexType name="RichTextBoxRowColoringRule">
|
984
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
985
|
+
<xs:element name="condition" type="xs:string" minOccurs="0" maxOccurs="1" />
|
986
|
+
<xs:element name="fontColor" type="xs:string" minOccurs="0" maxOccurs="1" />
|
987
|
+
<xs:element name="backgroundColor" type="xs:string" minOccurs="0" maxOccurs="1" />
|
988
|
+
<xs:element name="style" type="FontStyle" minOccurs="0" maxOccurs="1" />
|
989
|
+
</xs:choice>
|
990
|
+
<xs:attribute name="condition" type="NLogCondition">
|
991
|
+
<xs:annotation>
|
992
|
+
<xs:documentation> The condition that must be met in order to set the specified font color. </xs:documentation>
|
993
|
+
</xs:annotation>
|
994
|
+
</xs:attribute>
|
995
|
+
<xs:attribute name="fontColor" type="xs:string" default="Empty">
|
996
|
+
<xs:annotation>
|
997
|
+
<xs:documentation> The font color. Names are identical with KnownColor enum extended with Empty value which means that background color won't be changed Default value is: Empty</xs:documentation>
|
998
|
+
</xs:annotation>
|
999
|
+
</xs:attribute>
|
1000
|
+
<xs:attribute name="backgroundColor" type="xs:string" default="Empty">
|
1001
|
+
<xs:annotation>
|
1002
|
+
<xs:documentation> The background color. Names are identical with KnownColor enum extended with Empty value which means that background color won't be changed Background color will be set only in .net 2.0 Default value is: Empty</xs:documentation>
|
1003
|
+
</xs:annotation>
|
1004
|
+
</xs:attribute>
|
1005
|
+
<xs:attribute name="style" type="FontStyle">
|
1006
|
+
<xs:annotation>
|
1007
|
+
<xs:documentation> Font style of matched text. Possible values are the same as in FontStyle enum in System.Drawing</xs:documentation>
|
1008
|
+
</xs:annotation>
|
1009
|
+
</xs:attribute>
|
1010
|
+
</xs:complexType>
|
1011
|
+
<xs:simpleType name="FontStyle">
|
1012
|
+
<xs:restriction base="xs:string">
|
1013
|
+
<xs:enumeration value="Regular" />
|
1014
|
+
<xs:enumeration value="Bold" />
|
1015
|
+
<xs:enumeration value="Italic" />
|
1016
|
+
<xs:enumeration value="Underline" />
|
1017
|
+
<xs:enumeration value="Strikeout" />
|
1018
|
+
</xs:restriction>
|
1019
|
+
</xs:simpleType>
|
1020
|
+
<xs:complexType name="RichTextBoxWordColoringRule">
|
1021
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1022
|
+
<xs:element name="regex" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1023
|
+
<xs:element name="text" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1024
|
+
<xs:element name="style" type="FontStyle" minOccurs="0" maxOccurs="1" />
|
1025
|
+
<xs:element name="wholeWords" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1026
|
+
<xs:element name="ignoreCase" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1027
|
+
<xs:element name="fontColor" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1028
|
+
<xs:element name="backgroundColor" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1029
|
+
</xs:choice>
|
1030
|
+
<xs:attribute name="regex" type="xs:string">
|
1031
|
+
<xs:annotation>
|
1032
|
+
<xs:documentation> The regular expression to be matched. You must specify either text or regex. </xs:documentation>
|
1033
|
+
</xs:annotation>
|
1034
|
+
</xs:attribute>
|
1035
|
+
<xs:attribute name="text" type="xs:string">
|
1036
|
+
<xs:annotation>
|
1037
|
+
<xs:documentation> The text to be matched. You must specify either text or regex. </xs:documentation>
|
1038
|
+
</xs:annotation>
|
1039
|
+
</xs:attribute>
|
1040
|
+
<xs:attribute name="style" type="FontStyle">
|
1041
|
+
<xs:annotation>
|
1042
|
+
<xs:documentation> Font style of matched text. Possible values are the same as in FontStyle enum in System.Drawing</xs:documentation>
|
1043
|
+
</xs:annotation>
|
1044
|
+
</xs:attribute>
|
1045
|
+
<xs:attribute name="wholeWords" type="xs:boolean" default="false">
|
1046
|
+
<xs:annotation>
|
1047
|
+
<xs:documentation> Match whole words only. Default value is: false</xs:documentation>
|
1048
|
+
</xs:annotation>
|
1049
|
+
</xs:attribute>
|
1050
|
+
<xs:attribute name="ignoreCase" type="xs:boolean" default="false">
|
1051
|
+
<xs:annotation>
|
1052
|
+
<xs:documentation> Ignore case when comparing texts. Default value is: false</xs:documentation>
|
1053
|
+
</xs:annotation>
|
1054
|
+
</xs:attribute>
|
1055
|
+
<xs:attribute name="fontColor" type="xs:string" default="Empty">
|
1056
|
+
<xs:annotation>
|
1057
|
+
<xs:documentation> The font color. Names are identical with KnownColor enum extended with Empty value which means that font color won't be changed Default value is: Empty</xs:documentation>
|
1058
|
+
</xs:annotation>
|
1059
|
+
</xs:attribute>
|
1060
|
+
<xs:attribute name="backgroundColor" type="xs:string" default="Empty">
|
1061
|
+
<xs:annotation>
|
1062
|
+
<xs:documentation> The background color. Names are identical with KnownColor enum extended with Empty value which means that background color won't be changed Background color will be set only in .net 2.0 Default value is: Empty</xs:documentation>
|
1063
|
+
</xs:annotation>
|
1064
|
+
</xs:attribute>
|
1065
|
+
</xs:complexType>
|
1066
|
+
<xs:complexType name="Database">
|
1067
|
+
<xs:complexContent>
|
1068
|
+
<xs:extension base="Target">
|
1069
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1070
|
+
<xs:element name="dbProvider" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1071
|
+
<xs:element name="connectionString" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1072
|
+
<xs:element name="keepConnection" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1073
|
+
<xs:element name="useTransactions" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1074
|
+
<xs:element name="dbHost" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1075
|
+
<xs:element name="dbHostLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
1076
|
+
<xs:element name="dbUserName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1077
|
+
<xs:element name="dbUserNameLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
1078
|
+
<xs:element name="dbPassword" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1079
|
+
<xs:element name="dbPasswordLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
1080
|
+
<xs:element name="dbDatabase" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1081
|
+
<xs:element name="dbDatabaseLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
1082
|
+
<xs:element name="commandText" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1083
|
+
<xs:element name="commandTextLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
1084
|
+
<xs:element name="parameter" type="DatabaseParameterInfo" minOccurs="0" maxOccurs="unbounded" />
|
1085
|
+
</xs:choice>
|
1086
|
+
<xs:attribute name="dbProvider" type="xs:string" default="sqlserver">
|
1087
|
+
<xs:annotation>
|
1088
|
+
<xs:documentation> The name of the database provider. It can be: sqlserver, mssql, microsoft, msde (all for MSSQL database), oledb, odbc or other name in which case it's treated as a fully qualified type name of the data provider *Connection class. Default value is: sqlserver</xs:documentation>
|
1089
|
+
</xs:annotation>
|
1090
|
+
</xs:attribute>
|
1091
|
+
<xs:attribute name="connectionString" type="NLogLayout">
|
1092
|
+
<xs:annotation>
|
1093
|
+
<xs:documentation> The connection string. When provided, it overrides the values specified in DBHost, DBUserName, DBPassword, DBDatabase. </xs:documentation>
|
1094
|
+
</xs:annotation>
|
1095
|
+
</xs:attribute>
|
1096
|
+
<xs:attribute name="keepConnection" type="xs:boolean" default="true">
|
1097
|
+
<xs:annotation>
|
1098
|
+
<xs:documentation> Keep the database connection open between the log events. Default value is: true</xs:documentation>
|
1099
|
+
</xs:annotation>
|
1100
|
+
</xs:attribute>
|
1101
|
+
<xs:attribute name="useTransactions" type="xs:boolean" default="false">
|
1102
|
+
<xs:annotation>
|
1103
|
+
<xs:documentation> Use database transactions. Some data providers require this. Default value is: false</xs:documentation>
|
1104
|
+
</xs:annotation>
|
1105
|
+
</xs:attribute>
|
1106
|
+
<xs:attribute name="dbHost" type="NLogLayout">
|
1107
|
+
<xs:annotation>
|
1108
|
+
<xs:documentation> The database host name. If the ConnectionString is not provided this value will be used to construct the "Server=" part of the connection string. </xs:documentation>
|
1109
|
+
</xs:annotation>
|
1110
|
+
</xs:attribute>
|
1111
|
+
<xs:attribute name="dbUserName" type="NLogLayout">
|
1112
|
+
<xs:annotation>
|
1113
|
+
<xs:documentation> The database user name. If the ConnectionString is not provided this value will be used to construct the "User ID=" part of the connection string. </xs:documentation>
|
1114
|
+
</xs:annotation>
|
1115
|
+
</xs:attribute>
|
1116
|
+
<xs:attribute name="dbPassword" type="NLogLayout">
|
1117
|
+
<xs:annotation>
|
1118
|
+
<xs:documentation> The database password. If the ConnectionString is not provided this value will be used to construct the "Password=" part of the connection string. </xs:documentation>
|
1119
|
+
</xs:annotation>
|
1120
|
+
</xs:attribute>
|
1121
|
+
<xs:attribute name="dbDatabase" type="NLogLayout">
|
1122
|
+
<xs:annotation>
|
1123
|
+
<xs:documentation> The database name. If the ConnectionString is not provided this value will be used to construct the "Database=" part of the connection string. </xs:documentation>
|
1124
|
+
</xs:annotation>
|
1125
|
+
</xs:attribute>
|
1126
|
+
<xs:attribute name="commandText" type="NLogLayout">
|
1127
|
+
<xs:annotation>
|
1128
|
+
<xs:documentation> The text of the SQL command to be run on each log level. </xs:documentation>
|
1129
|
+
</xs:annotation>
|
1130
|
+
</xs:attribute>
|
1131
|
+
</xs:extension>
|
1132
|
+
</xs:complexContent>
|
1133
|
+
</xs:complexType>
|
1134
|
+
<xs:complexType name="DatabaseParameterInfo">
|
1135
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1136
|
+
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1137
|
+
<xs:element name="layout" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1138
|
+
<xs:element name="compiledLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
1139
|
+
<xs:element name="size" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
1140
|
+
<xs:element name="precision" type="xs:byte" minOccurs="0" maxOccurs="1" />
|
1141
|
+
<xs:element name="scale" type="xs:byte" minOccurs="0" maxOccurs="1" />
|
1142
|
+
</xs:choice>
|
1143
|
+
<xs:attribute name="name" type="xs:string">
|
1144
|
+
<xs:annotation>
|
1145
|
+
<xs:documentation> Database parameter name. </xs:documentation>
|
1146
|
+
</xs:annotation>
|
1147
|
+
</xs:attribute>
|
1148
|
+
<xs:attribute name="layout" type="NLogLayout">
|
1149
|
+
<xs:annotation>
|
1150
|
+
<xs:documentation> The layout that should be use to calcuate the value for the parameter. </xs:documentation>
|
1151
|
+
</xs:annotation>
|
1152
|
+
</xs:attribute>
|
1153
|
+
<xs:attribute name="size" type="xs:integer" default="0">
|
1154
|
+
<xs:annotation>
|
1155
|
+
<xs:documentation> Database parameter size. Default value is: 0</xs:documentation>
|
1156
|
+
</xs:annotation>
|
1157
|
+
</xs:attribute>
|
1158
|
+
<xs:attribute name="precision" type="xs:byte" default="0">
|
1159
|
+
<xs:annotation>
|
1160
|
+
<xs:documentation> Database parameter precision. Default value is: 0</xs:documentation>
|
1161
|
+
</xs:annotation>
|
1162
|
+
</xs:attribute>
|
1163
|
+
<xs:attribute name="scale" type="xs:byte" default="0">
|
1164
|
+
<xs:annotation>
|
1165
|
+
<xs:documentation> Database parameter scale. Default value is: 0</xs:documentation>
|
1166
|
+
</xs:annotation>
|
1167
|
+
</xs:attribute>
|
1168
|
+
</xs:complexType>
|
1169
|
+
<xs:complexType name="ImpersonatingWrapper">
|
1170
|
+
<xs:complexContent>
|
1171
|
+
<xs:extension base="WrapperTargetBase">
|
1172
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1173
|
+
<xs:element name="username" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1174
|
+
<xs:element name="password" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1175
|
+
<xs:element name="domain" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1176
|
+
<xs:element name="logonType" type="SecurityLogonType" minOccurs="0" maxOccurs="1" />
|
1177
|
+
<xs:element name="logonProvider" type="LogonProviderType" minOccurs="0" maxOccurs="1" />
|
1178
|
+
<xs:element name="impersonationLevel" type="SecurityImpersonationLevel" minOccurs="0" maxOccurs="1" />
|
1179
|
+
<xs:element name="revertToSelf" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1180
|
+
</xs:choice>
|
1181
|
+
<xs:attribute name="username" type="xs:string">
|
1182
|
+
<xs:annotation>
|
1183
|
+
<xs:documentation> Username to change context to </xs:documentation>
|
1184
|
+
</xs:annotation>
|
1185
|
+
</xs:attribute>
|
1186
|
+
<xs:attribute name="password" type="xs:string">
|
1187
|
+
<xs:annotation>
|
1188
|
+
<xs:documentation> Password </xs:documentation>
|
1189
|
+
</xs:annotation>
|
1190
|
+
</xs:attribute>
|
1191
|
+
<xs:attribute name="domain" type="xs:string" default=".">
|
1192
|
+
<xs:annotation>
|
1193
|
+
<xs:documentation> Windows domain name to change context to. Default value is: .</xs:documentation>
|
1194
|
+
</xs:annotation>
|
1195
|
+
</xs:attribute>
|
1196
|
+
<xs:attribute name="logonType" type="SecurityLogonType">
|
1197
|
+
<xs:annotation>
|
1198
|
+
<xs:documentation> Logon Type. </xs:documentation>
|
1199
|
+
</xs:annotation>
|
1200
|
+
</xs:attribute>
|
1201
|
+
<xs:attribute name="logonProvider" type="LogonProviderType">
|
1202
|
+
<xs:annotation>
|
1203
|
+
<xs:documentation> Logon Provider. </xs:documentation>
|
1204
|
+
</xs:annotation>
|
1205
|
+
</xs:attribute>
|
1206
|
+
<xs:attribute name="impersonationLevel" type="SecurityImpersonationLevel">
|
1207
|
+
<xs:annotation>
|
1208
|
+
<xs:documentation> Impersonation level. </xs:documentation>
|
1209
|
+
</xs:annotation>
|
1210
|
+
</xs:attribute>
|
1211
|
+
<xs:attribute name="revertToSelf" type="xs:boolean" default="false">
|
1212
|
+
<xs:annotation>
|
1213
|
+
<xs:documentation> Revert to the credentials of the process instead of impersonating another user. Default value is: false</xs:documentation>
|
1214
|
+
</xs:annotation>
|
1215
|
+
</xs:attribute>
|
1216
|
+
</xs:extension>
|
1217
|
+
</xs:complexContent>
|
1218
|
+
</xs:complexType>
|
1219
|
+
<xs:simpleType name="SecurityLogonType">
|
1220
|
+
<xs:restriction base="xs:string">
|
1221
|
+
<xs:enumeration value="Interactive" />
|
1222
|
+
<xs:enumeration value="Network" />
|
1223
|
+
<xs:enumeration value="Batch" />
|
1224
|
+
<xs:enumeration value="Service" />
|
1225
|
+
<xs:enumeration value="NetworkClearText" />
|
1226
|
+
<xs:enumeration value="NewCredentials" />
|
1227
|
+
</xs:restriction>
|
1228
|
+
</xs:simpleType>
|
1229
|
+
<xs:simpleType name="LogonProviderType">
|
1230
|
+
<xs:restriction base="xs:string">
|
1231
|
+
<xs:enumeration value="Default" />
|
1232
|
+
</xs:restriction>
|
1233
|
+
</xs:simpleType>
|
1234
|
+
<xs:simpleType name="SecurityImpersonationLevel">
|
1235
|
+
<xs:restriction base="xs:string">
|
1236
|
+
<xs:enumeration value="Anonymous" />
|
1237
|
+
<xs:enumeration value="Identification" />
|
1238
|
+
<xs:enumeration value="Impersonation" />
|
1239
|
+
<xs:enumeration value="Delegation" />
|
1240
|
+
</xs:restriction>
|
1241
|
+
</xs:simpleType>
|
1242
|
+
<xs:complexType name="Null">
|
1243
|
+
<xs:complexContent>
|
1244
|
+
<xs:extension base="TargetWithLayout">
|
1245
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1246
|
+
<xs:element name="formatMessage" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1247
|
+
</xs:choice>
|
1248
|
+
<xs:attribute name="formatMessage" type="xs:boolean" default="false">
|
1249
|
+
<xs:annotation>
|
1250
|
+
<xs:documentation> Perform layout calculation. Default value is: false</xs:documentation>
|
1251
|
+
</xs:annotation>
|
1252
|
+
</xs:attribute>
|
1253
|
+
</xs:extension>
|
1254
|
+
</xs:complexContent>
|
1255
|
+
</xs:complexType>
|
1256
|
+
<xs:complexType name="Trace">
|
1257
|
+
<xs:complexContent>
|
1258
|
+
<xs:extension base="TargetWithLayout">
|
1259
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
1260
|
+
</xs:extension>
|
1261
|
+
</xs:complexContent>
|
1262
|
+
</xs:complexType>
|
1263
|
+
<xs:complexType name="Chainsaw">
|
1264
|
+
<xs:complexContent>
|
1265
|
+
<xs:extension base="NLogViewer">
|
1266
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
1267
|
+
</xs:extension>
|
1268
|
+
</xs:complexContent>
|
1269
|
+
</xs:complexType>
|
1270
|
+
<xs:complexType name="NLogViewer">
|
1271
|
+
<xs:complexContent>
|
1272
|
+
<xs:extension base="Network">
|
1273
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1274
|
+
<xs:element name="includeNLogData" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1275
|
+
<xs:element name="appInfo" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1276
|
+
<xs:element name="includeCallSite" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1277
|
+
<xs:element name="includeSourceInfo" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1278
|
+
<xs:element name="includeMDC" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1279
|
+
<xs:element name="includeNDC" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1280
|
+
<xs:element name="parameter" type="NLogViewerParameterInfo" minOccurs="0" maxOccurs="unbounded" />
|
1281
|
+
</xs:choice>
|
1282
|
+
<xs:attribute name="includeNLogData" type="xs:boolean">
|
1283
|
+
<xs:annotation>
|
1284
|
+
<xs:documentation> Include NLog-specific extensions to log4j schema. </xs:documentation>
|
1285
|
+
</xs:annotation>
|
1286
|
+
</xs:attribute>
|
1287
|
+
<xs:attribute name="appInfo" type="xs:string">
|
1288
|
+
<xs:annotation>
|
1289
|
+
<xs:documentation> The AppInfo field. By default it's the friendly name of the current AppDomain. </xs:documentation>
|
1290
|
+
</xs:annotation>
|
1291
|
+
</xs:attribute>
|
1292
|
+
<xs:attribute name="includeCallSite" type="xs:boolean">
|
1293
|
+
<xs:annotation>
|
1294
|
+
<xs:documentation> Include call site (class and method name) in the information sent over the network. </xs:documentation>
|
1295
|
+
</xs:annotation>
|
1296
|
+
</xs:attribute>
|
1297
|
+
<xs:attribute name="includeSourceInfo" type="xs:boolean">
|
1298
|
+
<xs:annotation>
|
1299
|
+
<xs:documentation> Include source info (file name and line number) in the information sent over the network. </xs:documentation>
|
1300
|
+
</xs:annotation>
|
1301
|
+
</xs:attribute>
|
1302
|
+
<xs:attribute name="includeMDC" type="xs:boolean">
|
1303
|
+
<xs:annotation>
|
1304
|
+
<xs:documentation> Include MDC dictionary in the information sent over the network. </xs:documentation>
|
1305
|
+
</xs:annotation>
|
1306
|
+
</xs:attribute>
|
1307
|
+
<xs:attribute name="includeNDC" type="xs:boolean">
|
1308
|
+
<xs:annotation>
|
1309
|
+
<xs:documentation> Include NDC stack. </xs:documentation>
|
1310
|
+
</xs:annotation>
|
1311
|
+
</xs:attribute>
|
1312
|
+
</xs:extension>
|
1313
|
+
</xs:complexContent>
|
1314
|
+
</xs:complexType>
|
1315
|
+
<xs:complexType name="Network">
|
1316
|
+
<xs:complexContent>
|
1317
|
+
<xs:extension base="TargetWithLayout">
|
1318
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1319
|
+
<xs:element name="address" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1320
|
+
<xs:element name="addressLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
1321
|
+
<xs:element name="keepConnection" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1322
|
+
<xs:element name="newLine" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1323
|
+
<xs:element name="maxMessageSize" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
1324
|
+
<xs:element name="onOverflow" type="OverflowAction" minOccurs="0" maxOccurs="1" />
|
1325
|
+
<xs:element name="encoding" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1326
|
+
</xs:choice>
|
1327
|
+
<xs:attribute name="address" type="xs:string">
|
1328
|
+
<xs:annotation>
|
1329
|
+
<xs:documentation> The network address. Can be tcp://host:port or udp://host:port </xs:documentation>
|
1330
|
+
</xs:annotation>
|
1331
|
+
</xs:attribute>
|
1332
|
+
<xs:attribute name="keepConnection" type="xs:boolean" default="true">
|
1333
|
+
<xs:annotation>
|
1334
|
+
<xs:documentation> Keep connection open whenever possible. Default value is: true</xs:documentation>
|
1335
|
+
</xs:annotation>
|
1336
|
+
</xs:attribute>
|
1337
|
+
<xs:attribute name="newLine" type="xs:boolean" default="false">
|
1338
|
+
<xs:annotation>
|
1339
|
+
<xs:documentation> Append newline at the end of log message. Default value is: false</xs:documentation>
|
1340
|
+
</xs:annotation>
|
1341
|
+
</xs:attribute>
|
1342
|
+
<xs:attribute name="maxMessageSize" type="xs:integer" default="65000">
|
1343
|
+
<xs:annotation>
|
1344
|
+
<xs:documentation> Maximum message size in bytes. Default value is: 65000</xs:documentation>
|
1345
|
+
</xs:annotation>
|
1346
|
+
</xs:attribute>
|
1347
|
+
<xs:attribute name="onOverflow" type="OverflowAction">
|
1348
|
+
<xs:annotation>
|
1349
|
+
<xs:documentation> Action that should be taken if the message is larger than maxMessageSize </xs:documentation>
|
1350
|
+
</xs:annotation>
|
1351
|
+
</xs:attribute>
|
1352
|
+
<xs:attribute name="encoding" type="xs:string" default="utf-8">
|
1353
|
+
<xs:annotation>
|
1354
|
+
<xs:documentation> Encoding Default value is: utf-8</xs:documentation>
|
1355
|
+
</xs:annotation>
|
1356
|
+
</xs:attribute>
|
1357
|
+
</xs:extension>
|
1358
|
+
</xs:complexContent>
|
1359
|
+
</xs:complexType>
|
1360
|
+
<xs:simpleType name="OverflowAction">
|
1361
|
+
<xs:restriction base="xs:string">
|
1362
|
+
<xs:enumeration value="Error" />
|
1363
|
+
<xs:enumeration value="Split" />
|
1364
|
+
<xs:enumeration value="Discard" />
|
1365
|
+
</xs:restriction>
|
1366
|
+
</xs:simpleType>
|
1367
|
+
<xs:complexType name="NLogViewerParameterInfo">
|
1368
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1369
|
+
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1370
|
+
<xs:element name="layout" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1371
|
+
<xs:element name="compiledLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
1372
|
+
</xs:choice>
|
1373
|
+
<xs:attribute name="name" type="xs:string">
|
1374
|
+
<xs:annotation>
|
1375
|
+
<xs:documentation> Viewer parameter name. </xs:documentation>
|
1376
|
+
</xs:annotation>
|
1377
|
+
</xs:attribute>
|
1378
|
+
<xs:attribute name="layout" type="NLogLayout">
|
1379
|
+
<xs:annotation>
|
1380
|
+
<xs:documentation> The layout that should be use to calcuate the value for the parameter. </xs:documentation>
|
1381
|
+
</xs:annotation>
|
1382
|
+
</xs:attribute>
|
1383
|
+
</xs:complexType>
|
1384
|
+
<xs:complexType name="Debug">
|
1385
|
+
<xs:complexContent>
|
1386
|
+
<xs:extension base="TargetWithLayout">
|
1387
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
1388
|
+
</xs:extension>
|
1389
|
+
</xs:complexContent>
|
1390
|
+
</xs:complexType>
|
1391
|
+
<xs:complexType name="FormControl">
|
1392
|
+
<xs:complexContent>
|
1393
|
+
<xs:extension base="TargetWithLayout">
|
1394
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1395
|
+
<xs:element name="controlName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1396
|
+
<xs:element name="append" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1397
|
+
<xs:element name="formName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1398
|
+
</xs:choice>
|
1399
|
+
<xs:attribute name="controlName" type="xs:string">
|
1400
|
+
<xs:annotation>
|
1401
|
+
<xs:documentation> Name of control to which Nlog will log </xs:documentation>
|
1402
|
+
</xs:annotation>
|
1403
|
+
</xs:attribute>
|
1404
|
+
<xs:attribute name="append" type="xs:boolean">
|
1405
|
+
<xs:annotation>
|
1406
|
+
<xs:documentation> Setting to tell to append or overwrite the Text property of control </xs:documentation>
|
1407
|
+
</xs:annotation>
|
1408
|
+
</xs:attribute>
|
1409
|
+
<xs:attribute name="formName" type="xs:string">
|
1410
|
+
<xs:annotation>
|
1411
|
+
<xs:documentation> Name of the Form on which the control is located. </xs:documentation>
|
1412
|
+
</xs:annotation>
|
1413
|
+
</xs:attribute>
|
1414
|
+
</xs:extension>
|
1415
|
+
</xs:complexContent>
|
1416
|
+
</xs:complexType>
|
1417
|
+
<xs:complexType name="ASPNetTrace">
|
1418
|
+
<xs:complexContent>
|
1419
|
+
<xs:extension base="TargetWithLayout">
|
1420
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
1421
|
+
</xs:extension>
|
1422
|
+
</xs:complexContent>
|
1423
|
+
</xs:complexType>
|
1424
|
+
<xs:complexType name="Mail">
|
1425
|
+
<xs:complexContent>
|
1426
|
+
<xs:extension base="TargetWithLayoutHeaderAndFooter">
|
1427
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1428
|
+
<xs:element name="from" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1429
|
+
<xs:element name="to" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1430
|
+
<xs:element name="cc" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1431
|
+
<xs:element name="bcc" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1432
|
+
<xs:element name="addNewLines" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1433
|
+
<xs:element name="subject" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1434
|
+
<xs:element name="body" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1435
|
+
<xs:element name="encoding" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1436
|
+
<xs:element name="html" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1437
|
+
<xs:element name="smtpServer" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1438
|
+
<xs:element name="smtpAuthentication" type="SmtpAuthenticationMode" minOccurs="0" maxOccurs="1" />
|
1439
|
+
<xs:element name="smtpUsername" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1440
|
+
<xs:element name="smtpPassword" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1441
|
+
<xs:element name="smtpPort" type="xs:integer" minOccurs="0" maxOccurs="1" />
|
1442
|
+
</xs:choice>
|
1443
|
+
<xs:attribute name="from" type="xs:string">
|
1444
|
+
<xs:annotation>
|
1445
|
+
<xs:documentation> Sender's email address (e.g. joe@domain.com) </xs:documentation>
|
1446
|
+
</xs:annotation>
|
1447
|
+
</xs:attribute>
|
1448
|
+
<xs:attribute name="to" type="xs:string">
|
1449
|
+
<xs:annotation>
|
1450
|
+
<xs:documentation> Recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com) </xs:documentation>
|
1451
|
+
</xs:annotation>
|
1452
|
+
</xs:attribute>
|
1453
|
+
<xs:attribute name="cc" type="xs:string">
|
1454
|
+
<xs:annotation>
|
1455
|
+
<xs:documentation> CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com) </xs:documentation>
|
1456
|
+
</xs:annotation>
|
1457
|
+
</xs:attribute>
|
1458
|
+
<xs:attribute name="bcc" type="xs:string">
|
1459
|
+
<xs:annotation>
|
1460
|
+
<xs:documentation> BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com) </xs:documentation>
|
1461
|
+
</xs:annotation>
|
1462
|
+
</xs:attribute>
|
1463
|
+
<xs:attribute name="addNewLines" type="xs:boolean">
|
1464
|
+
<xs:annotation>
|
1465
|
+
<xs:documentation> Whether to add new lines between log entries. </xs:documentation>
|
1466
|
+
</xs:annotation>
|
1467
|
+
</xs:attribute>
|
1468
|
+
<xs:attribute name="subject" type="xs:string" default="Message from NLog on ${machinename}">
|
1469
|
+
<xs:annotation>
|
1470
|
+
<xs:documentation> Mail subject. Default value is: Message from NLog on ${machinename}</xs:documentation>
|
1471
|
+
</xs:annotation>
|
1472
|
+
</xs:attribute>
|
1473
|
+
<xs:attribute name="body" type="xs:string" default="${message}">
|
1474
|
+
<xs:annotation>
|
1475
|
+
<xs:documentation> Mail message body (repeated for each log message send in one mail) Default value is: ${message}</xs:documentation>
|
1476
|
+
</xs:annotation>
|
1477
|
+
</xs:attribute>
|
1478
|
+
<xs:attribute name="encoding" type="xs:string" default="UTF8">
|
1479
|
+
<xs:annotation>
|
1480
|
+
<xs:documentation> Encoding to be used for sending e-mail. Default value is: UTF8</xs:documentation>
|
1481
|
+
</xs:annotation>
|
1482
|
+
</xs:attribute>
|
1483
|
+
<xs:attribute name="html" type="xs:boolean" default="false">
|
1484
|
+
<xs:annotation>
|
1485
|
+
<xs:documentation> Send message as HTML instead of plain text. Default value is: false</xs:documentation>
|
1486
|
+
</xs:annotation>
|
1487
|
+
</xs:attribute>
|
1488
|
+
<xs:attribute name="smtpServer" type="xs:string">
|
1489
|
+
<xs:annotation>
|
1490
|
+
<xs:documentation> SMTP Server to be used for sending. </xs:documentation>
|
1491
|
+
</xs:annotation>
|
1492
|
+
</xs:attribute>
|
1493
|
+
<xs:attribute name="smtpAuthentication" type="SmtpAuthenticationMode" default="None">
|
1494
|
+
<xs:annotation>
|
1495
|
+
<xs:documentation> SMTP Authentication mode. Default value is: None</xs:documentation>
|
1496
|
+
</xs:annotation>
|
1497
|
+
</xs:attribute>
|
1498
|
+
<xs:attribute name="smtpUsername" type="xs:string">
|
1499
|
+
<xs:annotation>
|
1500
|
+
<xs:documentation> The username used to connect to SMTP server (used when SmtpAuthentication is set to "basic"). </xs:documentation>
|
1501
|
+
</xs:annotation>
|
1502
|
+
</xs:attribute>
|
1503
|
+
<xs:attribute name="smtpPassword" type="xs:string">
|
1504
|
+
<xs:annotation>
|
1505
|
+
<xs:documentation> The password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic"). </xs:documentation>
|
1506
|
+
</xs:annotation>
|
1507
|
+
</xs:attribute>
|
1508
|
+
<xs:attribute name="smtpPort" type="xs:integer" default="25">
|
1509
|
+
<xs:annotation>
|
1510
|
+
<xs:documentation> The port that SMTP Server is listening on. Default value is: 25</xs:documentation>
|
1511
|
+
</xs:annotation>
|
1512
|
+
</xs:attribute>
|
1513
|
+
</xs:extension>
|
1514
|
+
</xs:complexContent>
|
1515
|
+
</xs:complexType>
|
1516
|
+
<xs:simpleType name="SmtpAuthenticationMode">
|
1517
|
+
<xs:restriction base="xs:string">
|
1518
|
+
<xs:enumeration value="None" />
|
1519
|
+
<xs:enumeration value="Basic" />
|
1520
|
+
<xs:enumeration value="Ntlm" />
|
1521
|
+
</xs:restriction>
|
1522
|
+
</xs:simpleType>
|
1523
|
+
<xs:complexType name="OutputDebugString">
|
1524
|
+
<xs:complexContent>
|
1525
|
+
<xs:extension base="TargetWithLayout">
|
1526
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
1527
|
+
</xs:extension>
|
1528
|
+
</xs:complexContent>
|
1529
|
+
</xs:complexType>
|
1530
|
+
<xs:complexType name="RandomizeGroup">
|
1531
|
+
<xs:complexContent>
|
1532
|
+
<xs:extension base="CompoundTargetBase">
|
1533
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
1534
|
+
</xs:extension>
|
1535
|
+
</xs:complexContent>
|
1536
|
+
</xs:complexType>
|
1537
|
+
<xs:complexType name="EventLog">
|
1538
|
+
<xs:complexContent>
|
1539
|
+
<xs:extension base="TargetWithLayout">
|
1540
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1541
|
+
<xs:element name="machineName" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1542
|
+
<xs:element name="eventID" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1543
|
+
<xs:element name="category" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1544
|
+
<xs:element name="source" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1545
|
+
<xs:element name="log" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1546
|
+
</xs:choice>
|
1547
|
+
<xs:attribute name="machineName" type="xs:string" default=".">
|
1548
|
+
<xs:annotation>
|
1549
|
+
<xs:documentation> Machine name on which Event Log service is running. Default value is: .</xs:documentation>
|
1550
|
+
</xs:annotation>
|
1551
|
+
</xs:attribute>
|
1552
|
+
<xs:attribute name="eventID" type="NLogLayout">
|
1553
|
+
<xs:annotation>
|
1554
|
+
<xs:documentation> Layout that renders event ID. </xs:documentation>
|
1555
|
+
</xs:annotation>
|
1556
|
+
</xs:attribute>
|
1557
|
+
<xs:attribute name="category" type="NLogLayout">
|
1558
|
+
<xs:annotation>
|
1559
|
+
<xs:documentation> Layout that renders event Category. </xs:documentation>
|
1560
|
+
</xs:annotation>
|
1561
|
+
</xs:attribute>
|
1562
|
+
<xs:attribute name="source" type="xs:string">
|
1563
|
+
<xs:annotation>
|
1564
|
+
<xs:documentation> The value to be used as the event Source. </xs:documentation>
|
1565
|
+
</xs:annotation>
|
1566
|
+
</xs:attribute>
|
1567
|
+
<xs:attribute name="log" type="xs:string" default="Application">
|
1568
|
+
<xs:annotation>
|
1569
|
+
<xs:documentation> Name of the Event Log to write to. This can be System, Application or any user-defined name. Default value is: Application</xs:documentation>
|
1570
|
+
</xs:annotation>
|
1571
|
+
</xs:attribute>
|
1572
|
+
</xs:extension>
|
1573
|
+
</xs:complexContent>
|
1574
|
+
</xs:complexType>
|
1575
|
+
<xs:complexType name="MSMQ">
|
1576
|
+
<xs:complexContent>
|
1577
|
+
<xs:extension base="TargetWithLayout">
|
1578
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1579
|
+
<xs:element name="queue" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1580
|
+
<xs:element name="label" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1581
|
+
<xs:element name="createQueueIfNotExists" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1582
|
+
<xs:element name="encoding" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1583
|
+
<xs:element name="useXmlEncoding" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1584
|
+
<xs:element name="recoverable" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1585
|
+
</xs:choice>
|
1586
|
+
<xs:attribute name="queue" type="NLogLayout">
|
1587
|
+
<xs:annotation>
|
1588
|
+
<xs:documentation> Name of the queue to write to. </xs:documentation>
|
1589
|
+
</xs:annotation>
|
1590
|
+
</xs:attribute>
|
1591
|
+
<xs:attribute name="label" type="NLogLayout" default="NLog">
|
1592
|
+
<xs:annotation>
|
1593
|
+
<xs:documentation> The label to associate with each message. Default value is: NLog</xs:documentation>
|
1594
|
+
</xs:annotation>
|
1595
|
+
</xs:attribute>
|
1596
|
+
<xs:attribute name="createQueueIfNotExists" type="xs:boolean" default="false">
|
1597
|
+
<xs:annotation>
|
1598
|
+
<xs:documentation> Create the queue if it doesn't exists. Default value is: false</xs:documentation>
|
1599
|
+
</xs:annotation>
|
1600
|
+
</xs:attribute>
|
1601
|
+
<xs:attribute name="encoding" type="xs:string">
|
1602
|
+
<xs:annotation>
|
1603
|
+
<xs:documentation> Encoding to be used when writing text to the queue. </xs:documentation>
|
1604
|
+
</xs:annotation>
|
1605
|
+
</xs:attribute>
|
1606
|
+
<xs:attribute name="useXmlEncoding" type="xs:boolean" default="false">
|
1607
|
+
<xs:annotation>
|
1608
|
+
<xs:documentation> Use the XML format when serializing message. Default value is: false</xs:documentation>
|
1609
|
+
</xs:annotation>
|
1610
|
+
</xs:attribute>
|
1611
|
+
<xs:attribute name="recoverable" type="xs:boolean" default="false">
|
1612
|
+
<xs:annotation>
|
1613
|
+
<xs:documentation> Use recoverable messages (with guaranteed delivery). Default value is: false</xs:documentation>
|
1614
|
+
</xs:annotation>
|
1615
|
+
</xs:attribute>
|
1616
|
+
</xs:extension>
|
1617
|
+
</xs:complexContent>
|
1618
|
+
</xs:complexType>
|
1619
|
+
<xs:complexType name="Memory">
|
1620
|
+
<xs:complexContent>
|
1621
|
+
<xs:extension base="TargetWithLayout">
|
1622
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
1623
|
+
</xs:extension>
|
1624
|
+
</xs:complexContent>
|
1625
|
+
</xs:complexType>
|
1626
|
+
<xs:complexType name="Debugger">
|
1627
|
+
<xs:complexContent>
|
1628
|
+
<xs:extension base="TargetWithLayoutHeaderAndFooter">
|
1629
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
1630
|
+
</xs:extension>
|
1631
|
+
</xs:complexContent>
|
1632
|
+
</xs:complexType>
|
1633
|
+
<xs:complexType name="WhenNotContainsFilter">
|
1634
|
+
<xs:complexContent>
|
1635
|
+
<xs:extension base="LayoutBasedFilter">
|
1636
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1637
|
+
<xs:element name="substring" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1638
|
+
<xs:element name="ignoreCase" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1639
|
+
</xs:choice>
|
1640
|
+
<xs:attribute name="substring" type="xs:string">
|
1641
|
+
<xs:annotation>
|
1642
|
+
<xs:documentation> Substring to be matched. </xs:documentation>
|
1643
|
+
</xs:annotation>
|
1644
|
+
</xs:attribute>
|
1645
|
+
<xs:attribute name="ignoreCase" type="xs:boolean" default="false">
|
1646
|
+
<xs:annotation>
|
1647
|
+
<xs:documentation> Ignore case when comparing strings. Default value is: false</xs:documentation>
|
1648
|
+
</xs:annotation>
|
1649
|
+
</xs:attribute>
|
1650
|
+
</xs:extension>
|
1651
|
+
</xs:complexContent>
|
1652
|
+
</xs:complexType>
|
1653
|
+
<xs:complexType name="LayoutBasedFilter" abstract="true">
|
1654
|
+
<xs:complexContent>
|
1655
|
+
<xs:extension base="Filter">
|
1656
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1657
|
+
<xs:element name="layout" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1658
|
+
</xs:choice>
|
1659
|
+
<xs:attribute name="layout" type="xs:string">
|
1660
|
+
<xs:annotation>
|
1661
|
+
<xs:documentation> The layout text; </xs:documentation>
|
1662
|
+
</xs:annotation>
|
1663
|
+
</xs:attribute>
|
1664
|
+
</xs:extension>
|
1665
|
+
</xs:complexContent>
|
1666
|
+
</xs:complexType>
|
1667
|
+
<xs:complexType name="Filter" abstract="true">
|
1668
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1669
|
+
<xs:element name="action" type="FilterResult" minOccurs="0" maxOccurs="1" />
|
1670
|
+
</xs:choice>
|
1671
|
+
<xs:attribute name="action" type="FilterResult">
|
1672
|
+
<xs:annotation>
|
1673
|
+
<xs:documentation> User-requested action to be taken when filter matches. </xs:documentation>
|
1674
|
+
</xs:annotation>
|
1675
|
+
</xs:attribute>
|
1676
|
+
</xs:complexType>
|
1677
|
+
<xs:simpleType name="FilterResult">
|
1678
|
+
<xs:restriction base="xs:string">
|
1679
|
+
<xs:enumeration value="Neutral" />
|
1680
|
+
<xs:enumeration value="Log" />
|
1681
|
+
<xs:enumeration value="Ignore" />
|
1682
|
+
<xs:enumeration value="LogFinal" />
|
1683
|
+
<xs:enumeration value="IgnoreFinal" />
|
1684
|
+
</xs:restriction>
|
1685
|
+
</xs:simpleType>
|
1686
|
+
<xs:complexType name="WhenEqualFilter">
|
1687
|
+
<xs:complexContent>
|
1688
|
+
<xs:extension base="LayoutBasedFilter">
|
1689
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1690
|
+
<xs:element name="ignoreCase" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1691
|
+
<xs:element name="compareTo" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1692
|
+
</xs:choice>
|
1693
|
+
<xs:attribute name="ignoreCase" type="xs:boolean" default="false">
|
1694
|
+
<xs:annotation>
|
1695
|
+
<xs:documentation> Ignore case when comparing strings. Default value is: false</xs:documentation>
|
1696
|
+
</xs:annotation>
|
1697
|
+
</xs:attribute>
|
1698
|
+
<xs:attribute name="compareTo" type="xs:string">
|
1699
|
+
<xs:annotation>
|
1700
|
+
<xs:documentation> String to compare the layout to. </xs:documentation>
|
1701
|
+
</xs:annotation>
|
1702
|
+
</xs:attribute>
|
1703
|
+
</xs:extension>
|
1704
|
+
</xs:complexContent>
|
1705
|
+
</xs:complexType>
|
1706
|
+
<xs:complexType name="WhenContainsFilter">
|
1707
|
+
<xs:complexContent>
|
1708
|
+
<xs:extension base="LayoutBasedFilter">
|
1709
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1710
|
+
<xs:element name="ignoreCase" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1711
|
+
<xs:element name="substring" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1712
|
+
</xs:choice>
|
1713
|
+
<xs:attribute name="ignoreCase" type="xs:boolean" default="false">
|
1714
|
+
<xs:annotation>
|
1715
|
+
<xs:documentation> Ignore case when comparing strings. Default value is: false</xs:documentation>
|
1716
|
+
</xs:annotation>
|
1717
|
+
</xs:attribute>
|
1718
|
+
<xs:attribute name="substring" type="xs:string">
|
1719
|
+
<xs:annotation>
|
1720
|
+
<xs:documentation> Substring to be matched. </xs:documentation>
|
1721
|
+
</xs:annotation>
|
1722
|
+
</xs:attribute>
|
1723
|
+
</xs:extension>
|
1724
|
+
</xs:complexContent>
|
1725
|
+
</xs:complexType>
|
1726
|
+
<xs:complexType name="WhenNotEqualFilter">
|
1727
|
+
<xs:complexContent>
|
1728
|
+
<xs:extension base="LayoutBasedFilter">
|
1729
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1730
|
+
<xs:element name="compareTo" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1731
|
+
<xs:element name="ignoreCase" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1732
|
+
</xs:choice>
|
1733
|
+
<xs:attribute name="compareTo" type="xs:string">
|
1734
|
+
<xs:annotation>
|
1735
|
+
<xs:documentation> String to compare the layout to. </xs:documentation>
|
1736
|
+
</xs:annotation>
|
1737
|
+
</xs:attribute>
|
1738
|
+
<xs:attribute name="ignoreCase" type="xs:boolean" default="false">
|
1739
|
+
<xs:annotation>
|
1740
|
+
<xs:documentation> Ignore case when comparing strings. Default value is: false</xs:documentation>
|
1741
|
+
</xs:annotation>
|
1742
|
+
</xs:attribute>
|
1743
|
+
</xs:extension>
|
1744
|
+
</xs:complexContent>
|
1745
|
+
</xs:complexType>
|
1746
|
+
<xs:complexType name="ConditionBasedFilter">
|
1747
|
+
<xs:complexContent>
|
1748
|
+
<xs:extension base="Filter">
|
1749
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1750
|
+
<xs:element name="condition" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1751
|
+
</xs:choice>
|
1752
|
+
<xs:attribute name="condition" type="xs:string">
|
1753
|
+
<xs:annotation>
|
1754
|
+
<xs:documentation> The condition expression. </xs:documentation>
|
1755
|
+
</xs:annotation>
|
1756
|
+
</xs:attribute>
|
1757
|
+
</xs:extension>
|
1758
|
+
</xs:complexContent>
|
1759
|
+
</xs:complexType>
|
1760
|
+
<xs:complexType name="SimpleLayout">
|
1761
|
+
<xs:complexContent>
|
1762
|
+
<xs:extension base="ILayout">
|
1763
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1764
|
+
<xs:element name="text" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1765
|
+
</xs:choice>
|
1766
|
+
<xs:attribute name="text" type="NLogLayout">
|
1767
|
+
<xs:annotation>
|
1768
|
+
<xs:documentation> The layout text </xs:documentation>
|
1769
|
+
</xs:annotation>
|
1770
|
+
</xs:attribute>
|
1771
|
+
</xs:extension>
|
1772
|
+
</xs:complexContent>
|
1773
|
+
</xs:complexType>
|
1774
|
+
<xs:complexType name="LayoutWithHeaderAndFooter">
|
1775
|
+
<xs:complexContent>
|
1776
|
+
<xs:extension base="ILayout">
|
1777
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1778
|
+
<xs:element name="layout" type="ILayout" minOccurs="0" maxOccurs="1" />
|
1779
|
+
<xs:element name="header" type="ILayout" minOccurs="0" maxOccurs="1" />
|
1780
|
+
<xs:element name="footer" type="ILayout" minOccurs="0" maxOccurs="1" />
|
1781
|
+
</xs:choice>
|
1782
|
+
</xs:extension>
|
1783
|
+
</xs:complexContent>
|
1784
|
+
</xs:complexType>
|
1785
|
+
<xs:complexType name="Log4JXmlEventLayout">
|
1786
|
+
<xs:complexContent>
|
1787
|
+
<xs:extension base="ILayout">
|
1788
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded" />
|
1789
|
+
</xs:extension>
|
1790
|
+
</xs:complexContent>
|
1791
|
+
</xs:complexType>
|
1792
|
+
<xs:complexType name="CSVLayout">
|
1793
|
+
<xs:complexContent>
|
1794
|
+
<xs:extension base="ILayout">
|
1795
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1796
|
+
<xs:element name="column" type="CsvColumn" minOccurs="0" maxOccurs="unbounded" />
|
1797
|
+
<xs:element name="withHeader" type="xs:boolean" minOccurs="0" maxOccurs="1" />
|
1798
|
+
<xs:element name="delimiter" type="ColumnDelimiterMode" minOccurs="0" maxOccurs="1" />
|
1799
|
+
<xs:element name="quoting" type="CsvQuotingMode" minOccurs="0" maxOccurs="1" />
|
1800
|
+
<xs:element name="quoteChar" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1801
|
+
<xs:element name="customColumnDelimiter" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1802
|
+
<xs:element name="layout" type="ILayout" minOccurs="0" maxOccurs="1" />
|
1803
|
+
<xs:element name="header" type="ILayout" minOccurs="0" maxOccurs="1" />
|
1804
|
+
<xs:element name="footer" type="ILayout" minOccurs="0" maxOccurs="1" />
|
1805
|
+
</xs:choice>
|
1806
|
+
<xs:attribute name="withHeader" type="xs:boolean">
|
1807
|
+
<xs:annotation>
|
1808
|
+
<xs:documentation> Whether CVS should include header. </xs:documentation>
|
1809
|
+
</xs:annotation>
|
1810
|
+
</xs:attribute>
|
1811
|
+
<xs:attribute name="delimiter" type="ColumnDelimiterMode" default="Auto">
|
1812
|
+
<xs:annotation>
|
1813
|
+
<xs:documentation> Column delimiter. Default value is: Auto</xs:documentation>
|
1814
|
+
</xs:annotation>
|
1815
|
+
</xs:attribute>
|
1816
|
+
<xs:attribute name="quoting" type="CsvQuotingMode">
|
1817
|
+
<xs:annotation>
|
1818
|
+
<xs:documentation> Quoting mode. </xs:documentation>
|
1819
|
+
</xs:annotation>
|
1820
|
+
</xs:attribute>
|
1821
|
+
<xs:attribute name="quoteChar" type="xs:string" default=""">
|
1822
|
+
<xs:annotation>
|
1823
|
+
<xs:documentation> Quote Character Default value is: "</xs:documentation>
|
1824
|
+
</xs:annotation>
|
1825
|
+
</xs:attribute>
|
1826
|
+
<xs:attribute name="customColumnDelimiter" type="xs:string">
|
1827
|
+
<xs:annotation>
|
1828
|
+
<xs:documentation> Custom column delimiter value (valid when ColumnDelimiter is set to 'Custom') </xs:documentation>
|
1829
|
+
</xs:annotation>
|
1830
|
+
</xs:attribute>
|
1831
|
+
</xs:extension>
|
1832
|
+
</xs:complexContent>
|
1833
|
+
</xs:complexType>
|
1834
|
+
<xs:complexType name="CsvColumn">
|
1835
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1836
|
+
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1837
|
+
<xs:element name="layout" type="xs:string" minOccurs="0" maxOccurs="1" />
|
1838
|
+
<xs:element name="compiledLayout" type="SimpleLayout" minOccurs="0" maxOccurs="1" />
|
1839
|
+
</xs:choice>
|
1840
|
+
<xs:attribute name="name" type="xs:string">
|
1841
|
+
<xs:annotation>
|
1842
|
+
<xs:documentation> The name of the column. </xs:documentation>
|
1843
|
+
</xs:annotation>
|
1844
|
+
</xs:attribute>
|
1845
|
+
<xs:attribute name="layout" type="NLogLayout">
|
1846
|
+
<xs:annotation>
|
1847
|
+
<xs:documentation> The layout that should be written in the column. </xs:documentation>
|
1848
|
+
</xs:annotation>
|
1849
|
+
</xs:attribute>
|
1850
|
+
</xs:complexType>
|
1851
|
+
<xs:simpleType name="ColumnDelimiterMode">
|
1852
|
+
<xs:restriction base="xs:string">
|
1853
|
+
<xs:enumeration value="Auto" />
|
1854
|
+
<xs:enumeration value="Comma" />
|
1855
|
+
<xs:enumeration value="Semicolon" />
|
1856
|
+
<xs:enumeration value="Tab" />
|
1857
|
+
<xs:enumeration value="Pipe" />
|
1858
|
+
<xs:enumeration value="Space" />
|
1859
|
+
<xs:enumeration value="Custom" />
|
1860
|
+
</xs:restriction>
|
1861
|
+
</xs:simpleType>
|
1862
|
+
<xs:simpleType name="CsvQuotingMode">
|
1863
|
+
<xs:restriction base="xs:string">
|
1864
|
+
<xs:enumeration value="All" />
|
1865
|
+
<xs:enumeration value="Nothing" />
|
1866
|
+
<xs:enumeration value="Auto" />
|
1867
|
+
</xs:restriction>
|
1868
|
+
</xs:simpleType>
|
1869
|
+
</xs:schema>
|