comparison Stocks/Stocks.Service/NLog.xsd @ 0:e5d46bb6cdb0

Initial commit
author adminSH stevenhollidge@hotmail.com
date Mon, 20 Feb 2012 13:52:35 +0700
parents
children 399398841fd0
comparison
equal deleted inserted replaced
-1:000000000000 0:e5d46bb6cdb0
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:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.nlog-project.org/schemas/NLog.xsd">
3 <xs:element name="nlog" type="NLogConfiguration" />
4 <xs:complexType name="NLogConfiguration">
5 <xs:choice minOccurs="0" maxOccurs="unbounded">
6 <xs:element name="extensions" type="NLogExtensions" />
7 <xs:element name="include" type="NLogInclude" />
8 <xs:element name="variable" type="NLogVariable" />
9 <xs:element name="targets" type="NLogTargets" />
10 <xs:element name="rules" type="NLogRules" />
11 </xs:choice>
12 <xs:attribute name="autoReload" type="xs:boolean">
13 <xs:annotation>
14 <xs:documentation>Watch config file for changes and reload automatically.</xs:documentation>
15 </xs:annotation>
16 </xs:attribute>
17 <xs:attribute name="internalLogToConsole" type="xs:boolean">
18 <xs:annotation>
19 <xs:documentation>Print internal NLog messages to the console. Default value is: false</xs:documentation>
20 </xs:annotation>
21 </xs:attribute>
22 <xs:attribute name="internalLogToConsoleError" type="xs:boolean">
23 <xs:annotation>
24 <xs:documentation>Print internal NLog messages to the console error output. Default value is: false</xs:documentation>
25 </xs:annotation>
26 </xs:attribute>
27 <xs:attribute name="internalLogFile" type="xs:string">
28 <xs:annotation>
29 <xs:documentation>Write internal NLog messages to the specified file.</xs:documentation>
30 </xs:annotation>
31 </xs:attribute>
32 <xs:attribute name="internalLogLevel" type="NLogLevel">
33 <xs:annotation>
34 <xs:documentation>Log level threshold for internal log messages. Default value is: Info.</xs:documentation>
35 </xs:annotation>
36 </xs:attribute>
37 <xs:attribute name="globalThreshold" type="NLogLevel">
38 <xs:annotation>
39 <xs:documentation>Global log level threshold for application log messages. Messages below this level won't be logged..</xs:documentation>
40 </xs:annotation>
41 </xs:attribute>
42 <xs:attribute name="throwExceptions" type="xs:boolean">
43 <xs:annotation>
44 <xs:documentation>Pass NLog internal exceptions to the application. Default value is: false.</xs:documentation>
45 </xs:annotation>
46 </xs:attribute>
47 </xs:complexType>
48 <xs:complexType name="NLogTargets">
49 <xs:choice minOccurs="0" maxOccurs="unbounded">
50 <xs:element name="default-wrapper" type="WrapperTargetBase" />
51 <xs:element name="default-target-parameters" type="Target" />
52 <xs:element name="target" type="Target" />
53 <xs:element name="wrapper-target" type="WrapperTargetBase" />
54 <xs:element name="compound-target" type="CompoundTargetBase" />
55 </xs:choice>
56 <xs:attribute name="async" type="xs:boolean">
57 <xs:annotation>
58 <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>
59 </xs:annotation>
60 </xs:attribute>
61 </xs:complexType>
62 <xs:complexType name="NLogRules">
63 <xs:sequence minOccurs="0" maxOccurs="unbounded">
64 <xs:element name="logger" type="NLogLoggerRule" />
65 </xs:sequence>
66 </xs:complexType>
67 <xs:complexType name="NLogExtensions">
68 <xs:choice minOccurs="0" maxOccurs="unbounded">
69 <xs:element name="add" type="NLogExtensionsAdd" />
70 </xs:choice>
71 </xs:complexType>
72 <xs:complexType name="NLogExtensionsAdd">
73 <xs:attribute name="prefix" type="xs:string">
74 <xs:annotation>
75 <xs:documentation>Prefix for targets/layout renderers/filters/conditions loaded from this assembly.</xs:documentation>
76 </xs:annotation>
77 </xs:attribute>
78 <xs:attribute name="assemblyFile" type="xs:string">
79 <xs:annotation>
80 <xs:documentation>Load NLog extensions from the specified file (*.dll)</xs:documentation>
81 </xs:annotation>
82 </xs:attribute>
83 <xs:attribute name="assembly" type="xs:string">
84 <xs:annotation>
85 <xs:documentation>Load NLog extensions from the specified assembly. Assembly name should be fully qualified.</xs:documentation>
86 </xs:annotation>
87 </xs:attribute>
88 </xs:complexType>
89 <xs:complexType name="NLogLoggerRule">
90 <xs:choice minOccurs="0" maxOccurs="unbounded">
91 <xs:element name="filters" type="NLogFilters" />
92 </xs:choice>
93 <xs:attribute name="name" use="optional">
94 <xs:annotation>
95 <xs:documentation>Name of the logger. May include '*' character which acts like a wildcard. Allowed forms are: *, Name, *Name, Name* and *Name*</xs:documentation>
96 </xs:annotation>
97 </xs:attribute>
98 <xs:attribute name="levels" type="NLogLevelList">
99 <xs:annotation>
100 <xs:documentation>Comma separated list of levels that this rule matches.</xs:documentation>
101 </xs:annotation>
102 </xs:attribute>
103 <xs:attribute name="minlevel" type="NLogLevel">
104 <xs:annotation>
105 <xs:documentation>Minimum level that this rule matches.</xs:documentation>
106 </xs:annotation>
107 </xs:attribute>
108 <xs:attribute name="maxlevel" type="NLogLevel">
109 <xs:annotation>
110 <xs:documentation>Maximum level that this rule matches.</xs:documentation>
111 </xs:annotation>
112 </xs:attribute>
113 <xs:attribute name="level" type="NLogLevel">
114 <xs:annotation>
115 <xs:documentation>Level that this rule matches.</xs:documentation>
116 </xs:annotation>
117 </xs:attribute>
118 <xs:attribute name="writeTo" type="NLogTargetIDList">
119 <xs:annotation>
120 <xs:documentation>Comma separated list of target names.</xs:documentation>
121 </xs:annotation>
122 </xs:attribute>
123 <xs:attribute name="final" type="xs:boolean" default="false">
124 <xs:annotation>
125 <xs:documentation>Ignore further rules if this one matches.</xs:documentation>
126 </xs:annotation>
127 </xs:attribute>
128 </xs:complexType>
129 <xs:complexType name="NLogFilters">
130 <xs:choice minOccurs="0" maxOccurs="unbounded">
131 <xs:element name="when" type="when" />
132 <xs:element name="whenContains" type="whenContains" />
133 <xs:element name="whenEqual" type="whenEqual" />
134 <xs:element name="whenNotContains" type="whenNotContains" />
135 <xs:element name="whenNotEqual" type="whenNotEqual" />
136 </xs:choice>
137 </xs:complexType>
138 <xs:simpleType name="NLogLevel">
139 <xs:restriction base="xs:string">
140 <xs:enumeration value="Off" />
141 <xs:enumeration value="Trace" />
142 <xs:enumeration value="Debug" />
143 <xs:enumeration value="Info" />
144 <xs:enumeration value="Warn" />
145 <xs:enumeration value="Error" />
146 <xs:enumeration value="Fatal" />
147 </xs:restriction>
148 </xs:simpleType>
149 <xs:simpleType name="NLogLevelList">
150 <xs:restriction base="xs:string">
151 <xs:pattern value="(|Trace|Debug|Info|Warn|Error|Fatal)(,(Trace|Debug|Info|Warn|Error|Fatal))*" />
152 </xs:restriction>
153 </xs:simpleType>
154 <xs:complexType name="NLogInclude">
155 <xs:attribute name="file" type="SimpleLayoutAttribute" use="required">
156 <xs:annotation>
157 <xs:documentation>Name of the file to be included. The name is relative to the name of the current config file.</xs:documentation>
158 </xs:annotation>
159 </xs:attribute>
160 <xs:attribute name="ignoreErrors" type="xs:boolean" use="optional" default="false">
161 <xs:annotation>
162 <xs:documentation>Ignore any errors in the include file.</xs:documentation>
163 </xs:annotation>
164 </xs:attribute>
165 </xs:complexType>
166 <xs:complexType name="NLogVariable">
167 <xs:attribute name="name" type="xs:string" use="required">
168 <xs:annotation>
169 <xs:documentation>Variable name.</xs:documentation>
170 </xs:annotation>
171 </xs:attribute>
172 <xs:attribute name="value" type="SimpleLayoutAttribute" use="required">
173 <xs:annotation>
174 <xs:documentation>Variable value.</xs:documentation>
175 </xs:annotation>
176 </xs:attribute>
177 </xs:complexType>
178 <xs:simpleType name="NLogTargetIDList">
179 <xs:restriction base="xs:string">
180 <xs:pattern value="(|([a-zA-Z][a-zA-Z0-9_\-]*))(,([a-zA-Z][a-zA-Z0-9_\-]*))*" />
181 </xs:restriction>
182 </xs:simpleType>
183 <xs:complexType name="Target" abstract="true"></xs:complexType>
184 <xs:complexType name="TargetRef">
185 <xs:attribute name="name" type="xs:string" use="required" />
186 </xs:complexType>
187 <xs:complexType name="WrapperTargetBase" abstract="true">
188 <xs:complexContent>
189 <xs:extension base="Target">
190 <xs:choice minOccurs="0" maxOccurs="unbounded">
191 <xs:element name="target" type="Target" minOccurs="1" maxOccurs="1" />
192 <xs:element name="wrapper-target" type="WrapperTargetBase" minOccurs="1" maxOccurs="1" />
193 <xs:element name="compound-target" type="CompoundTargetBase" minOccurs="1" maxOccurs="1" />
194 <xs:element name="target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
195 <xs:element name="wrapper-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
196 <xs:element name="compound-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
197 </xs:choice>
198 </xs:extension>
199 </xs:complexContent>
200 </xs:complexType>
201 <xs:complexType name="CompoundTargetBase" abstract="true">
202 <xs:complexContent>
203 <xs:extension base="Target">
204 <xs:choice minOccurs="0" maxOccurs="unbounded">
205 <xs:element name="target" type="Target" minOccurs="1" maxOccurs="unbounded" />
206 <xs:element name="wrapper-target" type="WrapperTargetBase" minOccurs="1" maxOccurs="1" />
207 <xs:element name="compound-target" type="CompoundTargetBase" minOccurs="1" maxOccurs="1" />
208 <xs:element name="target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
209 <xs:element name="wrapper-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
210 <xs:element name="compound-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
211 </xs:choice>
212 </xs:extension>
213 </xs:complexContent>
214 </xs:complexType>
215 <xs:complexType name="Layout"></xs:complexType>
216 <xs:complexType name="Filter" abstract="true"></xs:complexType>
217 <xs:simpleType name="SimpleLayoutAttribute">
218 <xs:restriction base="xs:string">
219 <xs:pattern value=".*" />
220 </xs:restriction>
221 </xs:simpleType>
222 <xs:simpleType name="Condition">
223 <xs:restriction base="xs:string">
224 <xs:minLength value="1" />
225 </xs:restriction>
226 </xs:simpleType>
227 <xs:complexType name="AsyncWrapper">
228 <xs:complexContent>
229 <xs:extension base="WrapperTargetBase">
230 <xs:choice minOccurs="0" maxOccurs="unbounded">
231 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
232 <xs:element name="queueLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
233 <xs:element name="timeToSleepBetweenBatches" minOccurs="0" maxOccurs="1" type="xs:integer" />
234 <xs:element name="batchSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
235 <xs:element name="overflowAction" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction" />
236 </xs:choice>
237 <xs:attribute name="name" type="xs:string">
238 <xs:annotation>
239 <xs:documentation>Name of the target.</xs:documentation>
240 </xs:annotation>
241 </xs:attribute>
242 <xs:attribute name="queueLimit" type="xs:integer">
243 <xs:annotation>
244 <xs:documentation>Limit on the number of requests in the lazy writer thread request queue.</xs:documentation>
245 </xs:annotation>
246 </xs:attribute>
247 <xs:attribute name="timeToSleepBetweenBatches" type="xs:integer">
248 <xs:annotation>
249 <xs:documentation>Time in milliseconds to sleep between batches.</xs:documentation>
250 </xs:annotation>
251 </xs:attribute>
252 <xs:attribute name="batchSize" type="xs:integer">
253 <xs:annotation>
254 <xs:documentation>Number of log events that should be processed in a batch by the lazy writer thread.</xs:documentation>
255 </xs:annotation>
256 </xs:attribute>
257 <xs:attribute name="overflowAction" type="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction">
258 <xs:annotation>
259 <xs:documentation>Action to be taken when the lazy writer thread request queue count exceeds the set limit.</xs:documentation>
260 </xs:annotation>
261 </xs:attribute>
262 </xs:extension>
263 </xs:complexContent>
264 </xs:complexType>
265 <xs:simpleType name="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction">
266 <xs:restriction base="xs:string">
267 <xs:enumeration value="Grow" />
268 <xs:enumeration value="Discard" />
269 <xs:enumeration value="Block" />
270 </xs:restriction>
271 </xs:simpleType>
272 <xs:complexType name="AutoFlushWrapper">
273 <xs:complexContent>
274 <xs:extension base="WrapperTargetBase">
275 <xs:choice minOccurs="0" maxOccurs="unbounded">
276 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
277 </xs:choice>
278 <xs:attribute name="name" type="xs:string">
279 <xs:annotation>
280 <xs:documentation>Name of the target.</xs:documentation>
281 </xs:annotation>
282 </xs:attribute>
283 </xs:extension>
284 </xs:complexContent>
285 </xs:complexType>
286 <xs:complexType name="BufferingWrapper">
287 <xs:complexContent>
288 <xs:extension base="WrapperTargetBase">
289 <xs:choice minOccurs="0" maxOccurs="unbounded">
290 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
291 <xs:element name="slidingTimeout" minOccurs="0" maxOccurs="1" type="xs:boolean" />
292 <xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
293 <xs:element name="flushTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
294 </xs:choice>
295 <xs:attribute name="name" type="xs:string">
296 <xs:annotation>
297 <xs:documentation>Name of the target.</xs:documentation>
298 </xs:annotation>
299 </xs:attribute>
300 <xs:attribute name="slidingTimeout" type="xs:boolean">
301 <xs:annotation>
302 <xs:documentation>Indicates whether to use sliding timeout.</xs:documentation>
303 </xs:annotation>
304 </xs:attribute>
305 <xs:attribute name="bufferSize" type="xs:integer">
306 <xs:annotation>
307 <xs:documentation>Number of log events to be buffered.</xs:documentation>
308 </xs:annotation>
309 </xs:attribute>
310 <xs:attribute name="flushTimeout" type="xs:integer">
311 <xs:annotation>
312 <xs:documentation>Timeout (in milliseconds) after which the contents of buffer will be flushed if there's no write in the specified period of time. Use -1 to disable timed flushes.</xs:documentation>
313 </xs:annotation>
314 </xs:attribute>
315 </xs:extension>
316 </xs:complexContent>
317 </xs:complexType>
318 <xs:complexType name="Chainsaw">
319 <xs:complexContent>
320 <xs:extension base="Target">
321 <xs:choice minOccurs="0" maxOccurs="unbounded">
322 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
323 <xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
324 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
325 <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
326 <xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
327 <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
328 <xs:element name="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
329 <xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
330 <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
331 <xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
332 <xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
333 <xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
334 <xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
335 <xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
336 <xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
337 <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
338 <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
339 </xs:choice>
340 <xs:attribute name="name" type="xs:string">
341 <xs:annotation>
342 <xs:documentation>Name of the target.</xs:documentation>
343 </xs:annotation>
344 </xs:attribute>
345 <xs:attribute name="newLine" type="xs:boolean">
346 <xs:annotation>
347 <xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
348 </xs:annotation>
349 </xs:attribute>
350 <xs:attribute name="layout" type="SimpleLayoutAttribute">
351 <xs:annotation>
352 <xs:documentation>Instance of that is used to format log messages.</xs:documentation>
353 </xs:annotation>
354 </xs:attribute>
355 <xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
356 <xs:annotation>
357 <xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</xs:documentation>
358 </xs:annotation>
359 </xs:attribute>
360 <xs:attribute name="maxMessageSize" type="xs:integer">
361 <xs:annotation>
362 <xs:documentation>Maximum message size in bytes.</xs:documentation>
363 </xs:annotation>
364 </xs:attribute>
365 <xs:attribute name="encoding" type="xs:string">
366 <xs:annotation>
367 <xs:documentation>Encoding to be used.</xs:documentation>
368 </xs:annotation>
369 </xs:attribute>
370 <xs:attribute name="connectionCacheSize" type="xs:integer">
371 <xs:annotation>
372 <xs:documentation>Size of the connection cache (number of connections which are kept alive).</xs:documentation>
373 </xs:annotation>
374 </xs:attribute>
375 <xs:attribute name="address" type="SimpleLayoutAttribute">
376 <xs:annotation>
377 <xs:documentation>Network address.</xs:documentation>
378 </xs:annotation>
379 </xs:attribute>
380 <xs:attribute name="keepConnection" type="xs:boolean">
381 <xs:annotation>
382 <xs:documentation>Indicates whether to keep connection open whenever possible.</xs:documentation>
383 </xs:annotation>
384 </xs:attribute>
385 <xs:attribute name="includeSourceInfo" type="xs:boolean">
386 <xs:annotation>
387 <xs:documentation>Indicates whether to include source info (file name and line number) in the information sent over the network.</xs:documentation>
388 </xs:annotation>
389 </xs:attribute>
390 <xs:attribute name="includeCallSite" type="xs:boolean">
391 <xs:annotation>
392 <xs:documentation>Indicates whether to include call site (class and method name) in the information sent over the network.</xs:documentation>
393 </xs:annotation>
394 </xs:attribute>
395 <xs:attribute name="appInfo" type="xs:string">
396 <xs:annotation>
397 <xs:documentation>AppInfo field. By default it's the friendly name of the current AppDomain.</xs:documentation>
398 </xs:annotation>
399 </xs:attribute>
400 <xs:attribute name="ndcItemSeparator" type="xs:string">
401 <xs:annotation>
402 <xs:documentation>NDC item separator.</xs:documentation>
403 </xs:annotation>
404 </xs:attribute>
405 <xs:attribute name="includeNdc" type="xs:boolean">
406 <xs:annotation>
407 <xs:documentation>Indicates whether to include stack contents.</xs:documentation>
408 </xs:annotation>
409 </xs:attribute>
410 <xs:attribute name="includeNLogData" type="xs:boolean">
411 <xs:annotation>
412 <xs:documentation>Indicates whether to include NLog-specific extensions to log4j schema.</xs:documentation>
413 </xs:annotation>
414 </xs:attribute>
415 <xs:attribute name="includeMdc" type="xs:boolean">
416 <xs:annotation>
417 <xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
418 </xs:annotation>
419 </xs:attribute>
420 </xs:extension>
421 </xs:complexContent>
422 </xs:complexType>
423 <xs:simpleType name="NLog.Targets.NetworkTargetOverflowAction">
424 <xs:restriction base="xs:string">
425 <xs:enumeration value="Error" />
426 <xs:enumeration value="Split" />
427 <xs:enumeration value="Discard" />
428 </xs:restriction>
429 </xs:simpleType>
430 <xs:complexType name="NLog.Targets.NLogViewerParameterInfo">
431 <xs:choice minOccurs="0" maxOccurs="unbounded">
432 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
433 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
434 </xs:choice>
435 <xs:attribute name="layout" type="SimpleLayoutAttribute">
436 <xs:annotation>
437 <xs:documentation>Layout that should be use to calcuate the value for the parameter.</xs:documentation>
438 </xs:annotation>
439 </xs:attribute>
440 <xs:attribute name="name" type="xs:string">
441 <xs:annotation>
442 <xs:documentation>Viewer parameter name.</xs:documentation>
443 </xs:annotation>
444 </xs:attribute>
445 </xs:complexType>
446 <xs:complexType name="Console">
447 <xs:complexContent>
448 <xs:extension base="Target">
449 <xs:choice minOccurs="0" maxOccurs="unbounded">
450 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
451 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
452 <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
453 <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
454 <xs:element name="error" minOccurs="0" maxOccurs="1" type="xs:boolean" />
455 </xs:choice>
456 <xs:attribute name="name" type="xs:string">
457 <xs:annotation>
458 <xs:documentation>Name of the target.</xs:documentation>
459 </xs:annotation>
460 </xs:attribute>
461 <xs:attribute name="layout" type="SimpleLayoutAttribute">
462 <xs:annotation>
463 <xs:documentation>Text to be rendered.</xs:documentation>
464 </xs:annotation>
465 </xs:attribute>
466 <xs:attribute name="footer" type="SimpleLayoutAttribute">
467 <xs:annotation>
468 <xs:documentation>Footer.</xs:documentation>
469 </xs:annotation>
470 </xs:attribute>
471 <xs:attribute name="header" type="SimpleLayoutAttribute">
472 <xs:annotation>
473 <xs:documentation>Header.</xs:documentation>
474 </xs:annotation>
475 </xs:attribute>
476 <xs:attribute name="error" type="xs:boolean">
477 <xs:annotation>
478 <xs:documentation>Indicates whether to send the log messages to the standard error instead of the standard output.</xs:documentation>
479 </xs:annotation>
480 </xs:attribute>
481 </xs:extension>
482 </xs:complexContent>
483 </xs:complexType>
484 <xs:complexType name="Database">
485 <xs:complexContent>
486 <xs:extension base="Target">
487 <xs:choice minOccurs="0" maxOccurs="unbounded">
488 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
489 <xs:element name="dbUserName" minOccurs="0" maxOccurs="1" type="Layout" />
490 <xs:element name="dbProvider" minOccurs="0" maxOccurs="1" type="xs:string" />
491 <xs:element name="useTransactions" minOccurs="0" maxOccurs="1" type="xs:boolean" />
492 <xs:element name="connectionStringName" minOccurs="0" maxOccurs="1" type="xs:string" />
493 <xs:element name="connectionString" minOccurs="0" maxOccurs="1" type="Layout" />
494 <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
495 <xs:element name="dbDatabase" minOccurs="0" maxOccurs="1" type="Layout" />
496 <xs:element name="dbPassword" minOccurs="0" maxOccurs="1" type="Layout" />
497 <xs:element name="dbHost" minOccurs="0" maxOccurs="1" type="Layout" />
498 <xs:element name="install-command" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseCommandInfo" />
499 <xs:element name="installConnectionString" minOccurs="0" maxOccurs="1" type="Layout" />
500 <xs:element name="uninstall-command" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseCommandInfo" />
501 <xs:element name="commandText" minOccurs="0" maxOccurs="1" type="Layout" />
502 <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseParameterInfo" />
503 </xs:choice>
504 <xs:attribute name="name" type="xs:string">
505 <xs:annotation>
506 <xs:documentation>Name of the target.</xs:documentation>
507 </xs:annotation>
508 </xs:attribute>
509 <xs:attribute name="dbUserName" type="SimpleLayoutAttribute">
510 <xs:annotation>
511 <xs:documentation>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>
512 </xs:annotation>
513 </xs:attribute>
514 <xs:attribute name="dbProvider" type="xs:string">
515 <xs:annotation>
516 <xs:documentation>Name of the database provider.</xs:documentation>
517 </xs:annotation>
518 </xs:attribute>
519 <xs:attribute name="useTransactions" type="xs:boolean">
520 <xs:annotation>
521 <xs:documentation>Indicates whether to use database transactions. Some data providers require this.</xs:documentation>
522 </xs:annotation>
523 </xs:attribute>
524 <xs:attribute name="connectionStringName" type="xs:string">
525 <xs:annotation>
526 <xs:documentation>Name of the connection string (as specified in &lt;connectionStrings&gt; configuration section.</xs:documentation>
527 </xs:annotation>
528 </xs:attribute>
529 <xs:attribute name="connectionString" type="SimpleLayoutAttribute">
530 <xs:annotation>
531 <xs:documentation>Connection string. When provided, it overrides the values specified in DBHost, DBUserName, DBPassword, DBDatabase.</xs:documentation>
532 </xs:annotation>
533 </xs:attribute>
534 <xs:attribute name="keepConnection" type="xs:boolean">
535 <xs:annotation>
536 <xs:documentation>Indicates whether to keep the database connection open between the log events.</xs:documentation>
537 </xs:annotation>
538 </xs:attribute>
539 <xs:attribute name="dbDatabase" type="SimpleLayoutAttribute">
540 <xs:annotation>
541 <xs:documentation>Database name. If the ConnectionString is not provided this value will be used to construct the "Database=" part of the connection string.</xs:documentation>
542 </xs:annotation>
543 </xs:attribute>
544 <xs:attribute name="dbPassword" type="SimpleLayoutAttribute">
545 <xs:annotation>
546 <xs:documentation>Database password. If the ConnectionString is not provided this value will be used to construct the "Password=" part of the connection string.</xs:documentation>
547 </xs:annotation>
548 </xs:attribute>
549 <xs:attribute name="dbHost" type="SimpleLayoutAttribute">
550 <xs:annotation>
551 <xs:documentation>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>
552 </xs:annotation>
553 </xs:attribute>
554 <xs:attribute name="installConnectionString" type="SimpleLayoutAttribute">
555 <xs:annotation>
556 <xs:documentation>Connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.</xs:documentation>
557 </xs:annotation>
558 </xs:attribute>
559 <xs:attribute name="commandText" type="SimpleLayoutAttribute">
560 <xs:annotation>
561 <xs:documentation>Text of the SQL command to be run on each log level.</xs:documentation>
562 </xs:annotation>
563 </xs:attribute>
564 </xs:extension>
565 </xs:complexContent>
566 </xs:complexType>
567 <xs:simpleType name="System.Data.CommandType">
568 <xs:restriction base="xs:string">
569 <xs:enumeration value="StoredProcedure" />
570 <xs:enumeration value="TableDirect" />
571 <xs:enumeration value="Text" />
572 </xs:restriction>
573 </xs:simpleType>
574 <xs:complexType name="NLog.Targets.DatabaseCommandInfo">
575 <xs:choice minOccurs="0" maxOccurs="unbounded">
576 <xs:element name="commandType" minOccurs="0" maxOccurs="1" type="System.Data.CommandType" />
577 <xs:element name="connectionString" minOccurs="0" maxOccurs="1" type="Layout" />
578 <xs:element name="ignoreFailures" minOccurs="0" maxOccurs="1" type="xs:boolean" />
579 <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseParameterInfo" />
580 <xs:element name="text" minOccurs="0" maxOccurs="1" type="Layout" />
581 </xs:choice>
582 <xs:attribute name="commandType" type="System.Data.CommandType">
583 <xs:annotation>
584 <xs:documentation>Type of the command.</xs:documentation>
585 </xs:annotation>
586 </xs:attribute>
587 <xs:attribute name="connectionString" type="SimpleLayoutAttribute">
588 <xs:annotation>
589 <xs:documentation>Connection string to run the command against. If not provided, connection string from the target is used.</xs:documentation>
590 </xs:annotation>
591 </xs:attribute>
592 <xs:attribute name="ignoreFailures" type="xs:boolean">
593 <xs:annotation>
594 <xs:documentation>Indicates whether to ignore failures.</xs:documentation>
595 </xs:annotation>
596 </xs:attribute>
597 <xs:attribute name="text" type="SimpleLayoutAttribute">
598 <xs:annotation>
599 <xs:documentation>Command text.</xs:documentation>
600 </xs:annotation>
601 </xs:attribute>
602 </xs:complexType>
603 <xs:complexType name="NLog.Targets.DatabaseParameterInfo">
604 <xs:choice minOccurs="0" maxOccurs="unbounded">
605 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
606 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
607 <xs:element name="precision" minOccurs="0" maxOccurs="1" type="xs:byte" />
608 <xs:element name="scale" minOccurs="0" maxOccurs="1" type="xs:byte" />
609 <xs:element name="size" minOccurs="0" maxOccurs="1" type="xs:integer" />
610 </xs:choice>
611 <xs:attribute name="layout" type="SimpleLayoutAttribute">
612 <xs:annotation>
613 <xs:documentation>Layout that should be use to calcuate the value for the parameter.</xs:documentation>
614 </xs:annotation>
615 </xs:attribute>
616 <xs:attribute name="name" type="xs:string">
617 <xs:annotation>
618 <xs:documentation>Database parameter name.</xs:documentation>
619 </xs:annotation>
620 </xs:attribute>
621 <xs:attribute name="precision" type="xs:byte">
622 <xs:annotation>
623 <xs:documentation>Database parameter precision.</xs:documentation>
624 </xs:annotation>
625 </xs:attribute>
626 <xs:attribute name="scale" type="xs:byte">
627 <xs:annotation>
628 <xs:documentation>Database parameter scale.</xs:documentation>
629 </xs:annotation>
630 </xs:attribute>
631 <xs:attribute name="size" type="xs:integer">
632 <xs:annotation>
633 <xs:documentation>Database parameter size.</xs:documentation>
634 </xs:annotation>
635 </xs:attribute>
636 </xs:complexType>
637 <xs:complexType name="Debug">
638 <xs:complexContent>
639 <xs:extension base="Target">
640 <xs:choice minOccurs="0" maxOccurs="unbounded">
641 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
642 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
643 </xs:choice>
644 <xs:attribute name="name" type="xs:string">
645 <xs:annotation>
646 <xs:documentation>Name of the target.</xs:documentation>
647 </xs:annotation>
648 </xs:attribute>
649 <xs:attribute name="layout" type="SimpleLayoutAttribute">
650 <xs:annotation>
651 <xs:documentation>Layout used to format log messages.</xs:documentation>
652 </xs:annotation>
653 </xs:attribute>
654 </xs:extension>
655 </xs:complexContent>
656 </xs:complexType>
657 <xs:complexType name="FallbackGroup">
658 <xs:complexContent>
659 <xs:extension base="CompoundTargetBase">
660 <xs:choice minOccurs="0" maxOccurs="unbounded">
661 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
662 <xs:element name="returnToFirstOnSuccess" minOccurs="0" maxOccurs="1" type="xs:boolean" />
663 </xs:choice>
664 <xs:attribute name="name" type="xs:string">
665 <xs:annotation>
666 <xs:documentation>Name of the target.</xs:documentation>
667 </xs:annotation>
668 </xs:attribute>
669 <xs:attribute name="returnToFirstOnSuccess" type="xs:boolean">
670 <xs:annotation>
671 <xs:documentation>Indicates whether to return to the first target after any successful write.</xs:documentation>
672 </xs:annotation>
673 </xs:attribute>
674 </xs:extension>
675 </xs:complexContent>
676 </xs:complexType>
677 <xs:complexType name="File">
678 <xs:complexContent>
679 <xs:extension base="Target">
680 <xs:choice minOccurs="0" maxOccurs="unbounded">
681 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
682 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
683 <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
684 <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
685 <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
686 <xs:element name="lineEnding" minOccurs="0" maxOccurs="1" type="NLog.Targets.LineEndingMode" />
687 <xs:element name="archiveAboveSize" minOccurs="0" maxOccurs="1" type="xs:long" />
688 <xs:element name="maxArchiveFiles" minOccurs="0" maxOccurs="1" type="xs:integer" />
689 <xs:element name="archiveFileName" minOccurs="0" maxOccurs="1" type="Layout" />
690 <xs:element name="archiveNumbering" minOccurs="0" maxOccurs="1" type="NLog.Targets.ArchiveNumberingMode" />
691 <xs:element name="archiveEvery" minOccurs="0" maxOccurs="1" type="NLog.Targets.FileArchivePeriod" />
692 <xs:element name="replaceFileContentsOnEachWrite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
693 <xs:element name="fileAttributes" minOccurs="0" maxOccurs="1" type="NLog.Targets.Win32FileAttributes" />
694 <xs:element name="fileName" minOccurs="0" maxOccurs="1" type="Layout" />
695 <xs:element name="deleteOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
696 <xs:element name="enableFileDelete" minOccurs="0" maxOccurs="1" type="xs:boolean" />
697 <xs:element name="createDirs" minOccurs="0" maxOccurs="1" type="xs:boolean" />
698 <xs:element name="concurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
699 <xs:element name="openFileCacheTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
700 <xs:element name="openFileCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
701 <xs:element name="networkWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
702 <xs:element name="concurrentWriteAttemptDelay" minOccurs="0" maxOccurs="1" type="xs:integer" />
703 <xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
704 <xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
705 <xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
706 <xs:element name="keepFileOpen" minOccurs="0" maxOccurs="1" type="xs:boolean" />
707 </xs:choice>
708 <xs:attribute name="name" type="xs:string">
709 <xs:annotation>
710 <xs:documentation>Name of the target.</xs:documentation>
711 </xs:annotation>
712 </xs:attribute>
713 <xs:attribute name="layout" type="SimpleLayoutAttribute">
714 <xs:annotation>
715 <xs:documentation>Text to be rendered.</xs:documentation>
716 </xs:annotation>
717 </xs:attribute>
718 <xs:attribute name="header" type="SimpleLayoutAttribute">
719 <xs:annotation>
720 <xs:documentation>Header.</xs:documentation>
721 </xs:annotation>
722 </xs:attribute>
723 <xs:attribute name="footer" type="SimpleLayoutAttribute">
724 <xs:annotation>
725 <xs:documentation>Footer.</xs:documentation>
726 </xs:annotation>
727 </xs:attribute>
728 <xs:attribute name="encoding" type="xs:string">
729 <xs:annotation>
730 <xs:documentation>File encoding.</xs:documentation>
731 </xs:annotation>
732 </xs:attribute>
733 <xs:attribute name="lineEnding" type="NLog.Targets.LineEndingMode">
734 <xs:annotation>
735 <xs:documentation>Line ending mode.</xs:documentation>
736 </xs:annotation>
737 </xs:attribute>
738 <xs:attribute name="archiveAboveSize" type="xs:long">
739 <xs:annotation>
740 <xs:documentation>Size in bytes above which log files will be automatically archived.</xs:documentation>
741 </xs:annotation>
742 </xs:attribute>
743 <xs:attribute name="maxArchiveFiles" type="xs:integer">
744 <xs:annotation>
745 <xs:documentation>Maximum number of archive files that should be kept.</xs:documentation>
746 </xs:annotation>
747 </xs:attribute>
748 <xs:attribute name="archiveFileName" type="SimpleLayoutAttribute">
749 <xs:annotation>
750 <xs:documentation>Name of the file to be used for an archive.</xs:documentation>
751 </xs:annotation>
752 </xs:attribute>
753 <xs:attribute name="archiveNumbering" type="NLog.Targets.ArchiveNumberingMode">
754 <xs:annotation>
755 <xs:documentation>Way file archives are numbered.</xs:documentation>
756 </xs:annotation>
757 </xs:attribute>
758 <xs:attribute name="archiveEvery" type="NLog.Targets.FileArchivePeriod">
759 <xs:annotation>
760 <xs:documentation>Indicates whether to automatically archive log files every time the specified time passes.</xs:documentation>
761 </xs:annotation>
762 </xs:attribute>
763 <xs:attribute name="replaceFileContentsOnEachWrite" type="xs:boolean">
764 <xs:annotation>
765 <xs:documentation>Indicates whether to replace file contents on each write instead of appending log message at the end.</xs:documentation>
766 </xs:annotation>
767 </xs:attribute>
768 <xs:attribute name="fileAttributes" type="NLog.Targets.Win32FileAttributes">
769 <xs:annotation>
770 <xs:documentation>File attributes (Windows only).</xs:documentation>
771 </xs:annotation>
772 </xs:attribute>
773 <xs:attribute name="fileName" type="SimpleLayoutAttribute">
774 <xs:annotation>
775 <xs:documentation>Name of the file to write to.</xs:documentation>
776 </xs:annotation>
777 </xs:attribute>
778 <xs:attribute name="deleteOldFileOnStartup" type="xs:boolean">
779 <xs:annotation>
780 <xs:documentation>Indicates whether to delete old log file on startup.</xs:documentation>
781 </xs:annotation>
782 </xs:attribute>
783 <xs:attribute name="enableFileDelete" type="xs:boolean">
784 <xs:annotation>
785 <xs:documentation>Indicates whether to enable log file(s) to be deleted.</xs:documentation>
786 </xs:annotation>
787 </xs:attribute>
788 <xs:attribute name="createDirs" type="xs:boolean">
789 <xs:annotation>
790 <xs:documentation>Indicates whether to create directories if they don't exist.</xs:documentation>
791 </xs:annotation>
792 </xs:attribute>
793 <xs:attribute name="concurrentWrites" type="xs:boolean">
794 <xs:annotation>
795 <xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on the same host.</xs:documentation>
796 </xs:annotation>
797 </xs:attribute>
798 <xs:attribute name="openFileCacheTimeout" type="xs:integer">
799 <xs:annotation>
800 <xs:documentation>Maximum number of seconds that files are kept open. If this number is negative the files are not automatically closed after a period of inactivity.</xs:documentation>
801 </xs:annotation>
802 </xs:attribute>
803 <xs:attribute name="openFileCacheSize" type="xs:integer">
804 <xs:annotation>
805 <xs:documentation>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).</xs:documentation>
806 </xs:annotation>
807 </xs:attribute>
808 <xs:attribute name="networkWrites" type="xs:boolean">
809 <xs:annotation>
810 <xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on different network hosts.</xs:documentation>
811 </xs:annotation>
812 </xs:attribute>
813 <xs:attribute name="concurrentWriteAttemptDelay" type="xs:integer">
814 <xs:annotation>
815 <xs:documentation>Delay in milliseconds to wait before attempting to write to the file again.</xs:documentation>
816 </xs:annotation>
817 </xs:attribute>
818 <xs:attribute name="concurrentWriteAttempts" type="xs:integer">
819 <xs:annotation>
820 <xs:documentation>Number of times the write is appended on the file before NLog discards the log message.</xs:documentation>
821 </xs:annotation>
822 </xs:attribute>
823 <xs:attribute name="bufferSize" type="xs:integer">
824 <xs:annotation>
825 <xs:documentation>Log file buffer size in bytes.</xs:documentation>
826 </xs:annotation>
827 </xs:attribute>
828 <xs:attribute name="autoFlush" type="xs:boolean">
829 <xs:annotation>
830 <xs:documentation>Indicates whether to automatically flush the file buffers after each log message.</xs:documentation>
831 </xs:annotation>
832 </xs:attribute>
833 <xs:attribute name="keepFileOpen" type="xs:boolean">
834 <xs:annotation>
835 <xs:documentation>Indicates whether to keep log file open instead of opening and closing it on each logging event.</xs:documentation>
836 </xs:annotation>
837 </xs:attribute>
838 </xs:extension>
839 </xs:complexContent>
840 </xs:complexType>
841 <xs:simpleType name="NLog.Targets.LineEndingMode">
842 <xs:restriction base="xs:string">
843 <xs:enumeration value="Default" />
844 <xs:enumeration value="CRLF" />
845 <xs:enumeration value="CR" />
846 <xs:enumeration value="LF" />
847 <xs:enumeration value="None" />
848 </xs:restriction>
849 </xs:simpleType>
850 <xs:simpleType name="NLog.Targets.ArchiveNumberingMode">
851 <xs:restriction base="xs:string">
852 <xs:enumeration value="Sequence" />
853 <xs:enumeration value="Rolling" />
854 </xs:restriction>
855 </xs:simpleType>
856 <xs:simpleType name="NLog.Targets.FileArchivePeriod">
857 <xs:restriction base="xs:string">
858 <xs:enumeration value="None" />
859 <xs:enumeration value="Year" />
860 <xs:enumeration value="Month" />
861 <xs:enumeration value="Day" />
862 <xs:enumeration value="Hour" />
863 <xs:enumeration value="Minute" />
864 </xs:restriction>
865 </xs:simpleType>
866 <xs:simpleType name="NLog.Targets.Win32FileAttributes">
867 <xs:restriction base="xs:string">
868 <xs:enumeration value="Readonly" />
869 <xs:enumeration value="Hidden" />
870 <xs:enumeration value="System" />
871 <xs:enumeration value="Archive" />
872 <xs:enumeration value="Device" />
873 <xs:enumeration value="Normal" />
874 <xs:enumeration value="Temporary" />
875 <xs:enumeration value="SparseFile" />
876 <xs:enumeration value="ReparsePoint" />
877 <xs:enumeration value="Compressed" />
878 <xs:enumeration value="NotContentIndexed" />
879 <xs:enumeration value="Encrypted" />
880 <xs:enumeration value="WriteThrough" />
881 <xs:enumeration value="NoBuffering" />
882 <xs:enumeration value="DeleteOnClose" />
883 <xs:enumeration value="PosixSemantics" />
884 <xs:enumeration value="ReadOnly" />
885 </xs:restriction>
886 </xs:simpleType>
887 <xs:complexType name="FilteringWrapper">
888 <xs:complexContent>
889 <xs:extension base="WrapperTargetBase">
890 <xs:choice minOccurs="0" maxOccurs="unbounded">
891 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
892 <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
893 </xs:choice>
894 <xs:attribute name="name" type="xs:string">
895 <xs:annotation>
896 <xs:documentation>Name of the target.</xs:documentation>
897 </xs:annotation>
898 </xs:attribute>
899 <xs:attribute name="condition" type="Condition">
900 <xs:annotation>
901 <xs:documentation>Condition expression. Log events who meet this condition will be forwarded to the wrapped target.</xs:documentation>
902 </xs:annotation>
903 </xs:attribute>
904 </xs:extension>
905 </xs:complexContent>
906 </xs:complexType>
907 <xs:complexType name="Memory">
908 <xs:complexContent>
909 <xs:extension base="Target">
910 <xs:choice minOccurs="0" maxOccurs="unbounded">
911 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
912 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
913 </xs:choice>
914 <xs:attribute name="name" type="xs:string">
915 <xs:annotation>
916 <xs:documentation>Name of the target.</xs:documentation>
917 </xs:annotation>
918 </xs:attribute>
919 <xs:attribute name="layout" type="SimpleLayoutAttribute">
920 <xs:annotation>
921 <xs:documentation>Layout used to format log messages.</xs:documentation>
922 </xs:annotation>
923 </xs:attribute>
924 </xs:extension>
925 </xs:complexContent>
926 </xs:complexType>
927 <xs:complexType name="MessageBox">
928 <xs:complexContent>
929 <xs:extension base="Target">
930 <xs:choice minOccurs="0" maxOccurs="unbounded">
931 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
932 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
933 <xs:element name="caption" minOccurs="0" maxOccurs="1" type="Layout" />
934 </xs:choice>
935 <xs:attribute name="name" type="xs:string">
936 <xs:annotation>
937 <xs:documentation>Name of the target.</xs:documentation>
938 </xs:annotation>
939 </xs:attribute>
940 <xs:attribute name="layout" type="SimpleLayoutAttribute">
941 <xs:annotation>
942 <xs:documentation>Layout used to format log messages.</xs:documentation>
943 </xs:annotation>
944 </xs:attribute>
945 <xs:attribute name="caption" type="SimpleLayoutAttribute">
946 <xs:annotation>
947 <xs:documentation>Message box title.</xs:documentation>
948 </xs:annotation>
949 </xs:attribute>
950 </xs:extension>
951 </xs:complexContent>
952 </xs:complexType>
953 <xs:complexType name="MethodCall">
954 <xs:complexContent>
955 <xs:extension base="Target">
956 <xs:choice minOccurs="0" maxOccurs="unbounded">
957 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
958 <xs:element name="methodName" minOccurs="0" maxOccurs="1" type="xs:string" />
959 <xs:element name="className" minOccurs="0" maxOccurs="1" type="xs:string" />
960 <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
961 </xs:choice>
962 <xs:attribute name="name" type="xs:string">
963 <xs:annotation>
964 <xs:documentation>Name of the target.</xs:documentation>
965 </xs:annotation>
966 </xs:attribute>
967 <xs:attribute name="methodName" type="xs:string">
968 <xs:annotation>
969 <xs:documentation>Method name. The method must be public and static.</xs:documentation>
970 </xs:annotation>
971 </xs:attribute>
972 <xs:attribute name="className" type="xs:string">
973 <xs:annotation>
974 <xs:documentation>Class name.</xs:documentation>
975 </xs:annotation>
976 </xs:attribute>
977 </xs:extension>
978 </xs:complexContent>
979 </xs:complexType>
980 <xs:complexType name="NLog.Targets.MethodCallParameter">
981 <xs:choice minOccurs="0" maxOccurs="unbounded">
982 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
983 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
984 <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:string" />
985 </xs:choice>
986 <xs:attribute name="layout" type="SimpleLayoutAttribute">
987 <xs:annotation>
988 <xs:documentation>Layout that should be use to calcuate the value for the parameter.</xs:documentation>
989 </xs:annotation>
990 </xs:attribute>
991 <xs:attribute name="name" type="xs:string">
992 <xs:annotation>
993 <xs:documentation>Name of the parameter.</xs:documentation>
994 </xs:annotation>
995 </xs:attribute>
996 <xs:attribute name="type" type="xs:string">
997 <xs:annotation>
998 <xs:documentation>Type of the parameter.</xs:documentation>
999 </xs:annotation>
1000 </xs:attribute>
1001 </xs:complexType>
1002 <xs:complexType name="Network">
1003 <xs:complexContent>
1004 <xs:extension base="Target">
1005 <xs:choice minOccurs="0" maxOccurs="unbounded">
1006 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1007 <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
1008 <xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1009 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1010 <xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
1011 <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
1012 <xs:element name="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
1013 <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1014 <xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
1015 </xs:choice>
1016 <xs:attribute name="name" type="xs:string">
1017 <xs:annotation>
1018 <xs:documentation>Name of the target.</xs:documentation>
1019 </xs:annotation>
1020 </xs:attribute>
1021 <xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
1022 <xs:annotation>
1023 <xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</xs:documentation>
1024 </xs:annotation>
1025 </xs:attribute>
1026 <xs:attribute name="newLine" type="xs:boolean">
1027 <xs:annotation>
1028 <xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
1029 </xs:annotation>
1030 </xs:attribute>
1031 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1032 <xs:annotation>
1033 <xs:documentation>Layout used to format log messages.</xs:documentation>
1034 </xs:annotation>
1035 </xs:attribute>
1036 <xs:attribute name="maxMessageSize" type="xs:integer">
1037 <xs:annotation>
1038 <xs:documentation>Maximum message size in bytes.</xs:documentation>
1039 </xs:annotation>
1040 </xs:attribute>
1041 <xs:attribute name="encoding" type="xs:string">
1042 <xs:annotation>
1043 <xs:documentation>Encoding to be used.</xs:documentation>
1044 </xs:annotation>
1045 </xs:attribute>
1046 <xs:attribute name="connectionCacheSize" type="xs:integer">
1047 <xs:annotation>
1048 <xs:documentation>Size of the connection cache (number of connections which are kept alive).</xs:documentation>
1049 </xs:annotation>
1050 </xs:attribute>
1051 <xs:attribute name="keepConnection" type="xs:boolean">
1052 <xs:annotation>
1053 <xs:documentation>Indicates whether to keep connection open whenever possible.</xs:documentation>
1054 </xs:annotation>
1055 </xs:attribute>
1056 <xs:attribute name="address" type="SimpleLayoutAttribute">
1057 <xs:annotation>
1058 <xs:documentation>Network address.</xs:documentation>
1059 </xs:annotation>
1060 </xs:attribute>
1061 </xs:extension>
1062 </xs:complexContent>
1063 </xs:complexType>
1064 <xs:complexType name="NLogViewer">
1065 <xs:complexContent>
1066 <xs:extension base="Target">
1067 <xs:choice minOccurs="0" maxOccurs="unbounded">
1068 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1069 <xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1070 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1071 <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
1072 <xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
1073 <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
1074 <xs:element name="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
1075 <xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
1076 <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1077 <xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1078 <xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1079 <xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
1080 <xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
1081 <xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1082 <xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1083 <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
1084 <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1085 </xs:choice>
1086 <xs:attribute name="name" type="xs:string">
1087 <xs:annotation>
1088 <xs:documentation>Name of the target.</xs:documentation>
1089 </xs:annotation>
1090 </xs:attribute>
1091 <xs:attribute name="newLine" type="xs:boolean">
1092 <xs:annotation>
1093 <xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
1094 </xs:annotation>
1095 </xs:attribute>
1096 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1097 <xs:annotation>
1098 <xs:documentation>Instance of that is used to format log messages.</xs:documentation>
1099 </xs:annotation>
1100 </xs:attribute>
1101 <xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
1102 <xs:annotation>
1103 <xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</xs:documentation>
1104 </xs:annotation>
1105 </xs:attribute>
1106 <xs:attribute name="maxMessageSize" type="xs:integer">
1107 <xs:annotation>
1108 <xs:documentation>Maximum message size in bytes.</xs:documentation>
1109 </xs:annotation>
1110 </xs:attribute>
1111 <xs:attribute name="encoding" type="xs:string">
1112 <xs:annotation>
1113 <xs:documentation>Encoding to be used.</xs:documentation>
1114 </xs:annotation>
1115 </xs:attribute>
1116 <xs:attribute name="connectionCacheSize" type="xs:integer">
1117 <xs:annotation>
1118 <xs:documentation>Size of the connection cache (number of connections which are kept alive).</xs:documentation>
1119 </xs:annotation>
1120 </xs:attribute>
1121 <xs:attribute name="address" type="SimpleLayoutAttribute">
1122 <xs:annotation>
1123 <xs:documentation>Network address.</xs:documentation>
1124 </xs:annotation>
1125 </xs:attribute>
1126 <xs:attribute name="keepConnection" type="xs:boolean">
1127 <xs:annotation>
1128 <xs:documentation>Indicates whether to keep connection open whenever possible.</xs:documentation>
1129 </xs:annotation>
1130 </xs:attribute>
1131 <xs:attribute name="includeSourceInfo" type="xs:boolean">
1132 <xs:annotation>
1133 <xs:documentation>Indicates whether to include source info (file name and line number) in the information sent over the network.</xs:documentation>
1134 </xs:annotation>
1135 </xs:attribute>
1136 <xs:attribute name="includeCallSite" type="xs:boolean">
1137 <xs:annotation>
1138 <xs:documentation>Indicates whether to include call site (class and method name) in the information sent over the network.</xs:documentation>
1139 </xs:annotation>
1140 </xs:attribute>
1141 <xs:attribute name="appInfo" type="xs:string">
1142 <xs:annotation>
1143 <xs:documentation>AppInfo field. By default it's the friendly name of the current AppDomain.</xs:documentation>
1144 </xs:annotation>
1145 </xs:attribute>
1146 <xs:attribute name="ndcItemSeparator" type="xs:string">
1147 <xs:annotation>
1148 <xs:documentation>NDC item separator.</xs:documentation>
1149 </xs:annotation>
1150 </xs:attribute>
1151 <xs:attribute name="includeNdc" type="xs:boolean">
1152 <xs:annotation>
1153 <xs:documentation>Indicates whether to include stack contents.</xs:documentation>
1154 </xs:annotation>
1155 </xs:attribute>
1156 <xs:attribute name="includeNLogData" type="xs:boolean">
1157 <xs:annotation>
1158 <xs:documentation>Indicates whether to include NLog-specific extensions to log4j schema.</xs:documentation>
1159 </xs:annotation>
1160 </xs:attribute>
1161 <xs:attribute name="includeMdc" type="xs:boolean">
1162 <xs:annotation>
1163 <xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
1164 </xs:annotation>
1165 </xs:attribute>
1166 </xs:extension>
1167 </xs:complexContent>
1168 </xs:complexType>
1169 <xs:complexType name="Null">
1170 <xs:complexContent>
1171 <xs:extension base="Target">
1172 <xs:choice minOccurs="0" maxOccurs="unbounded">
1173 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1174 <xs:element name="formatMessage" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1175 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1176 </xs:choice>
1177 <xs:attribute name="name" type="xs:string">
1178 <xs:annotation>
1179 <xs:documentation>Name of the target.</xs:documentation>
1180 </xs:annotation>
1181 </xs:attribute>
1182 <xs:attribute name="formatMessage" type="xs:boolean">
1183 <xs:annotation>
1184 <xs:documentation>Indicates whether to perform layout calculation.</xs:documentation>
1185 </xs:annotation>
1186 </xs:attribute>
1187 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1188 <xs:annotation>
1189 <xs:documentation>Layout used to format log messages.</xs:documentation>
1190 </xs:annotation>
1191 </xs:attribute>
1192 </xs:extension>
1193 </xs:complexContent>
1194 </xs:complexType>
1195 <xs:complexType name="OutputDebugString">
1196 <xs:complexContent>
1197 <xs:extension base="Target">
1198 <xs:choice minOccurs="0" maxOccurs="unbounded">
1199 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1200 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1201 </xs:choice>
1202 <xs:attribute name="name" type="xs:string">
1203 <xs:annotation>
1204 <xs:documentation>Name of the target.</xs:documentation>
1205 </xs:annotation>
1206 </xs:attribute>
1207 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1208 <xs:annotation>
1209 <xs:documentation>Layout used to format log messages.</xs:documentation>
1210 </xs:annotation>
1211 </xs:attribute>
1212 </xs:extension>
1213 </xs:complexContent>
1214 </xs:complexType>
1215 <xs:complexType name="PostFilteringWrapper">
1216 <xs:complexContent>
1217 <xs:extension base="WrapperTargetBase">
1218 <xs:choice minOccurs="0" maxOccurs="unbounded">
1219 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1220 <xs:element name="defaultFilter" minOccurs="0" maxOccurs="1" type="Condition" />
1221 <xs:element name="when" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.Wrappers.FilteringRule" />
1222 </xs:choice>
1223 <xs:attribute name="name" type="xs:string">
1224 <xs:annotation>
1225 <xs:documentation>Name of the target.</xs:documentation>
1226 </xs:annotation>
1227 </xs:attribute>
1228 <xs:attribute name="defaultFilter" type="Condition">
1229 <xs:annotation>
1230 <xs:documentation>Default filter to be applied when no specific rule matches.</xs:documentation>
1231 </xs:annotation>
1232 </xs:attribute>
1233 </xs:extension>
1234 </xs:complexContent>
1235 </xs:complexType>
1236 <xs:complexType name="NLog.Targets.Wrappers.FilteringRule">
1237 <xs:choice minOccurs="0" maxOccurs="unbounded">
1238 <xs:element name="exists" minOccurs="0" maxOccurs="1" type="Condition" />
1239 <xs:element name="filter" minOccurs="0" maxOccurs="1" type="Condition" />
1240 </xs:choice>
1241 <xs:attribute name="exists" type="Condition">
1242 <xs:annotation>
1243 <xs:documentation>Condition to be tested.</xs:documentation>
1244 </xs:annotation>
1245 </xs:attribute>
1246 <xs:attribute name="filter" type="Condition">
1247 <xs:annotation>
1248 <xs:documentation>Resulting filter to be applied when the condition matches.</xs:documentation>
1249 </xs:annotation>
1250 </xs:attribute>
1251 </xs:complexType>
1252 <xs:complexType name="RandomizeGroup">
1253 <xs:complexContent>
1254 <xs:extension base="CompoundTargetBase">
1255 <xs:choice minOccurs="0" maxOccurs="unbounded">
1256 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1257 </xs:choice>
1258 <xs:attribute name="name" type="xs:string">
1259 <xs:annotation>
1260 <xs:documentation>Name of the target.</xs:documentation>
1261 </xs:annotation>
1262 </xs:attribute>
1263 </xs:extension>
1264 </xs:complexContent>
1265 </xs:complexType>
1266 <xs:complexType name="RepeatingWrapper">
1267 <xs:complexContent>
1268 <xs:extension base="WrapperTargetBase">
1269 <xs:choice minOccurs="0" maxOccurs="unbounded">
1270 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1271 <xs:element name="repeatCount" minOccurs="0" maxOccurs="1" type="xs:integer" />
1272 </xs:choice>
1273 <xs:attribute name="name" type="xs:string">
1274 <xs:annotation>
1275 <xs:documentation>Name of the target.</xs:documentation>
1276 </xs:annotation>
1277 </xs:attribute>
1278 <xs:attribute name="repeatCount" type="xs:integer">
1279 <xs:annotation>
1280 <xs:documentation>Number of times to repeat each log message.</xs:documentation>
1281 </xs:annotation>
1282 </xs:attribute>
1283 </xs:extension>
1284 </xs:complexContent>
1285 </xs:complexType>
1286 <xs:complexType name="RetryingWrapper">
1287 <xs:complexContent>
1288 <xs:extension base="WrapperTargetBase">
1289 <xs:choice minOccurs="0" maxOccurs="unbounded">
1290 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1291 <xs:element name="retryDelayMilliseconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
1292 <xs:element name="retryCount" minOccurs="0" maxOccurs="1" type="xs:integer" />
1293 </xs:choice>
1294 <xs:attribute name="name" type="xs:string">
1295 <xs:annotation>
1296 <xs:documentation>Name of the target.</xs:documentation>
1297 </xs:annotation>
1298 </xs:attribute>
1299 <xs:attribute name="retryDelayMilliseconds" type="xs:integer">
1300 <xs:annotation>
1301 <xs:documentation>Time to wait between retries in milliseconds.</xs:documentation>
1302 </xs:annotation>
1303 </xs:attribute>
1304 <xs:attribute name="retryCount" type="xs:integer">
1305 <xs:annotation>
1306 <xs:documentation>Number of retries that should be attempted on the wrapped target in case of a failure.</xs:documentation>
1307 </xs:annotation>
1308 </xs:attribute>
1309 </xs:extension>
1310 </xs:complexContent>
1311 </xs:complexType>
1312 <xs:complexType name="RoundRobinGroup">
1313 <xs:complexContent>
1314 <xs:extension base="CompoundTargetBase">
1315 <xs:choice minOccurs="0" maxOccurs="unbounded">
1316 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1317 </xs:choice>
1318 <xs:attribute name="name" type="xs:string">
1319 <xs:annotation>
1320 <xs:documentation>Name of the target.</xs:documentation>
1321 </xs:annotation>
1322 </xs:attribute>
1323 </xs:extension>
1324 </xs:complexContent>
1325 </xs:complexType>
1326 <xs:complexType name="SplitGroup">
1327 <xs:complexContent>
1328 <xs:extension base="CompoundTargetBase">
1329 <xs:choice minOccurs="0" maxOccurs="unbounded">
1330 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1331 </xs:choice>
1332 <xs:attribute name="name" type="xs:string">
1333 <xs:annotation>
1334 <xs:documentation>Name of the target.</xs:documentation>
1335 </xs:annotation>
1336 </xs:attribute>
1337 </xs:extension>
1338 </xs:complexContent>
1339 </xs:complexType>
1340 <xs:complexType name="WebService">
1341 <xs:complexContent>
1342 <xs:extension base="Target">
1343 <xs:choice minOccurs="0" maxOccurs="unbounded">
1344 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1345 <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
1346 <xs:element name="url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
1347 <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
1348 <xs:element name="protocol" minOccurs="0" maxOccurs="1" type="NLog.Targets.WebServiceProtocol" />
1349 <xs:element name="namespace" minOccurs="0" maxOccurs="1" type="xs:string" />
1350 <xs:element name="methodName" minOccurs="0" maxOccurs="1" type="xs:string" />
1351 </xs:choice>
1352 <xs:attribute name="name" type="xs:string">
1353 <xs:annotation>
1354 <xs:documentation>Name of the target.</xs:documentation>
1355 </xs:annotation>
1356 </xs:attribute>
1357 <xs:attribute name="url" type="xs:anyURI">
1358 <xs:annotation>
1359 <xs:documentation>Web service URL.</xs:documentation>
1360 </xs:annotation>
1361 </xs:attribute>
1362 <xs:attribute name="encoding" type="xs:string">
1363 <xs:annotation>
1364 <xs:documentation>Encoding.</xs:documentation>
1365 </xs:annotation>
1366 </xs:attribute>
1367 <xs:attribute name="protocol" type="NLog.Targets.WebServiceProtocol">
1368 <xs:annotation>
1369 <xs:documentation>Protocol to be used when calling web service.</xs:documentation>
1370 </xs:annotation>
1371 </xs:attribute>
1372 <xs:attribute name="namespace" type="xs:string">
1373 <xs:annotation>
1374 <xs:documentation>Web service namespace.</xs:documentation>
1375 </xs:annotation>
1376 </xs:attribute>
1377 <xs:attribute name="methodName" type="xs:string">
1378 <xs:annotation>
1379 <xs:documentation>Web service method name.</xs:documentation>
1380 </xs:annotation>
1381 </xs:attribute>
1382 </xs:extension>
1383 </xs:complexContent>
1384 </xs:complexType>
1385 <xs:simpleType name="NLog.Targets.WebServiceProtocol">
1386 <xs:restriction base="xs:string">
1387 <xs:enumeration value="Soap11" />
1388 <xs:enumeration value="Soap12" />
1389 <xs:enumeration value="HttpPost" />
1390 <xs:enumeration value="HttpGet" />
1391 </xs:restriction>
1392 </xs:simpleType>
1393 <xs:complexType name="CsvLayout">
1394 <xs:complexContent>
1395 <xs:extension base="Layout">
1396 <xs:choice minOccurs="0" maxOccurs="unbounded">
1397 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1398 <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
1399 <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
1400 <xs:element name="quoting" minOccurs="0" maxOccurs="1" type="NLog.Layouts.CsvQuotingMode" />
1401 <xs:element name="quoteChar" minOccurs="0" maxOccurs="1" type="xs:string" />
1402 <xs:element name="withHeader" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1403 <xs:element name="customColumnDelimiter" minOccurs="0" maxOccurs="1" type="xs:string" />
1404 <xs:element name="delimiter" minOccurs="0" maxOccurs="1" type="NLog.Layouts.CsvColumnDelimiterMode" />
1405 <xs:element name="column" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.CsvColumn" />
1406 </xs:choice>
1407 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1408 <xs:annotation>
1409 <xs:documentation>Body layout (can be repeated multiple times).</xs:documentation>
1410 </xs:annotation>
1411 </xs:attribute>
1412 <xs:attribute name="footer" type="SimpleLayoutAttribute">
1413 <xs:annotation>
1414 <xs:documentation>Footer layout.</xs:documentation>
1415 </xs:annotation>
1416 </xs:attribute>
1417 <xs:attribute name="header" type="SimpleLayoutAttribute">
1418 <xs:annotation>
1419 <xs:documentation>Header layout.</xs:documentation>
1420 </xs:annotation>
1421 </xs:attribute>
1422 <xs:attribute name="quoting" type="NLog.Layouts.CsvQuotingMode">
1423 <xs:annotation>
1424 <xs:documentation>Quoting mode.</xs:documentation>
1425 </xs:annotation>
1426 </xs:attribute>
1427 <xs:attribute name="quoteChar" type="xs:string">
1428 <xs:annotation>
1429 <xs:documentation>Quote Character.</xs:documentation>
1430 </xs:annotation>
1431 </xs:attribute>
1432 <xs:attribute name="withHeader" type="xs:boolean">
1433 <xs:annotation>
1434 <xs:documentation>Indicates whether CVS should include header.</xs:documentation>
1435 </xs:annotation>
1436 </xs:attribute>
1437 <xs:attribute name="customColumnDelimiter" type="xs:string">
1438 <xs:annotation>
1439 <xs:documentation>Custom column delimiter value (valid when ColumnDelimiter is set to 'Custom').</xs:documentation>
1440 </xs:annotation>
1441 </xs:attribute>
1442 <xs:attribute name="delimiter" type="NLog.Layouts.CsvColumnDelimiterMode">
1443 <xs:annotation>
1444 <xs:documentation>Column delimiter.</xs:documentation>
1445 </xs:annotation>
1446 </xs:attribute>
1447 </xs:extension>
1448 </xs:complexContent>
1449 </xs:complexType>
1450 <xs:simpleType name="NLog.Layouts.CsvQuotingMode">
1451 <xs:restriction base="xs:string">
1452 <xs:enumeration value="All" />
1453 <xs:enumeration value="Nothing" />
1454 <xs:enumeration value="Auto" />
1455 </xs:restriction>
1456 </xs:simpleType>
1457 <xs:simpleType name="NLog.Layouts.CsvColumnDelimiterMode">
1458 <xs:restriction base="xs:string">
1459 <xs:enumeration value="Auto" />
1460 <xs:enumeration value="Comma" />
1461 <xs:enumeration value="Semicolon" />
1462 <xs:enumeration value="Tab" />
1463 <xs:enumeration value="Pipe" />
1464 <xs:enumeration value="Space" />
1465 <xs:enumeration value="Custom" />
1466 </xs:restriction>
1467 </xs:simpleType>
1468 <xs:complexType name="NLog.Layouts.CsvColumn">
1469 <xs:choice minOccurs="0" maxOccurs="unbounded">
1470 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1471 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1472 </xs:choice>
1473 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1474 <xs:annotation>
1475 <xs:documentation>Layout of the column.</xs:documentation>
1476 </xs:annotation>
1477 </xs:attribute>
1478 <xs:attribute name="name" type="xs:string">
1479 <xs:annotation>
1480 <xs:documentation>Name of the column.</xs:documentation>
1481 </xs:annotation>
1482 </xs:attribute>
1483 </xs:complexType>
1484 <xs:complexType name="SimpleLayout">
1485 <xs:complexContent>
1486 <xs:extension base="Layout">
1487 <xs:choice minOccurs="0" maxOccurs="unbounded">
1488 <xs:element name="text" minOccurs="0" maxOccurs="1" type="xs:string" />
1489 </xs:choice>
1490 <xs:attribute name="text" type="xs:string">
1491 <xs:annotation>
1492 <xs:documentation>Layout text.</xs:documentation>
1493 </xs:annotation>
1494 </xs:attribute>
1495 </xs:extension>
1496 </xs:complexContent>
1497 </xs:complexType>
1498 <xs:complexType name="LayoutWithHeaderAndFooter">
1499 <xs:complexContent>
1500 <xs:extension base="Layout">
1501 <xs:choice minOccurs="0" maxOccurs="unbounded">
1502 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1503 <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
1504 <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
1505 </xs:choice>
1506 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1507 <xs:annotation>
1508 <xs:documentation>Body layout (can be repeated multiple times).</xs:documentation>
1509 </xs:annotation>
1510 </xs:attribute>
1511 <xs:attribute name="header" type="SimpleLayoutAttribute">
1512 <xs:annotation>
1513 <xs:documentation>Header layout.</xs:documentation>
1514 </xs:annotation>
1515 </xs:attribute>
1516 <xs:attribute name="footer" type="SimpleLayoutAttribute">
1517 <xs:annotation>
1518 <xs:documentation>Footer layout.</xs:documentation>
1519 </xs:annotation>
1520 </xs:attribute>
1521 </xs:extension>
1522 </xs:complexContent>
1523 </xs:complexType>
1524 <xs:complexType name="Log4JXmlEventLayout">
1525 <xs:complexContent>
1526 <xs:extension base="Layout">
1527 <xs:choice minOccurs="0" maxOccurs="unbounded" />
1528 </xs:extension>
1529 </xs:complexContent>
1530 </xs:complexType>
1531 <xs:complexType name="when">
1532 <xs:complexContent>
1533 <xs:extension base="Filter">
1534 <xs:choice minOccurs="0" maxOccurs="unbounded">
1535 <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
1536 <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
1537 </xs:choice>
1538 <xs:attribute name="condition" type="Condition">
1539 <xs:annotation>
1540 <xs:documentation>Condition expression.</xs:documentation>
1541 </xs:annotation>
1542 </xs:attribute>
1543 <xs:attribute name="action" type="FilterResult">
1544 <xs:annotation>
1545 <xs:documentation>Action to be taken when filter matches.</xs:documentation>
1546 </xs:annotation>
1547 </xs:attribute>
1548 </xs:extension>
1549 </xs:complexContent>
1550 </xs:complexType>
1551 <xs:simpleType name="FilterResult">
1552 <xs:restriction base="xs:string">
1553 <xs:enumeration value="Neutral" />
1554 <xs:enumeration value="Log" />
1555 <xs:enumeration value="Ignore" />
1556 <xs:enumeration value="LogFinal" />
1557 <xs:enumeration value="IgnoreFinal" />
1558 </xs:restriction>
1559 </xs:simpleType>
1560 <xs:complexType name="whenContains">
1561 <xs:complexContent>
1562 <xs:extension base="Filter">
1563 <xs:choice minOccurs="0" maxOccurs="unbounded">
1564 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1565 <xs:element name="substring" minOccurs="0" maxOccurs="1" type="xs:string" />
1566 <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
1567 <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1568 </xs:choice>
1569 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1570 <xs:annotation>
1571 <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
1572 </xs:annotation>
1573 </xs:attribute>
1574 <xs:attribute name="substring" type="xs:string">
1575 <xs:annotation>
1576 <xs:documentation>Substring to be matched.</xs:documentation>
1577 </xs:annotation>
1578 </xs:attribute>
1579 <xs:attribute name="action" type="FilterResult">
1580 <xs:annotation>
1581 <xs:documentation>Action to be taken when filter matches.</xs:documentation>
1582 </xs:annotation>
1583 </xs:attribute>
1584 <xs:attribute name="ignoreCase" type="xs:boolean">
1585 <xs:annotation>
1586 <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
1587 </xs:annotation>
1588 </xs:attribute>
1589 </xs:extension>
1590 </xs:complexContent>
1591 </xs:complexType>
1592 <xs:complexType name="whenEqual">
1593 <xs:complexContent>
1594 <xs:extension base="Filter">
1595 <xs:choice minOccurs="0" maxOccurs="unbounded">
1596 <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1597 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1598 <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
1599 <xs:element name="compareTo" minOccurs="0" maxOccurs="1" type="xs:string" />
1600 </xs:choice>
1601 <xs:attribute name="ignoreCase" type="xs:boolean">
1602 <xs:annotation>
1603 <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
1604 </xs:annotation>
1605 </xs:attribute>
1606 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1607 <xs:annotation>
1608 <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
1609 </xs:annotation>
1610 </xs:attribute>
1611 <xs:attribute name="action" type="FilterResult">
1612 <xs:annotation>
1613 <xs:documentation>Action to be taken when filter matches.</xs:documentation>
1614 </xs:annotation>
1615 </xs:attribute>
1616 <xs:attribute name="compareTo" type="xs:string">
1617 <xs:annotation>
1618 <xs:documentation>String to compare the layout to.</xs:documentation>
1619 </xs:annotation>
1620 </xs:attribute>
1621 </xs:extension>
1622 </xs:complexContent>
1623 </xs:complexType>
1624 <xs:complexType name="whenNotContains">
1625 <xs:complexContent>
1626 <xs:extension base="Filter">
1627 <xs:choice minOccurs="0" maxOccurs="unbounded">
1628 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1629 <xs:element name="substring" minOccurs="0" maxOccurs="1" type="xs:string" />
1630 <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
1631 <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1632 </xs:choice>
1633 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1634 <xs:annotation>
1635 <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
1636 </xs:annotation>
1637 </xs:attribute>
1638 <xs:attribute name="substring" type="xs:string">
1639 <xs:annotation>
1640 <xs:documentation>Substring to be matched.</xs:documentation>
1641 </xs:annotation>
1642 </xs:attribute>
1643 <xs:attribute name="action" type="FilterResult">
1644 <xs:annotation>
1645 <xs:documentation>Action to be taken when filter matches.</xs:documentation>
1646 </xs:annotation>
1647 </xs:attribute>
1648 <xs:attribute name="ignoreCase" type="xs:boolean">
1649 <xs:annotation>
1650 <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
1651 </xs:annotation>
1652 </xs:attribute>
1653 </xs:extension>
1654 </xs:complexContent>
1655 </xs:complexType>
1656 <xs:complexType name="whenNotEqual">
1657 <xs:complexContent>
1658 <xs:extension base="Filter">
1659 <xs:choice minOccurs="0" maxOccurs="unbounded">
1660 <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1661 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1662 <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
1663 <xs:element name="compareTo" minOccurs="0" maxOccurs="1" type="xs:string" />
1664 </xs:choice>
1665 <xs:attribute name="ignoreCase" type="xs:boolean">
1666 <xs:annotation>
1667 <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
1668 </xs:annotation>
1669 </xs:attribute>
1670 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1671 <xs:annotation>
1672 <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
1673 </xs:annotation>
1674 </xs:attribute>
1675 <xs:attribute name="action" type="FilterResult">
1676 <xs:annotation>
1677 <xs:documentation>Action to be taken when filter matches.</xs:documentation>
1678 </xs:annotation>
1679 </xs:attribute>
1680 <xs:attribute name="compareTo" type="xs:string">
1681 <xs:annotation>
1682 <xs:documentation>String to compare the layout to.</xs:documentation>
1683 </xs:annotation>
1684 </xs:attribute>
1685 </xs:extension>
1686 </xs:complexContent>
1687 </xs:complexType>
1688 <xs:complexType name="MSMQ">
1689 <xs:complexContent>
1690 <xs:extension base="Target">
1691 <xs:choice minOccurs="0" maxOccurs="unbounded">
1692 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1693 <xs:element name="useXmlEncoding" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1694 <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
1695 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1696 <xs:element name="recoverable" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1697 <xs:element name="createQueueIfNotExists" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1698 <xs:element name="label" minOccurs="0" maxOccurs="1" type="Layout" />
1699 <xs:element name="queue" minOccurs="0" maxOccurs="1" type="Layout" />
1700 </xs:choice>
1701 <xs:attribute name="name" type="xs:string">
1702 <xs:annotation>
1703 <xs:documentation>Name of the target.</xs:documentation>
1704 </xs:annotation>
1705 </xs:attribute>
1706 <xs:attribute name="useXmlEncoding" type="xs:boolean">
1707 <xs:annotation>
1708 <xs:documentation>Indicates whether to use the XML format when serializing message.</xs:documentation>
1709 </xs:annotation>
1710 </xs:attribute>
1711 <xs:attribute name="encoding" type="xs:string">
1712 <xs:annotation>
1713 <xs:documentation>Encoding to be used when writing text to the queue.</xs:documentation>
1714 </xs:annotation>
1715 </xs:attribute>
1716 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1717 <xs:annotation>
1718 <xs:documentation>Layout used to format log messages.</xs:documentation>
1719 </xs:annotation>
1720 </xs:attribute>
1721 <xs:attribute name="recoverable" type="xs:boolean">
1722 <xs:annotation>
1723 <xs:documentation>Indicates whether to use recoverable messages (with guaranteed delivery).</xs:documentation>
1724 </xs:annotation>
1725 </xs:attribute>
1726 <xs:attribute name="createQueueIfNotExists" type="xs:boolean">
1727 <xs:annotation>
1728 <xs:documentation>Indicates whether to create the queue if it doesn't exists.</xs:documentation>
1729 </xs:annotation>
1730 </xs:attribute>
1731 <xs:attribute name="label" type="SimpleLayoutAttribute">
1732 <xs:annotation>
1733 <xs:documentation>Label to associate with each message.</xs:documentation>
1734 </xs:annotation>
1735 </xs:attribute>
1736 <xs:attribute name="queue" type="SimpleLayoutAttribute">
1737 <xs:annotation>
1738 <xs:documentation>Name of the queue to write to.</xs:documentation>
1739 </xs:annotation>
1740 </xs:attribute>
1741 </xs:extension>
1742 </xs:complexContent>
1743 </xs:complexType>
1744 <xs:complexType name="AspNetBufferingWrapper">
1745 <xs:complexContent>
1746 <xs:extension base="WrapperTargetBase">
1747 <xs:choice minOccurs="0" maxOccurs="unbounded">
1748 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1749 <xs:element name="bufferGrowLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
1750 <xs:element name="growBufferAsNeeded" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1751 <xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
1752 </xs:choice>
1753 <xs:attribute name="name" type="xs:string">
1754 <xs:annotation>
1755 <xs:documentation>Name of the target.</xs:documentation>
1756 </xs:annotation>
1757 </xs:attribute>
1758 <xs:attribute name="bufferGrowLimit" type="xs:integer">
1759 <xs:annotation>
1760 <xs:documentation>Maximum number of log events that the buffer can keep.</xs:documentation>
1761 </xs:annotation>
1762 </xs:attribute>
1763 <xs:attribute name="growBufferAsNeeded" type="xs:boolean">
1764 <xs:annotation>
1765 <xs:documentation>Indicates whether buffer should grow as needed.</xs:documentation>
1766 </xs:annotation>
1767 </xs:attribute>
1768 <xs:attribute name="bufferSize" type="xs:integer">
1769 <xs:annotation>
1770 <xs:documentation>Number of log events to be buffered.</xs:documentation>
1771 </xs:annotation>
1772 </xs:attribute>
1773 </xs:extension>
1774 </xs:complexContent>
1775 </xs:complexType>
1776 <xs:complexType name="AspNetTrace">
1777 <xs:complexContent>
1778 <xs:extension base="Target">
1779 <xs:choice minOccurs="0" maxOccurs="unbounded">
1780 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1781 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1782 </xs:choice>
1783 <xs:attribute name="name" type="xs:string">
1784 <xs:annotation>
1785 <xs:documentation>Name of the target.</xs:documentation>
1786 </xs:annotation>
1787 </xs:attribute>
1788 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1789 <xs:annotation>
1790 <xs:documentation>Layout used to format log messages.</xs:documentation>
1791 </xs:annotation>
1792 </xs:attribute>
1793 </xs:extension>
1794 </xs:complexContent>
1795 </xs:complexType>
1796 <xs:complexType name="AspResponse">
1797 <xs:complexContent>
1798 <xs:extension base="Target">
1799 <xs:choice minOccurs="0" maxOccurs="unbounded">
1800 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1801 <xs:element name="addComments" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1802 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1803 </xs:choice>
1804 <xs:attribute name="name" type="xs:string">
1805 <xs:annotation>
1806 <xs:documentation>Name of the target.</xs:documentation>
1807 </xs:annotation>
1808 </xs:attribute>
1809 <xs:attribute name="addComments" type="xs:boolean">
1810 <xs:annotation>
1811 <xs:documentation>Indicates whether to add &lt;!-- --&gt; comments around all written texts.</xs:documentation>
1812 </xs:annotation>
1813 </xs:attribute>
1814 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1815 <xs:annotation>
1816 <xs:documentation>Layout used to format log messages.</xs:documentation>
1817 </xs:annotation>
1818 </xs:attribute>
1819 </xs:extension>
1820 </xs:complexContent>
1821 </xs:complexType>
1822 <xs:complexType name="ColoredConsole">
1823 <xs:complexContent>
1824 <xs:extension base="Target">
1825 <xs:choice minOccurs="0" maxOccurs="unbounded">
1826 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1827 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1828 <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
1829 <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
1830 <xs:element name="useDefaultRowHighlightingRules" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1831 <xs:element name="highlight-row" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.ConsoleRowHighlightingRule" />
1832 <xs:element name="highlight-word" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.ConsoleWordHighlightingRule" />
1833 <xs:element name="errorStream" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1834 </xs:choice>
1835 <xs:attribute name="name" type="xs:string">
1836 <xs:annotation>
1837 <xs:documentation>Name of the target.</xs:documentation>
1838 </xs:annotation>
1839 </xs:attribute>
1840 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1841 <xs:annotation>
1842 <xs:documentation>Text to be rendered.</xs:documentation>
1843 </xs:annotation>
1844 </xs:attribute>
1845 <xs:attribute name="header" type="SimpleLayoutAttribute">
1846 <xs:annotation>
1847 <xs:documentation>Header.</xs:documentation>
1848 </xs:annotation>
1849 </xs:attribute>
1850 <xs:attribute name="footer" type="SimpleLayoutAttribute">
1851 <xs:annotation>
1852 <xs:documentation>Footer.</xs:documentation>
1853 </xs:annotation>
1854 </xs:attribute>
1855 <xs:attribute name="useDefaultRowHighlightingRules" type="xs:boolean">
1856 <xs:annotation>
1857 <xs:documentation>Indicates whether to use default row highlighting rules.</xs:documentation>
1858 </xs:annotation>
1859 </xs:attribute>
1860 <xs:attribute name="errorStream" type="xs:boolean">
1861 <xs:annotation>
1862 <xs:documentation>Indicates whether the error stream (stderr) should be used instead of the output stream (stdout).</xs:documentation>
1863 </xs:annotation>
1864 </xs:attribute>
1865 </xs:extension>
1866 </xs:complexContent>
1867 </xs:complexType>
1868 <xs:simpleType name="NLog.Targets.ConsoleOutputColor">
1869 <xs:restriction base="xs:string">
1870 <xs:enumeration value="Black" />
1871 <xs:enumeration value="DarkBlue" />
1872 <xs:enumeration value="DarkGreen" />
1873 <xs:enumeration value="DarkCyan" />
1874 <xs:enumeration value="DarkRed" />
1875 <xs:enumeration value="DarkMagenta" />
1876 <xs:enumeration value="DarkYellow" />
1877 <xs:enumeration value="Gray" />
1878 <xs:enumeration value="DarkGray" />
1879 <xs:enumeration value="Blue" />
1880 <xs:enumeration value="Green" />
1881 <xs:enumeration value="Cyan" />
1882 <xs:enumeration value="Red" />
1883 <xs:enumeration value="Magenta" />
1884 <xs:enumeration value="Yellow" />
1885 <xs:enumeration value="White" />
1886 <xs:enumeration value="NoChange" />
1887 </xs:restriction>
1888 </xs:simpleType>
1889 <xs:complexType name="NLog.Targets.ConsoleRowHighlightingRule">
1890 <xs:choice minOccurs="0" maxOccurs="unbounded">
1891 <xs:element name="backgroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
1892 <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
1893 <xs:element name="foregroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
1894 </xs:choice>
1895 <xs:attribute name="backgroundColor" type="NLog.Targets.ConsoleOutputColor">
1896 <xs:annotation>
1897 <xs:documentation>Background color.</xs:documentation>
1898 </xs:annotation>
1899 </xs:attribute>
1900 <xs:attribute name="condition" type="Condition">
1901 <xs:annotation>
1902 <xs:documentation>Condition that must be met in order to set the specified foreground and background color.</xs:documentation>
1903 </xs:annotation>
1904 </xs:attribute>
1905 <xs:attribute name="foregroundColor" type="NLog.Targets.ConsoleOutputColor">
1906 <xs:annotation>
1907 <xs:documentation>Foreground color.</xs:documentation>
1908 </xs:annotation>
1909 </xs:attribute>
1910 </xs:complexType>
1911 <xs:complexType name="NLog.Targets.ConsoleWordHighlightingRule">
1912 <xs:choice minOccurs="0" maxOccurs="unbounded">
1913 <xs:element name="backgroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
1914 <xs:element name="foregroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
1915 <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1916 <xs:element name="regex" minOccurs="0" maxOccurs="1" type="xs:string" />
1917 <xs:element name="text" minOccurs="0" maxOccurs="1" type="xs:string" />
1918 <xs:element name="wholeWords" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1919 </xs:choice>
1920 <xs:attribute name="backgroundColor" type="NLog.Targets.ConsoleOutputColor">
1921 <xs:annotation>
1922 <xs:documentation>Background color.</xs:documentation>
1923 </xs:annotation>
1924 </xs:attribute>
1925 <xs:attribute name="foregroundColor" type="NLog.Targets.ConsoleOutputColor">
1926 <xs:annotation>
1927 <xs:documentation>Foreground color.</xs:documentation>
1928 </xs:annotation>
1929 </xs:attribute>
1930 <xs:attribute name="ignoreCase" type="xs:boolean">
1931 <xs:annotation>
1932 <xs:documentation>Indicates whether to ignore case when comparing texts.</xs:documentation>
1933 </xs:annotation>
1934 </xs:attribute>
1935 <xs:attribute name="regex" type="xs:string">
1936 <xs:annotation>
1937 <xs:documentation>Regular expression to be matched. You must specify either text or regex.</xs:documentation>
1938 </xs:annotation>
1939 </xs:attribute>
1940 <xs:attribute name="text" type="xs:string">
1941 <xs:annotation>
1942 <xs:documentation>Text to be matched. You must specify either text or regex.</xs:documentation>
1943 </xs:annotation>
1944 </xs:attribute>
1945 <xs:attribute name="wholeWords" type="xs:boolean">
1946 <xs:annotation>
1947 <xs:documentation>Indicates whether to match whole words only.</xs:documentation>
1948 </xs:annotation>
1949 </xs:attribute>
1950 </xs:complexType>
1951 <xs:complexType name="Debugger">
1952 <xs:complexContent>
1953 <xs:extension base="Target">
1954 <xs:choice minOccurs="0" maxOccurs="unbounded">
1955 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1956 <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
1957 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1958 <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
1959 </xs:choice>
1960 <xs:attribute name="name" type="xs:string">
1961 <xs:annotation>
1962 <xs:documentation>Name of the target.</xs:documentation>
1963 </xs:annotation>
1964 </xs:attribute>
1965 <xs:attribute name="footer" type="SimpleLayoutAttribute">
1966 <xs:annotation>
1967 <xs:documentation>Footer.</xs:documentation>
1968 </xs:annotation>
1969 </xs:attribute>
1970 <xs:attribute name="layout" type="SimpleLayoutAttribute">
1971 <xs:annotation>
1972 <xs:documentation>Text to be rendered.</xs:documentation>
1973 </xs:annotation>
1974 </xs:attribute>
1975 <xs:attribute name="header" type="SimpleLayoutAttribute">
1976 <xs:annotation>
1977 <xs:documentation>Header.</xs:documentation>
1978 </xs:annotation>
1979 </xs:attribute>
1980 </xs:extension>
1981 </xs:complexContent>
1982 </xs:complexType>
1983 <xs:complexType name="EventLog">
1984 <xs:complexContent>
1985 <xs:extension base="Target">
1986 <xs:choice minOccurs="0" maxOccurs="unbounded">
1987 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1988 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1989 <xs:element name="machineName" minOccurs="0" maxOccurs="1" type="xs:string" />
1990 <xs:element name="source" minOccurs="0" maxOccurs="1" type="xs:string" />
1991 <xs:element name="category" minOccurs="0" maxOccurs="1" type="Layout" />
1992 <xs:element name="eventId" minOccurs="0" maxOccurs="1" type="Layout" />
1993 <xs:element name="log" minOccurs="0" maxOccurs="1" type="xs:string" />
1994 </xs:choice>
1995 <xs:attribute name="name" type="xs:string">
1996 <xs:annotation>
1997 <xs:documentation>Name of the target.</xs:documentation>
1998 </xs:annotation>
1999 </xs:attribute>
2000 <xs:attribute name="layout" type="SimpleLayoutAttribute">
2001 <xs:annotation>
2002 <xs:documentation>Layout used to format log messages.</xs:documentation>
2003 </xs:annotation>
2004 </xs:attribute>
2005 <xs:attribute name="machineName" type="xs:string">
2006 <xs:annotation>
2007 <xs:documentation>Name of the machine on which Event Log service is running.</xs:documentation>
2008 </xs:annotation>
2009 </xs:attribute>
2010 <xs:attribute name="source" type="xs:string">
2011 <xs:annotation>
2012 <xs:documentation>Value to be used as the event Source.</xs:documentation>
2013 </xs:annotation>
2014 </xs:attribute>
2015 <xs:attribute name="category" type="SimpleLayoutAttribute">
2016 <xs:annotation>
2017 <xs:documentation>Layout that renders event Category.</xs:documentation>
2018 </xs:annotation>
2019 </xs:attribute>
2020 <xs:attribute name="eventId" type="SimpleLayoutAttribute">
2021 <xs:annotation>
2022 <xs:documentation>Layout that renders event ID.</xs:documentation>
2023 </xs:annotation>
2024 </xs:attribute>
2025 <xs:attribute name="log" type="xs:string">
2026 <xs:annotation>
2027 <xs:documentation>Name of the Event Log to write to. This can be System, Application or any user-defined name.</xs:documentation>
2028 </xs:annotation>
2029 </xs:attribute>
2030 </xs:extension>
2031 </xs:complexContent>
2032 </xs:complexType>
2033 <xs:complexType name="FormControl">
2034 <xs:complexContent>
2035 <xs:extension base="Target">
2036 <xs:choice minOccurs="0" maxOccurs="unbounded">
2037 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2038 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2039 <xs:element name="append" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2040 <xs:element name="controlName" minOccurs="0" maxOccurs="1" type="xs:string" />
2041 <xs:element name="formName" minOccurs="0" maxOccurs="1" type="xs:string" />
2042 </xs:choice>
2043 <xs:attribute name="name" type="xs:string">
2044 <xs:annotation>
2045 <xs:documentation>Name of the target.</xs:documentation>
2046 </xs:annotation>
2047 </xs:attribute>
2048 <xs:attribute name="layout" type="SimpleLayoutAttribute">
2049 <xs:annotation>
2050 <xs:documentation>Layout used to format log messages.</xs:documentation>
2051 </xs:annotation>
2052 </xs:attribute>
2053 <xs:attribute name="append" type="xs:boolean">
2054 <xs:annotation>
2055 <xs:documentation>Indicates whether log text should be appended to the text of the control instead of overwriting it.</xs:documentation>
2056 </xs:annotation>
2057 </xs:attribute>
2058 <xs:attribute name="controlName" type="xs:string">
2059 <xs:annotation>
2060 <xs:documentation>Name of control to which NLog will log write log text.</xs:documentation>
2061 </xs:annotation>
2062 </xs:attribute>
2063 <xs:attribute name="formName" type="xs:string">
2064 <xs:annotation>
2065 <xs:documentation>Name of the Form on which the control is located.</xs:documentation>
2066 </xs:annotation>
2067 </xs:attribute>
2068 </xs:extension>
2069 </xs:complexContent>
2070 </xs:complexType>
2071 <xs:complexType name="ImpersonatingWrapper">
2072 <xs:complexContent>
2073 <xs:extension base="WrapperTargetBase">
2074 <xs:choice minOccurs="0" maxOccurs="unbounded">
2075 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2076 <xs:element name="userName" minOccurs="0" maxOccurs="1" type="xs:string" />
2077 <xs:element name="password" minOccurs="0" maxOccurs="1" type="xs:string" />
2078 <xs:element name="revertToSelf" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2079 <xs:element name="impersonationLevel" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.SecurityImpersonationLevel" />
2080 <xs:element name="domain" minOccurs="0" maxOccurs="1" type="xs:string" />
2081 <xs:element name="logOnType" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.SecurityLogOnType" />
2082 <xs:element name="logOnProvider" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.LogOnProviderType" />
2083 </xs:choice>
2084 <xs:attribute name="name" type="xs:string">
2085 <xs:annotation>
2086 <xs:documentation>Name of the target.</xs:documentation>
2087 </xs:annotation>
2088 </xs:attribute>
2089 <xs:attribute name="userName" type="xs:string">
2090 <xs:annotation>
2091 <xs:documentation>Username to change context to.</xs:documentation>
2092 </xs:annotation>
2093 </xs:attribute>
2094 <xs:attribute name="password" type="xs:string">
2095 <xs:annotation>
2096 <xs:documentation>User account password.</xs:documentation>
2097 </xs:annotation>
2098 </xs:attribute>
2099 <xs:attribute name="revertToSelf" type="xs:boolean">
2100 <xs:annotation>
2101 <xs:documentation>Indicates whether to revert to the credentials of the process instead of impersonating another user.</xs:documentation>
2102 </xs:annotation>
2103 </xs:attribute>
2104 <xs:attribute name="impersonationLevel" type="NLog.Targets.Wrappers.SecurityImpersonationLevel">
2105 <xs:annotation>
2106 <xs:documentation>Required impersonation level.</xs:documentation>
2107 </xs:annotation>
2108 </xs:attribute>
2109 <xs:attribute name="domain" type="xs:string">
2110 <xs:annotation>
2111 <xs:documentation>Windows domain name to change context to.</xs:documentation>
2112 </xs:annotation>
2113 </xs:attribute>
2114 <xs:attribute name="logOnType" type="NLog.Targets.Wrappers.SecurityLogOnType">
2115 <xs:annotation>
2116 <xs:documentation>Logon Type.</xs:documentation>
2117 </xs:annotation>
2118 </xs:attribute>
2119 <xs:attribute name="logOnProvider" type="NLog.Targets.Wrappers.LogOnProviderType">
2120 <xs:annotation>
2121 <xs:documentation>Type of the logon provider.</xs:documentation>
2122 </xs:annotation>
2123 </xs:attribute>
2124 </xs:extension>
2125 </xs:complexContent>
2126 </xs:complexType>
2127 <xs:simpleType name="NLog.Targets.Wrappers.SecurityImpersonationLevel">
2128 <xs:restriction base="xs:string">
2129 <xs:enumeration value="Anonymous" />
2130 <xs:enumeration value="Identification" />
2131 <xs:enumeration value="Impersonation" />
2132 <xs:enumeration value="Delegation" />
2133 </xs:restriction>
2134 </xs:simpleType>
2135 <xs:simpleType name="NLog.Targets.Wrappers.SecurityLogOnType">
2136 <xs:restriction base="xs:string">
2137 <xs:enumeration value="Interactive" />
2138 <xs:enumeration value="Network" />
2139 <xs:enumeration value="Batch" />
2140 <xs:enumeration value="Service" />
2141 <xs:enumeration value="NetworkClearText" />
2142 <xs:enumeration value="NewCredentials" />
2143 </xs:restriction>
2144 </xs:simpleType>
2145 <xs:simpleType name="NLog.Targets.Wrappers.LogOnProviderType">
2146 <xs:restriction base="xs:string">
2147 <xs:enumeration value="Default" />
2148 </xs:restriction>
2149 </xs:simpleType>
2150 <xs:complexType name="Mail">
2151 <xs:complexContent>
2152 <xs:extension base="Target">
2153 <xs:choice minOccurs="0" maxOccurs="unbounded">
2154 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2155 <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
2156 <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
2157 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2158 <xs:element name="html" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2159 <xs:element name="addNewLines" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2160 <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
2161 <xs:element name="subject" minOccurs="0" maxOccurs="1" type="Layout" />
2162 <xs:element name="to" minOccurs="0" maxOccurs="1" type="Layout" />
2163 <xs:element name="bcc" minOccurs="0" maxOccurs="1" type="Layout" />
2164 <xs:element name="cc" minOccurs="0" maxOccurs="1" type="Layout" />
2165 <xs:element name="from" minOccurs="0" maxOccurs="1" type="Layout" />
2166 <xs:element name="body" minOccurs="0" maxOccurs="1" type="Layout" />
2167 <xs:element name="smtpUserName" minOccurs="0" maxOccurs="1" type="Layout" />
2168 <xs:element name="enableSsl" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2169 <xs:element name="smtpPassword" minOccurs="0" maxOccurs="1" type="Layout" />
2170 <xs:element name="smtpAuthentication" minOccurs="0" maxOccurs="1" type="NLog.Targets.SmtpAuthenticationMode" />
2171 <xs:element name="smtpServer" minOccurs="0" maxOccurs="1" type="Layout" />
2172 <xs:element name="smtpPort" minOccurs="0" maxOccurs="1" type="xs:integer" />
2173 </xs:choice>
2174 <xs:attribute name="name" type="xs:string">
2175 <xs:annotation>
2176 <xs:documentation>Name of the target.</xs:documentation>
2177 </xs:annotation>
2178 </xs:attribute>
2179 <xs:attribute name="header" type="SimpleLayoutAttribute">
2180 <xs:annotation>
2181 <xs:documentation>Header.</xs:documentation>
2182 </xs:annotation>
2183 </xs:attribute>
2184 <xs:attribute name="footer" type="SimpleLayoutAttribute">
2185 <xs:annotation>
2186 <xs:documentation>Footer.</xs:documentation>
2187 </xs:annotation>
2188 </xs:attribute>
2189 <xs:attribute name="layout" type="SimpleLayoutAttribute">
2190 <xs:annotation>
2191 <xs:documentation>Text to be rendered.</xs:documentation>
2192 </xs:annotation>
2193 </xs:attribute>
2194 <xs:attribute name="html" type="xs:boolean">
2195 <xs:annotation>
2196 <xs:documentation>Indicates whether to send message as HTML instead of plain text.</xs:documentation>
2197 </xs:annotation>
2198 </xs:attribute>
2199 <xs:attribute name="addNewLines" type="xs:boolean">
2200 <xs:annotation>
2201 <xs:documentation>Indicates whether to add new lines between log entries.</xs:documentation>
2202 </xs:annotation>
2203 </xs:attribute>
2204 <xs:attribute name="encoding" type="xs:string">
2205 <xs:annotation>
2206 <xs:documentation>Encoding to be used for sending e-mail.</xs:documentation>
2207 </xs:annotation>
2208 </xs:attribute>
2209 <xs:attribute name="subject" type="SimpleLayoutAttribute">
2210 <xs:annotation>
2211 <xs:documentation>Mail subject.</xs:documentation>
2212 </xs:annotation>
2213 </xs:attribute>
2214 <xs:attribute name="to" type="SimpleLayoutAttribute">
2215 <xs:annotation>
2216 <xs:documentation>Recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
2217 </xs:annotation>
2218 </xs:attribute>
2219 <xs:attribute name="bcc" type="SimpleLayoutAttribute">
2220 <xs:annotation>
2221 <xs:documentation>BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
2222 </xs:annotation>
2223 </xs:attribute>
2224 <xs:attribute name="cc" type="SimpleLayoutAttribute">
2225 <xs:annotation>
2226 <xs:documentation>CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
2227 </xs:annotation>
2228 </xs:attribute>
2229 <xs:attribute name="from" type="SimpleLayoutAttribute">
2230 <xs:annotation>
2231 <xs:documentation>Sender's email address (e.g. joe@domain.com).</xs:documentation>
2232 </xs:annotation>
2233 </xs:attribute>
2234 <xs:attribute name="body" type="SimpleLayoutAttribute">
2235 <xs:annotation>
2236 <xs:documentation>Mail message body (repeated for each log message send in one mail).</xs:documentation>
2237 </xs:annotation>
2238 </xs:attribute>
2239 <xs:attribute name="smtpUserName" type="SimpleLayoutAttribute">
2240 <xs:annotation>
2241 <xs:documentation>Username used to connect to SMTP server (used when SmtpAuthentication is set to "basic").</xs:documentation>
2242 </xs:annotation>
2243 </xs:attribute>
2244 <xs:attribute name="enableSsl" type="xs:boolean">
2245 <xs:annotation>
2246 <xs:documentation>Indicates whether SSL (secure sockets layer) should be used when communicating with SMTP server.</xs:documentation>
2247 </xs:annotation>
2248 </xs:attribute>
2249 <xs:attribute name="smtpPassword" type="SimpleLayoutAttribute">
2250 <xs:annotation>
2251 <xs:documentation>Password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic").</xs:documentation>
2252 </xs:annotation>
2253 </xs:attribute>
2254 <xs:attribute name="smtpAuthentication" type="NLog.Targets.SmtpAuthenticationMode">
2255 <xs:annotation>
2256 <xs:documentation>SMTP Authentication mode.</xs:documentation>
2257 </xs:annotation>
2258 </xs:attribute>
2259 <xs:attribute name="smtpServer" type="SimpleLayoutAttribute">
2260 <xs:annotation>
2261 <xs:documentation>SMTP Server to be used for sending.</xs:documentation>
2262 </xs:annotation>
2263 </xs:attribute>
2264 <xs:attribute name="smtpPort" type="xs:integer">
2265 <xs:annotation>
2266 <xs:documentation>Port number that SMTP Server is listening on.</xs:documentation>
2267 </xs:annotation>
2268 </xs:attribute>
2269 </xs:extension>
2270 </xs:complexContent>
2271 </xs:complexType>
2272 <xs:simpleType name="NLog.Targets.SmtpAuthenticationMode">
2273 <xs:restriction base="xs:string">
2274 <xs:enumeration value="None" />
2275 <xs:enumeration value="Basic" />
2276 <xs:enumeration value="Ntlm" />
2277 </xs:restriction>
2278 </xs:simpleType>
2279 <xs:complexType name="PerfCounter">
2280 <xs:complexContent>
2281 <xs:extension base="Target">
2282 <xs:choice minOccurs="0" maxOccurs="unbounded">
2283 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2284 <xs:element name="instanceName" minOccurs="0" maxOccurs="1" type="xs:string" />
2285 <xs:element name="counterHelp" minOccurs="0" maxOccurs="1" type="xs:string" />
2286 <xs:element name="counterType" minOccurs="0" maxOccurs="1" type="System.Diagnostics.PerformanceCounterType" />
2287 <xs:element name="autoCreate" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2288 <xs:element name="categoryName" minOccurs="0" maxOccurs="1" type="xs:string" />
2289 <xs:element name="counterName" minOccurs="0" maxOccurs="1" type="xs:string" />
2290 </xs:choice>
2291 <xs:attribute name="name" type="xs:string">
2292 <xs:annotation>
2293 <xs:documentation>Name of the target.</xs:documentation>
2294 </xs:annotation>
2295 </xs:attribute>
2296 <xs:attribute name="instanceName" type="xs:string">
2297 <xs:annotation>
2298 <xs:documentation>Performance counter instance name.</xs:documentation>
2299 </xs:annotation>
2300 </xs:attribute>
2301 <xs:attribute name="counterHelp" type="xs:string">
2302 <xs:annotation>
2303 <xs:documentation>Counter help text.</xs:documentation>
2304 </xs:annotation>
2305 </xs:attribute>
2306 <xs:attribute name="counterType" type="System.Diagnostics.PerformanceCounterType">
2307 <xs:annotation>
2308 <xs:documentation>Performance counter type.</xs:documentation>
2309 </xs:annotation>
2310 </xs:attribute>
2311 <xs:attribute name="autoCreate" type="xs:boolean">
2312 <xs:annotation>
2313 <xs:documentation>Indicates whether performance counter should be automatically created.</xs:documentation>
2314 </xs:annotation>
2315 </xs:attribute>
2316 <xs:attribute name="categoryName" type="xs:string">
2317 <xs:annotation>
2318 <xs:documentation>Name of the performance counter category.</xs:documentation>
2319 </xs:annotation>
2320 </xs:attribute>
2321 <xs:attribute name="counterName" type="xs:string">
2322 <xs:annotation>
2323 <xs:documentation>Name of the performance counter.</xs:documentation>
2324 </xs:annotation>
2325 </xs:attribute>
2326 </xs:extension>
2327 </xs:complexContent>
2328 </xs:complexType>
2329 <xs:simpleType name="System.Diagnostics.PerformanceCounterType">
2330 <xs:restriction base="xs:string">
2331 <xs:enumeration value="NumberOfItems32" />
2332 <xs:enumeration value="NumberOfItems64" />
2333 <xs:enumeration value="NumberOfItemsHEX32" />
2334 <xs:enumeration value="NumberOfItemsHEX64" />
2335 <xs:enumeration value="RateOfCountsPerSecond32" />
2336 <xs:enumeration value="RateOfCountsPerSecond64" />
2337 <xs:enumeration value="CountPerTimeInterval32" />
2338 <xs:enumeration value="CountPerTimeInterval64" />
2339 <xs:enumeration value="RawFraction" />
2340 <xs:enumeration value="RawBase" />
2341 <xs:enumeration value="AverageTimer32" />
2342 <xs:enumeration value="AverageBase" />
2343 <xs:enumeration value="AverageCount64" />
2344 <xs:enumeration value="SampleFraction" />
2345 <xs:enumeration value="SampleCounter" />
2346 <xs:enumeration value="SampleBase" />
2347 <xs:enumeration value="CounterTimer" />
2348 <xs:enumeration value="CounterTimerInverse" />
2349 <xs:enumeration value="Timer100Ns" />
2350 <xs:enumeration value="Timer100NsInverse" />
2351 <xs:enumeration value="ElapsedTime" />
2352 <xs:enumeration value="CounterMultiTimer" />
2353 <xs:enumeration value="CounterMultiTimerInverse" />
2354 <xs:enumeration value="CounterMultiTimer100Ns" />
2355 <xs:enumeration value="CounterMultiTimer100NsInverse" />
2356 <xs:enumeration value="CounterMultiBase" />
2357 <xs:enumeration value="CounterDelta32" />
2358 <xs:enumeration value="CounterDelta64" />
2359 </xs:restriction>
2360 </xs:simpleType>
2361 <xs:complexType name="RichTextBox">
2362 <xs:complexContent>
2363 <xs:extension base="Target">
2364 <xs:choice minOccurs="0" maxOccurs="unbounded">
2365 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2366 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2367 <xs:element name="height" minOccurs="0" maxOccurs="1" type="xs:integer" />
2368 <xs:element name="autoScroll" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2369 <xs:element name="maxLines" minOccurs="0" maxOccurs="1" type="xs:integer" />
2370 <xs:element name="showMinimized" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2371 <xs:element name="toolWindow" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2372 <xs:element name="controlName" minOccurs="0" maxOccurs="1" type="xs:string" />
2373 <xs:element name="formName" minOccurs="0" maxOccurs="1" type="xs:string" />
2374 <xs:element name="width" minOccurs="0" maxOccurs="1" type="xs:integer" />
2375 <xs:element name="word-coloring" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.RichTextBoxWordColoringRule" />
2376 <xs:element name="useDefaultRowColoringRules" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2377 <xs:element name="row-coloring" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.RichTextBoxRowColoringRule" />
2378 </xs:choice>
2379 <xs:attribute name="name" type="xs:string">
2380 <xs:annotation>
2381 <xs:documentation>Name of the target.</xs:documentation>
2382 </xs:annotation>
2383 </xs:attribute>
2384 <xs:attribute name="layout" type="SimpleLayoutAttribute">
2385 <xs:annotation>
2386 <xs:documentation>Layout used to format log messages.</xs:documentation>
2387 </xs:annotation>
2388 </xs:attribute>
2389 <xs:attribute name="height" type="xs:integer">
2390 <xs:annotation>
2391 <xs:documentation>Initial height of the form with rich text box.</xs:documentation>
2392 </xs:annotation>
2393 </xs:attribute>
2394 <xs:attribute name="autoScroll" type="xs:boolean">
2395 <xs:annotation>
2396 <xs:documentation>Indicates whether scroll bar will be moved automatically to show most recent log entries.</xs:documentation>
2397 </xs:annotation>
2398 </xs:attribute>
2399 <xs:attribute name="maxLines" type="xs:integer">
2400 <xs:annotation>
2401 <xs:documentation>Maximum number of lines the rich text box will store (or 0 to disable this feature).</xs:documentation>
2402 </xs:annotation>
2403 </xs:attribute>
2404 <xs:attribute name="showMinimized" type="xs:boolean">
2405 <xs:annotation>
2406 <xs:documentation>Indicates whether the created form will be initially minimized.</xs:documentation>
2407 </xs:annotation>
2408 </xs:attribute>
2409 <xs:attribute name="toolWindow" type="xs:boolean">
2410 <xs:annotation>
2411 <xs:documentation>Indicates whether the created window will be a tool window.</xs:documentation>
2412 </xs:annotation>
2413 </xs:attribute>
2414 <xs:attribute name="controlName" type="xs:string">
2415 <xs:annotation>
2416 <xs:documentation>Name of RichTextBox to which Nlog will write.</xs:documentation>
2417 </xs:annotation>
2418 </xs:attribute>
2419 <xs:attribute name="formName" type="xs:string">
2420 <xs:annotation>
2421 <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>
2422 </xs:annotation>
2423 </xs:attribute>
2424 <xs:attribute name="width" type="xs:integer">
2425 <xs:annotation>
2426 <xs:documentation>Initial width of the form with rich text box.</xs:documentation>
2427 </xs:annotation>
2428 </xs:attribute>
2429 <xs:attribute name="useDefaultRowColoringRules" type="xs:boolean">
2430 <xs:annotation>
2431 <xs:documentation>Indicates whether to use default coloring rules.</xs:documentation>
2432 </xs:annotation>
2433 </xs:attribute>
2434 </xs:extension>
2435 </xs:complexContent>
2436 </xs:complexType>
2437 <xs:simpleType name="System.Drawing.FontStyle">
2438 <xs:restriction base="xs:string">
2439 <xs:enumeration value="Regular" />
2440 <xs:enumeration value="Bold" />
2441 <xs:enumeration value="Italic" />
2442 <xs:enumeration value="Underline" />
2443 <xs:enumeration value="Strikeout" />
2444 </xs:restriction>
2445 </xs:simpleType>
2446 <xs:complexType name="NLog.Targets.RichTextBoxWordColoringRule">
2447 <xs:choice minOccurs="0" maxOccurs="unbounded">
2448 <xs:element name="backgroundColor" minOccurs="0" maxOccurs="1" type="xs:string" />
2449 <xs:element name="fontColor" minOccurs="0" maxOccurs="1" type="xs:string" />
2450 <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2451 <xs:element name="regex" minOccurs="0" maxOccurs="1" type="xs:string" />
2452 <xs:element name="style" minOccurs="0" maxOccurs="1" type="System.Drawing.FontStyle" />
2453 <xs:element name="text" minOccurs="0" maxOccurs="1" type="xs:string" />
2454 <xs:element name="wholeWords" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2455 </xs:choice>
2456 <xs:attribute name="backgroundColor" type="xs:string">
2457 <xs:annotation>
2458 <xs:documentation>Background color. Names are identical with KnownColor enum extended with Empty value which means that background color won't be changed.</xs:documentation>
2459 </xs:annotation>
2460 </xs:attribute>
2461 <xs:attribute name="fontColor" type="xs:string">
2462 <xs:annotation>
2463 <xs:documentation>Font color. Names are identical with KnownColor enum extended with Empty value which means that font color won't be changed.</xs:documentation>
2464 </xs:annotation>
2465 </xs:attribute>
2466 <xs:attribute name="ignoreCase" type="xs:boolean">
2467 <xs:annotation>
2468 <xs:documentation>Indicates whether to ignore case when comparing texts.</xs:documentation>
2469 </xs:annotation>
2470 </xs:attribute>
2471 <xs:attribute name="regex" type="xs:string">
2472 <xs:annotation>
2473 <xs:documentation>Regular expression to be matched. You must specify either text or regex.</xs:documentation>
2474 </xs:annotation>
2475 </xs:attribute>
2476 <xs:attribute name="style" type="System.Drawing.FontStyle">
2477 <xs:annotation>
2478 <xs:documentation>Font style of matched text. Possible values are the same as in FontStyle enum in System.Drawing.</xs:documentation>
2479 </xs:annotation>
2480 </xs:attribute>
2481 <xs:attribute name="text" type="xs:string">
2482 <xs:annotation>
2483 <xs:documentation>Text to be matched. You must specify either text or regex.</xs:documentation>
2484 </xs:annotation>
2485 </xs:attribute>
2486 <xs:attribute name="wholeWords" type="xs:boolean">
2487 <xs:annotation>
2488 <xs:documentation>Indicates whether to match whole words only.</xs:documentation>
2489 </xs:annotation>
2490 </xs:attribute>
2491 </xs:complexType>
2492 <xs:complexType name="NLog.Targets.RichTextBoxRowColoringRule">
2493 <xs:choice minOccurs="0" maxOccurs="unbounded">
2494 <xs:element name="backgroundColor" minOccurs="0" maxOccurs="1" type="xs:string" />
2495 <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
2496 <xs:element name="fontColor" minOccurs="0" maxOccurs="1" type="xs:string" />
2497 <xs:element name="style" minOccurs="0" maxOccurs="1" type="System.Drawing.FontStyle" />
2498 </xs:choice>
2499 <xs:attribute name="backgroundColor" type="xs:string">
2500 <xs:annotation>
2501 <xs:documentation>Background color.</xs:documentation>
2502 </xs:annotation>
2503 </xs:attribute>
2504 <xs:attribute name="condition" type="Condition">
2505 <xs:annotation>
2506 <xs:documentation>Condition that must be met in order to set the specified font color.</xs:documentation>
2507 </xs:annotation>
2508 </xs:attribute>
2509 <xs:attribute name="fontColor" type="xs:string">
2510 <xs:annotation>
2511 <xs:documentation>Font color.</xs:documentation>
2512 </xs:annotation>
2513 </xs:attribute>
2514 <xs:attribute name="style" type="System.Drawing.FontStyle">
2515 <xs:annotation>
2516 <xs:documentation>Font style of matched text.</xs:documentation>
2517 </xs:annotation>
2518 </xs:attribute>
2519 </xs:complexType>
2520 <xs:complexType name="Trace">
2521 <xs:complexContent>
2522 <xs:extension base="Target">
2523 <xs:choice minOccurs="0" maxOccurs="unbounded">
2524 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2525 <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2526 </xs:choice>
2527 <xs:attribute name="name" type="xs:string">
2528 <xs:annotation>
2529 <xs:documentation>Name of the target.</xs:documentation>
2530 </xs:annotation>
2531 </xs:attribute>
2532 <xs:attribute name="layout" type="SimpleLayoutAttribute">
2533 <xs:annotation>
2534 <xs:documentation>Layout used to format log messages.</xs:documentation>
2535 </xs:annotation>
2536 </xs:attribute>
2537 </xs:extension>
2538 </xs:complexContent>
2539 </xs:complexType>
2540 <xs:complexType name="LogReceiverService">
2541 <xs:complexContent>
2542 <xs:extension base="Target">
2543 <xs:choice minOccurs="0" maxOccurs="unbounded">
2544 <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2545 <xs:element name="endpointConfigurationName" minOccurs="0" maxOccurs="1" type="xs:string" />
2546 <xs:element name="endpointAddress" minOccurs="0" maxOccurs="1" type="xs:string" />
2547 <xs:element name="useBinaryEncoding" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2548 <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
2549 <xs:element name="clientId" minOccurs="0" maxOccurs="1" type="Layout" />
2550 <xs:element name="includeEventProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2551 </xs:choice>
2552 <xs:attribute name="name" type="xs:string">
2553 <xs:annotation>
2554 <xs:documentation>Name of the target.</xs:documentation>
2555 </xs:annotation>
2556 </xs:attribute>
2557 <xs:attribute name="endpointConfigurationName" type="xs:string">
2558 <xs:annotation>
2559 <xs:documentation>Name of the endpoint configuration in WCF configuration file.</xs:documentation>
2560 </xs:annotation>
2561 </xs:attribute>
2562 <xs:attribute name="endpointAddress" type="xs:string">
2563 <xs:annotation>
2564 <xs:documentation>Endpoint address.</xs:documentation>
2565 </xs:annotation>
2566 </xs:attribute>
2567 <xs:attribute name="useBinaryEncoding" type="xs:boolean">
2568 <xs:annotation>
2569 <xs:documentation>Indicates whether to use binary message encoding.</xs:documentation>
2570 </xs:annotation>
2571 </xs:attribute>
2572 <xs:attribute name="clientId" type="SimpleLayoutAttribute">
2573 <xs:annotation>
2574 <xs:documentation>Client ID.</xs:documentation>
2575 </xs:annotation>
2576 </xs:attribute>
2577 <xs:attribute name="includeEventProperties" type="xs:boolean">
2578 <xs:annotation>
2579 <xs:documentation>Indicates whether to include per-event properties in the payload sent to the server.</xs:documentation>
2580 </xs:annotation>
2581 </xs:attribute>
2582 </xs:extension>
2583 </xs:complexContent>
2584 </xs:complexType>
2585 </xs:schema>