• R/O
  • SSH
  • HTTPS

autocodeforsql: Commit


Commit MetaInfo

Revisão386 (tree)
Hora2020-10-27 15:21:24
Autorhilinwei

Mensagem de Log

Mudança Sumário

Diff

--- AutoEpub3/NLog.xsd (nonexistent)
+++ AutoEpub3/NLog.xsd (revision 386)
@@ -0,0 +1,3644 @@
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:element name="time" type="TimeSource" />
12+ </xs:choice>
13+ <xs:attribute name="autoReload" type="xs:boolean">
14+ <xs:annotation>
15+ <xs:documentation>Watch config file for changes and reload automatically.</xs:documentation>
16+ </xs:annotation>
17+ </xs:attribute>
18+ <xs:attribute name="internalLogToConsole" type="xs:boolean">
19+ <xs:annotation>
20+ <xs:documentation>Print internal NLog messages to the console. Default value is: false</xs:documentation>
21+ </xs:annotation>
22+ </xs:attribute>
23+ <xs:attribute name="internalLogToConsoleError" type="xs:boolean">
24+ <xs:annotation>
25+ <xs:documentation>Print internal NLog messages to the console error output. Default value is: false</xs:documentation>
26+ </xs:annotation>
27+ </xs:attribute>
28+ <xs:attribute name="internalLogFile" type="xs:string">
29+ <xs:annotation>
30+ <xs:documentation>Write internal NLog messages to the specified file.</xs:documentation>
31+ </xs:annotation>
32+ </xs:attribute>
33+ <xs:attribute name="internalLogLevel" type="NLogLevel">
34+ <xs:annotation>
35+ <xs:documentation>Log level threshold for internal log messages. Default value is: Info.</xs:documentation>
36+ </xs:annotation>
37+ </xs:attribute>
38+ <xs:attribute name="globalThreshold" type="NLogLevel">
39+ <xs:annotation>
40+ <xs:documentation>Global log level threshold for application log messages. Messages below this level won't be logged.</xs:documentation>
41+ </xs:annotation>
42+ </xs:attribute>
43+ <xs:attribute name="throwExceptions" type="xs:boolean">
44+ <xs:annotation>
45+ <xs:documentation>Throw an exception when there is an internal error. Default value is: false. Not recommend to set to true in production!</xs:documentation>
46+ </xs:annotation>
47+ </xs:attribute>
48+ <xs:attribute name="throwConfigExceptions" type="xs:boolean">
49+ <xs:annotation>
50+ <xs:documentation>Throw an exception when there is a configuration error. If not set, determined by throwExceptions.</xs:documentation>
51+ </xs:annotation>
52+ </xs:attribute>
53+ <xs:attribute name="keepVariablesOnReload" type="xs:boolean">
54+ <xs:annotation>
55+ <xs:documentation>Gets or sets a value indicating whether Variables should be kept on configuration reload. Default value is: false.</xs:documentation>
56+ </xs:annotation>
57+ </xs:attribute>
58+ <xs:attribute name="internalLogToTrace" type="xs:boolean">
59+ <xs:annotation>
60+ <xs:documentation>Write internal NLog messages to the System.Diagnostics.Trace. Default value is: false.</xs:documentation>
61+ </xs:annotation>
62+ </xs:attribute>
63+ <xs:attribute name="internalLogIncludeTimestamp" type="xs:boolean">
64+ <xs:annotation>
65+ <xs:documentation>Write timestamps for internal NLog messages. Default value is: true.</xs:documentation>
66+ </xs:annotation>
67+ </xs:attribute>
68+ <xs:attribute name="useInvariantCulture" type="xs:boolean">
69+ <xs:annotation>
70+ <xs:documentation>Use InvariantCulture as default culture instead of CurrentCulture. Default value is: false.</xs:documentation>
71+ </xs:annotation>
72+ </xs:attribute>
73+ <xs:attribute name="parseMessageTemplates" type="xs:boolean">
74+ <xs:annotation>
75+ <xs:documentation>Perform message template parsing and formatting of LogEvent messages (true = Always, false = Never, empty = Auto Detect). Default value is: empty.</xs:documentation>
76+ </xs:annotation>
77+ </xs:attribute>
78+ </xs:complexType>
79+ <xs:complexType name="NLogTargets">
80+ <xs:choice minOccurs="0" maxOccurs="unbounded">
81+ <xs:element name="default-wrapper" type="WrapperTargetBase" />
82+ <xs:element name="default-target-parameters" type="Target" />
83+ <xs:element name="target" type="Target" />
84+ <xs:element name="wrapper-target" type="WrapperTargetBase" />
85+ <xs:element name="compound-target" type="CompoundTargetBase" />
86+ </xs:choice>
87+ <xs:attribute name="async" type="xs:boolean">
88+ <xs:annotation>
89+ <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>
90+ </xs:annotation>
91+ </xs:attribute>
92+ </xs:complexType>
93+ <xs:complexType name="NLogRules">
94+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
95+ <xs:element name="logger" type="NLogLoggerRule" />
96+ </xs:sequence>
97+ </xs:complexType>
98+ <xs:complexType name="NLogExtensions">
99+ <xs:choice minOccurs="0" maxOccurs="unbounded">
100+ <xs:element name="add" type="NLogExtensionsAdd" />
101+ </xs:choice>
102+ </xs:complexType>
103+ <xs:complexType name="NLogExtensionsAdd">
104+ <xs:attribute name="prefix" type="xs:string">
105+ <xs:annotation>
106+ <xs:documentation>Prefix for targets/layout renderers/filters/conditions loaded from this assembly.</xs:documentation>
107+ </xs:annotation>
108+ </xs:attribute>
109+ <xs:attribute name="assemblyFile" type="xs:string">
110+ <xs:annotation>
111+ <xs:documentation>Load NLog extensions from the specified file (*.dll)</xs:documentation>
112+ </xs:annotation>
113+ </xs:attribute>
114+ <xs:attribute name="assembly" type="xs:string">
115+ <xs:annotation>
116+ <xs:documentation>Load NLog extensions from the specified assembly. Assembly name should be fully qualified.</xs:documentation>
117+ </xs:annotation>
118+ </xs:attribute>
119+ </xs:complexType>
120+ <xs:complexType name="NLogLoggerRule">
121+ <xs:choice minOccurs="0" maxOccurs="unbounded">
122+ <xs:element name="filters" type="NLogFilters" />
123+ </xs:choice>
124+ <xs:attribute name="name" use="optional">
125+ <xs:annotation>
126+ <xs:documentation>Filter on the name of the logger. May include wildcard characters ('*' or '?').</xs:documentation>
127+ </xs:annotation>
128+ </xs:attribute>
129+ <xs:attribute name="levels" type="NLogLevelList">
130+ <xs:annotation>
131+ <xs:documentation>Comma separated list of levels that this rule matches.</xs:documentation>
132+ </xs:annotation>
133+ </xs:attribute>
134+ <xs:attribute name="minlevel" type="NLogLevel">
135+ <xs:annotation>
136+ <xs:documentation>Minimum level that this rule matches.</xs:documentation>
137+ </xs:annotation>
138+ </xs:attribute>
139+ <xs:attribute name="maxlevel" type="NLogLevel">
140+ <xs:annotation>
141+ <xs:documentation>Maximum level that this rule matches.</xs:documentation>
142+ </xs:annotation>
143+ </xs:attribute>
144+ <xs:attribute name="level" type="NLogLevel">
145+ <xs:annotation>
146+ <xs:documentation>Level that this rule matches.</xs:documentation>
147+ </xs:annotation>
148+ </xs:attribute>
149+ <xs:attribute name="writeTo" type="NLogTargetIDList">
150+ <xs:annotation>
151+ <xs:documentation>Comma separated list of target names.</xs:documentation>
152+ </xs:annotation>
153+ </xs:attribute>
154+ <xs:attribute name="final" type="xs:boolean" default="false">
155+ <xs:annotation>
156+ <xs:documentation>Ignore further rules if this one matches.</xs:documentation>
157+ </xs:annotation>
158+ </xs:attribute>
159+ <xs:attribute name="enabled" type="xs:boolean" default="true">
160+ <xs:annotation>
161+ <xs:documentation>Enable this rule. Note: disabled rules aren't available from the API.</xs:documentation>
162+ </xs:annotation>
163+ </xs:attribute>
164+ <xs:attribute name="ruleName" type="xs:string" use="optional">
165+ <xs:annotation>
166+ <xs:documentation>Rule identifier to allow rule lookup with Configuration.FindRuleByName and Configuration.RemoveRuleByName.</xs:documentation>
167+ </xs:annotation>
168+ </xs:attribute>
169+ </xs:complexType>
170+ <xs:complexType name="NLogFilters">
171+ <xs:choice minOccurs="0" maxOccurs="unbounded">
172+ <xs:element name="when" type="when" />
173+ <xs:element name="whenContains" type="whenContains" />
174+ <xs:element name="whenEqual" type="whenEqual" />
175+ <xs:element name="whenNotContains" type="whenNotContains" />
176+ <xs:element name="whenNotEqual" type="whenNotEqual" />
177+ <xs:element name="whenRepeated" type="whenRepeated" />
178+ </xs:choice>
179+ <xs:attribute name="defaultAction" type="FilterResult">
180+ <xs:annotation>
181+ <xs:documentation>Default action if none of the filters match.</xs:documentation>
182+ </xs:annotation>
183+ </xs:attribute>
184+ </xs:complexType>
185+ <xs:simpleType name="NLogLevel">
186+ <xs:restriction base="xs:string">
187+ <xs:enumeration value="Off" />
188+ <xs:enumeration value="Trace" />
189+ <xs:enumeration value="Debug" />
190+ <xs:enumeration value="Info" />
191+ <xs:enumeration value="Warn" />
192+ <xs:enumeration value="Error" />
193+ <xs:enumeration value="Fatal" />
194+ </xs:restriction>
195+ </xs:simpleType>
196+ <xs:simpleType name="LineEndingMode">
197+ <xs:restriction base="xs:string">
198+ <xs:enumeration value="Default" />
199+ <xs:enumeration value="CRLF" />
200+ <xs:enumeration value="CR" />
201+ <xs:enumeration value="LF" />
202+ <xs:enumeration value="None" />
203+ </xs:restriction>
204+ </xs:simpleType>
205+ <xs:simpleType name="NLogLevelList">
206+ <xs:restriction base="xs:string">
207+ <xs:pattern value="(|Trace|Debug|Info|Warn|Error|Fatal)(,(Trace|Debug|Info|Warn|Error|Fatal))*" />
208+ </xs:restriction>
209+ </xs:simpleType>
210+ <xs:complexType name="NLogInclude">
211+ <xs:attribute name="file" type="SimpleLayoutAttribute" use="required">
212+ <xs:annotation>
213+ <xs:documentation>Name of the file to be included. You could use * wildcard. The name is relative to the name of the current config file.</xs:documentation>
214+ </xs:annotation>
215+ </xs:attribute>
216+ <xs:attribute name="ignoreErrors" type="xs:boolean" use="optional" default="false">
217+ <xs:annotation>
218+ <xs:documentation>Ignore any errors in the include file.</xs:documentation>
219+ </xs:annotation>
220+ </xs:attribute>
221+ </xs:complexType>
222+ <xs:complexType name="NLogVariable">
223+ <xs:choice minOccurs="0" maxOccurs="1">
224+ <xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:string">
225+ <xs:annotation>
226+ <xs:documentation>Variable value. Note, the 'value' attribute has precedence over this one.</xs:documentation>
227+ </xs:annotation>
228+ </xs:element>
229+ </xs:choice>
230+ <xs:attribute name="name" type="xs:string" use="required">
231+ <xs:annotation>
232+ <xs:documentation>Variable name.</xs:documentation>
233+ </xs:annotation>
234+ </xs:attribute>
235+ <xs:attribute name="value" type="SimpleLayoutAttribute">
236+ <xs:annotation>
237+ <xs:documentation>Variable value.</xs:documentation>
238+ </xs:annotation>
239+ </xs:attribute>
240+ </xs:complexType>
241+ <xs:simpleType name="NLogTargetIDList">
242+ <xs:restriction base="xs:string">
243+ <xs:pattern value="(|([a-zA-Z][a-zA-Z0-9_\-]*))(,([a-zA-Z][a-zA-Z0-9_\-]*))*" />
244+ </xs:restriction>
245+ </xs:simpleType>
246+ <xs:complexType name="Target" abstract="true"></xs:complexType>
247+ <xs:complexType name="TargetRef">
248+ <xs:attribute name="name" type="xs:string" use="required" />
249+ </xs:complexType>
250+ <xs:complexType name="WrapperTargetBase" abstract="true">
251+ <xs:complexContent>
252+ <xs:extension base="Target">
253+ <xs:choice minOccurs="0" maxOccurs="unbounded">
254+ <xs:element name="target" type="Target" minOccurs="1" maxOccurs="1" />
255+ <xs:element name="wrapper-target" type="WrapperTargetBase" minOccurs="1" maxOccurs="1" />
256+ <xs:element name="compound-target" type="CompoundTargetBase" minOccurs="1" maxOccurs="1" />
257+ <xs:element name="target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
258+ <xs:element name="wrapper-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
259+ <xs:element name="compound-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
260+ </xs:choice>
261+ </xs:extension>
262+ </xs:complexContent>
263+ </xs:complexType>
264+ <xs:complexType name="CompoundTargetBase" abstract="true">
265+ <xs:complexContent>
266+ <xs:extension base="Target">
267+ <xs:choice minOccurs="0" maxOccurs="unbounded">
268+ <xs:element name="target" type="Target" minOccurs="1" maxOccurs="unbounded" />
269+ <xs:element name="wrapper-target" type="WrapperTargetBase" minOccurs="1" maxOccurs="1" />
270+ <xs:element name="compound-target" type="CompoundTargetBase" minOccurs="1" maxOccurs="1" />
271+ <xs:element name="target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
272+ <xs:element name="wrapper-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
273+ <xs:element name="compound-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
274+ </xs:choice>
275+ </xs:extension>
276+ </xs:complexContent>
277+ </xs:complexType>
278+ <xs:complexType name="Filter" abstract="true"></xs:complexType>
279+ <xs:complexType name="TimeSource" abstract="true"></xs:complexType>
280+ <xs:simpleType name="SimpleLayoutAttribute">
281+ <xs:restriction base="xs:string">
282+ <xs:pattern value=".*" />
283+ </xs:restriction>
284+ </xs:simpleType>
285+ <xs:simpleType name="Condition">
286+ <xs:restriction base="xs:string">
287+ <xs:minLength value="1" />
288+ </xs:restriction>
289+ </xs:simpleType>
290+ <xs:complexType name="AsyncWrapper">
291+ <xs:complexContent>
292+ <xs:extension base="WrapperTargetBase">
293+ <xs:choice minOccurs="0" maxOccurs="unbounded">
294+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
295+ <xs:element name="batchSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
296+ <xs:element name="forceLockingQueue" minOccurs="0" maxOccurs="1" type="xs:boolean" />
297+ <xs:element name="fullBatchSizeWriteLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
298+ <xs:element name="overflowAction" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction" />
299+ <xs:element name="queueLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
300+ <xs:element name="timeToSleepBetweenBatches" minOccurs="0" maxOccurs="1" type="xs:integer" />
301+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
302+ </xs:choice>
303+ <xs:attribute name="name" type="xs:string">
304+ <xs:annotation>
305+ <xs:documentation>Name of the target.</xs:documentation>
306+ </xs:annotation>
307+ </xs:attribute>
308+ <xs:attribute name="batchSize" type="xs:integer">
309+ <xs:annotation>
310+ <xs:documentation>Number of log events that should be processed in a batch by the lazy writer thread.</xs:documentation>
311+ </xs:annotation>
312+ </xs:attribute>
313+ <xs:attribute name="forceLockingQueue" type="xs:boolean">
314+ <xs:annotation>
315+ <xs:documentation>Whether to use the locking queue, instead of a lock-free concurrent queue The locking queue is less concurrent when many logger threads, but reduces memory allocation</xs:documentation>
316+ </xs:annotation>
317+ </xs:attribute>
318+ <xs:attribute name="fullBatchSizeWriteLimit" type="xs:integer">
319+ <xs:annotation>
320+ <xs:documentation>Limit of full s to write before yielding into Performance is better when writing many small batches, than writing a single large batch</xs:documentation>
321+ </xs:annotation>
322+ </xs:attribute>
323+ <xs:attribute name="overflowAction" type="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction">
324+ <xs:annotation>
325+ <xs:documentation>Action to be taken when the lazy writer thread request queue count exceeds the set limit.</xs:documentation>
326+ </xs:annotation>
327+ </xs:attribute>
328+ <xs:attribute name="queueLimit" type="xs:integer">
329+ <xs:annotation>
330+ <xs:documentation>Limit on the number of requests in the lazy writer thread request queue.</xs:documentation>
331+ </xs:annotation>
332+ </xs:attribute>
333+ <xs:attribute name="timeToSleepBetweenBatches" type="xs:integer">
334+ <xs:annotation>
335+ <xs:documentation>Time in milliseconds to sleep between batches. (1 or less means trigger on new activity)</xs:documentation>
336+ </xs:annotation>
337+ </xs:attribute>
338+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
339+ <xs:annotation>
340+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
341+ </xs:annotation>
342+ </xs:attribute>
343+ </xs:extension>
344+ </xs:complexContent>
345+ </xs:complexType>
346+ <xs:simpleType name="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction">
347+ <xs:restriction base="xs:string">
348+ <xs:enumeration value="Grow" />
349+ <xs:enumeration value="Discard" />
350+ <xs:enumeration value="Block" />
351+ </xs:restriction>
352+ </xs:simpleType>
353+ <xs:complexType name="AutoFlushWrapper">
354+ <xs:complexContent>
355+ <xs:extension base="WrapperTargetBase">
356+ <xs:choice minOccurs="0" maxOccurs="unbounded">
357+ <xs:element name="asyncFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
358+ <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
359+ <xs:element name="flushOnConditionOnly" minOccurs="0" maxOccurs="1" type="xs:boolean" />
360+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
361+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
362+ </xs:choice>
363+ <xs:attribute name="asyncFlush" type="xs:boolean">
364+ <xs:annotation>
365+ <xs:documentation>Delay the flush until the LogEvent has been confirmed as written</xs:documentation>
366+ </xs:annotation>
367+ </xs:attribute>
368+ <xs:attribute name="condition" type="Condition">
369+ <xs:annotation>
370+ <xs:documentation>Condition expression. Log events who meet this condition will cause a flush on the wrapped target.</xs:documentation>
371+ </xs:annotation>
372+ </xs:attribute>
373+ <xs:attribute name="flushOnConditionOnly" type="xs:boolean">
374+ <xs:annotation>
375+ <xs:documentation>Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush</xs:documentation>
376+ </xs:annotation>
377+ </xs:attribute>
378+ <xs:attribute name="name" type="xs:string">
379+ <xs:annotation>
380+ <xs:documentation>Name of the target.</xs:documentation>
381+ </xs:annotation>
382+ </xs:attribute>
383+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
384+ <xs:annotation>
385+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
386+ </xs:annotation>
387+ </xs:attribute>
388+ </xs:extension>
389+ </xs:complexContent>
390+ </xs:complexType>
391+ <xs:complexType name="BufferingWrapper">
392+ <xs:complexContent>
393+ <xs:extension base="WrapperTargetBase">
394+ <xs:choice minOccurs="0" maxOccurs="unbounded">
395+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
396+ <xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
397+ <xs:element name="flushTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
398+ <xs:element name="overflowAction" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.BufferingTargetWrapperOverflowAction" />
399+ <xs:element name="slidingTimeout" minOccurs="0" maxOccurs="1" type="xs:boolean" />
400+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
401+ </xs:choice>
402+ <xs:attribute name="name" type="xs:string">
403+ <xs:annotation>
404+ <xs:documentation>Name of the target.</xs:documentation>
405+ </xs:annotation>
406+ </xs:attribute>
407+ <xs:attribute name="bufferSize" type="xs:integer">
408+ <xs:annotation>
409+ <xs:documentation>Number of log events to be buffered.</xs:documentation>
410+ </xs:annotation>
411+ </xs:attribute>
412+ <xs:attribute name="flushTimeout" type="xs:integer">
413+ <xs:annotation>
414+ <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>
415+ </xs:annotation>
416+ </xs:attribute>
417+ <xs:attribute name="overflowAction" type="NLog.Targets.Wrappers.BufferingTargetWrapperOverflowAction">
418+ <xs:annotation>
419+ <xs:documentation>Action to take if the buffer overflows.</xs:documentation>
420+ </xs:annotation>
421+ </xs:attribute>
422+ <xs:attribute name="slidingTimeout" type="xs:boolean">
423+ <xs:annotation>
424+ <xs:documentation>Indicates whether to use sliding timeout.</xs:documentation>
425+ </xs:annotation>
426+ </xs:attribute>
427+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
428+ <xs:annotation>
429+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
430+ </xs:annotation>
431+ </xs:attribute>
432+ </xs:extension>
433+ </xs:complexContent>
434+ </xs:complexType>
435+ <xs:simpleType name="NLog.Targets.Wrappers.BufferingTargetWrapperOverflowAction">
436+ <xs:restriction base="xs:string">
437+ <xs:enumeration value="Flush" />
438+ <xs:enumeration value="Discard" />
439+ </xs:restriction>
440+ </xs:simpleType>
441+ <xs:complexType name="Chainsaw">
442+ <xs:complexContent>
443+ <xs:extension base="Target">
444+ <xs:choice minOccurs="0" maxOccurs="unbounded">
445+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
446+ <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
447+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
448+ <xs:element name="lineEnding" minOccurs="0" maxOccurs="1" type="LineEndingMode" />
449+ <xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
450+ <xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
451+ <xs:element name="sslProtocols" minOccurs="0" maxOccurs="1" type="System.Security.Authentication.SslProtocols" />
452+ <xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
453+ <xs:element name="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
454+ <xs:element name="keepAliveTimeSeconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
455+ <xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
456+ <xs:element name="maxConnections" minOccurs="0" maxOccurs="1" type="xs:integer" />
457+ <xs:element name="onConnectionOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetConnectionsOverflowAction" />
458+ <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
459+ <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
460+ <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
461+ <xs:element name="ndlcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
462+ <xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
463+ <xs:element name="loggerName" minOccurs="0" maxOccurs="1" type="Layout" />
464+ <xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
465+ <xs:element name="includeNdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
466+ <xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
467+ <xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
468+ <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
469+ <xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
470+ <xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
471+ <xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
472+ <xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
473+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
474+ </xs:choice>
475+ <xs:attribute name="name" type="xs:string">
476+ <xs:annotation>
477+ <xs:documentation>Name of the target.</xs:documentation>
478+ </xs:annotation>
479+ </xs:attribute>
480+ <xs:attribute name="encoding" type="xs:string">
481+ <xs:annotation>
482+ <xs:documentation>Encoding to be used.</xs:documentation>
483+ </xs:annotation>
484+ </xs:attribute>
485+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
486+ <xs:annotation>
487+ <xs:documentation>Instance of that is used to format log messages.</xs:documentation>
488+ </xs:annotation>
489+ </xs:attribute>
490+ <xs:attribute name="lineEnding" type="LineEndingMode">
491+ <xs:annotation>
492+ <xs:documentation>End of line value if a newline is appended at the end of log message .</xs:documentation>
493+ </xs:annotation>
494+ </xs:attribute>
495+ <xs:attribute name="maxMessageSize" type="xs:integer">
496+ <xs:annotation>
497+ <xs:documentation>Maximum message size in bytes.</xs:documentation>
498+ </xs:annotation>
499+ </xs:attribute>
500+ <xs:attribute name="newLine" type="xs:boolean">
501+ <xs:annotation>
502+ <xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
503+ </xs:annotation>
504+ </xs:attribute>
505+ <xs:attribute name="sslProtocols" type="System.Security.Authentication.SslProtocols">
506+ <xs:annotation>
507+ <xs:documentation>Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.</xs:documentation>
508+ </xs:annotation>
509+ </xs:attribute>
510+ <xs:attribute name="address" type="SimpleLayoutAttribute">
511+ <xs:annotation>
512+ <xs:documentation>Network address.</xs:documentation>
513+ </xs:annotation>
514+ </xs:attribute>
515+ <xs:attribute name="connectionCacheSize" type="xs:integer">
516+ <xs:annotation>
517+ <xs:documentation>Size of the connection cache (number of connections which are kept alive).</xs:documentation>
518+ </xs:annotation>
519+ </xs:attribute>
520+ <xs:attribute name="keepAliveTimeSeconds" type="xs:integer">
521+ <xs:annotation>
522+ <xs:documentation>The number of seconds a connection will remain idle before the first keep-alive probe is sent</xs:documentation>
523+ </xs:annotation>
524+ </xs:attribute>
525+ <xs:attribute name="maxQueueSize" type="xs:integer">
526+ <xs:annotation>
527+ <xs:documentation>Maximum queue size.</xs:documentation>
528+ </xs:annotation>
529+ </xs:attribute>
530+ <xs:attribute name="maxConnections" type="xs:integer">
531+ <xs:annotation>
532+ <xs:documentation>Maximum current connections. 0 = no maximum.</xs:documentation>
533+ </xs:annotation>
534+ </xs:attribute>
535+ <xs:attribute name="onConnectionOverflow" type="NLog.Targets.NetworkTargetConnectionsOverflowAction">
536+ <xs:annotation>
537+ <xs:documentation>Action that should be taken if the will be more connections than .</xs:documentation>
538+ </xs:annotation>
539+ </xs:attribute>
540+ <xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
541+ <xs:annotation>
542+ <xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</xs:documentation>
543+ </xs:annotation>
544+ </xs:attribute>
545+ <xs:attribute name="keepConnection" type="xs:boolean">
546+ <xs:annotation>
547+ <xs:documentation>Indicates whether to keep connection open whenever possible.</xs:documentation>
548+ </xs:annotation>
549+ </xs:attribute>
550+ <xs:attribute name="ndlcItemSeparator" type="xs:string">
551+ <xs:annotation>
552+ <xs:documentation>NDLC item separator.</xs:documentation>
553+ </xs:annotation>
554+ </xs:attribute>
555+ <xs:attribute name="includeSourceInfo" type="xs:boolean">
556+ <xs:annotation>
557+ <xs:documentation>Indicates whether to include source info (file name and line number) in the information sent over the network.</xs:documentation>
558+ </xs:annotation>
559+ </xs:attribute>
560+ <xs:attribute name="loggerName" type="SimpleLayoutAttribute">
561+ <xs:annotation>
562+ <xs:documentation>Renderer for log4j:event logger-xml-attribute (Default ${logger})</xs:documentation>
563+ </xs:annotation>
564+ </xs:attribute>
565+ <xs:attribute name="includeNLogData" type="xs:boolean">
566+ <xs:annotation>
567+ <xs:documentation>Indicates whether to include NLog-specific extensions to log4j schema.</xs:documentation>
568+ </xs:annotation>
569+ </xs:attribute>
570+ <xs:attribute name="includeNdlc" type="xs:boolean">
571+ <xs:annotation>
572+ <xs:documentation>Indicates whether to include contents of the stack.</xs:documentation>
573+ </xs:annotation>
574+ </xs:attribute>
575+ <xs:attribute name="includeNdc" type="xs:boolean">
576+ <xs:annotation>
577+ <xs:documentation>Indicates whether to include stack contents.</xs:documentation>
578+ </xs:annotation>
579+ </xs:attribute>
580+ <xs:attribute name="includeMdlc" type="xs:boolean">
581+ <xs:annotation>
582+ <xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
583+ </xs:annotation>
584+ </xs:attribute>
585+ <xs:attribute name="includeMdc" type="xs:boolean">
586+ <xs:annotation>
587+ <xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
588+ </xs:annotation>
589+ </xs:attribute>
590+ <xs:attribute name="includeCallSite" type="xs:boolean">
591+ <xs:annotation>
592+ <xs:documentation>Indicates whether to include call site (class and method name) in the information sent over the network.</xs:documentation>
593+ </xs:annotation>
594+ </xs:attribute>
595+ <xs:attribute name="includeAllProperties" type="xs:boolean">
596+ <xs:annotation>
597+ <xs:documentation>Option to include all properties from the log events</xs:documentation>
598+ </xs:annotation>
599+ </xs:attribute>
600+ <xs:attribute name="appInfo" type="xs:string">
601+ <xs:annotation>
602+ <xs:documentation>AppInfo field. By default it's the friendly name of the current AppDomain.</xs:documentation>
603+ </xs:annotation>
604+ </xs:attribute>
605+ <xs:attribute name="ndcItemSeparator" type="xs:string">
606+ <xs:annotation>
607+ <xs:documentation>NDC item separator.</xs:documentation>
608+ </xs:annotation>
609+ </xs:attribute>
610+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
611+ <xs:annotation>
612+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
613+ </xs:annotation>
614+ </xs:attribute>
615+ </xs:extension>
616+ </xs:complexContent>
617+ </xs:complexType>
618+ <xs:simpleType name="System.Security.Authentication.SslProtocols">
619+ <xs:restriction base="xs:string">
620+ <xs:enumeration value="None" />
621+ <xs:enumeration value="Ssl2" />
622+ <xs:enumeration value="Ssl3" />
623+ <xs:enumeration value="Tls" />
624+ <xs:enumeration value="Tls11" />
625+ <xs:enumeration value="Tls12" />
626+ <xs:enumeration value="Tls13" />
627+ <xs:enumeration value="Default" />
628+ </xs:restriction>
629+ </xs:simpleType>
630+ <xs:simpleType name="NLog.Targets.NetworkTargetConnectionsOverflowAction">
631+ <xs:restriction base="xs:string">
632+ <xs:enumeration value="AllowNewConnnection" />
633+ <xs:enumeration value="DiscardMessage" />
634+ <xs:enumeration value="Block" />
635+ </xs:restriction>
636+ </xs:simpleType>
637+ <xs:simpleType name="NLog.Targets.NetworkTargetOverflowAction">
638+ <xs:restriction base="xs:string">
639+ <xs:enumeration value="Error" />
640+ <xs:enumeration value="Split" />
641+ <xs:enumeration value="Discard" />
642+ </xs:restriction>
643+ </xs:simpleType>
644+ <xs:complexType name="NLog.Targets.NLogViewerParameterInfo">
645+ <xs:choice minOccurs="0" maxOccurs="unbounded">
646+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
647+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
648+ <xs:element name="includeEmptyValue" minOccurs="0" maxOccurs="1" type="xs:boolean" />
649+ </xs:choice>
650+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
651+ <xs:annotation>
652+ <xs:documentation>Layout that should be use to calculate the value for the parameter.</xs:documentation>
653+ </xs:annotation>
654+ </xs:attribute>
655+ <xs:attribute name="name" type="xs:string">
656+ <xs:annotation>
657+ <xs:documentation>Viewer parameter name.</xs:documentation>
658+ </xs:annotation>
659+ </xs:attribute>
660+ <xs:attribute name="includeEmptyValue" type="xs:boolean">
661+ <xs:annotation>
662+ <xs:documentation>Whether an attribute with empty value should be included in the output</xs:documentation>
663+ </xs:annotation>
664+ </xs:attribute>
665+ </xs:complexType>
666+ <xs:complexType name="ColoredConsole">
667+ <xs:complexContent>
668+ <xs:extension base="Target">
669+ <xs:choice minOccurs="0" maxOccurs="unbounded">
670+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
671+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
672+ <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
673+ <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
674+ <xs:element name="detectConsoleAvailable" minOccurs="0" maxOccurs="1" type="xs:boolean" />
675+ <xs:element name="enableAnsiOutput" minOccurs="0" maxOccurs="1" type="xs:boolean" />
676+ <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
677+ <xs:element name="errorStream" minOccurs="0" maxOccurs="1" type="xs:boolean" />
678+ <xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
679+ <xs:element name="detectOutputRedirected" minOccurs="0" maxOccurs="1" type="xs:boolean" />
680+ <xs:element name="useDefaultRowHighlightingRules" minOccurs="0" maxOccurs="1" type="xs:boolean" />
681+ <xs:element name="highlight-row" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.ConsoleRowHighlightingRule" />
682+ <xs:element name="highlight-word" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.ConsoleWordHighlightingRule" />
683+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
684+ </xs:choice>
685+ <xs:attribute name="name" type="xs:string">
686+ <xs:annotation>
687+ <xs:documentation>Name of the target.</xs:documentation>
688+ </xs:annotation>
689+ </xs:attribute>
690+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
691+ <xs:annotation>
692+ <xs:documentation>Text to be rendered.</xs:documentation>
693+ </xs:annotation>
694+ </xs:attribute>
695+ <xs:attribute name="header" type="SimpleLayoutAttribute">
696+ <xs:annotation>
697+ <xs:documentation>Header.</xs:documentation>
698+ </xs:annotation>
699+ </xs:attribute>
700+ <xs:attribute name="footer" type="SimpleLayoutAttribute">
701+ <xs:annotation>
702+ <xs:documentation>Footer.</xs:documentation>
703+ </xs:annotation>
704+ </xs:attribute>
705+ <xs:attribute name="detectConsoleAvailable" type="xs:boolean">
706+ <xs:annotation>
707+ <xs:documentation>Indicates whether to auto-check if the console is available. - Disables console writing if Environment.UserInteractive = False (Windows Service) - Disables console writing if Console Standard Input is not available (Non-Console-App)</xs:documentation>
708+ </xs:annotation>
709+ </xs:attribute>
710+ <xs:attribute name="enableAnsiOutput" type="xs:boolean">
711+ <xs:annotation>
712+ <xs:documentation>Enables output using ANSI Color Codes</xs:documentation>
713+ </xs:annotation>
714+ </xs:attribute>
715+ <xs:attribute name="encoding" type="xs:string">
716+ <xs:annotation>
717+ <xs:documentation>The encoding for writing messages to the .</xs:documentation>
718+ </xs:annotation>
719+ </xs:attribute>
720+ <xs:attribute name="errorStream" type="xs:boolean">
721+ <xs:annotation>
722+ <xs:documentation>Indicates whether the error stream (stderr) should be used instead of the output stream (stdout).</xs:documentation>
723+ </xs:annotation>
724+ </xs:attribute>
725+ <xs:attribute name="autoFlush" type="xs:boolean">
726+ <xs:annotation>
727+ <xs:documentation>Indicates whether to auto-flush after </xs:documentation>
728+ </xs:annotation>
729+ </xs:attribute>
730+ <xs:attribute name="detectOutputRedirected" type="xs:boolean">
731+ <xs:annotation>
732+ <xs:documentation>Indicates whether to auto-check if the console has been redirected to file - Disables coloring logic when System.Console.IsOutputRedirected = true</xs:documentation>
733+ </xs:annotation>
734+ </xs:attribute>
735+ <xs:attribute name="useDefaultRowHighlightingRules" type="xs:boolean">
736+ <xs:annotation>
737+ <xs:documentation>Indicates whether to use default row highlighting rules.</xs:documentation>
738+ </xs:annotation>
739+ </xs:attribute>
740+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
741+ <xs:annotation>
742+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
743+ </xs:annotation>
744+ </xs:attribute>
745+ </xs:extension>
746+ </xs:complexContent>
747+ </xs:complexType>
748+ <xs:simpleType name="NLog.Targets.ConsoleOutputColor">
749+ <xs:restriction base="xs:string">
750+ <xs:enumeration value="Black" />
751+ <xs:enumeration value="DarkBlue" />
752+ <xs:enumeration value="DarkGreen" />
753+ <xs:enumeration value="DarkCyan" />
754+ <xs:enumeration value="DarkRed" />
755+ <xs:enumeration value="DarkMagenta" />
756+ <xs:enumeration value="DarkYellow" />
757+ <xs:enumeration value="Gray" />
758+ <xs:enumeration value="DarkGray" />
759+ <xs:enumeration value="Blue" />
760+ <xs:enumeration value="Green" />
761+ <xs:enumeration value="Cyan" />
762+ <xs:enumeration value="Red" />
763+ <xs:enumeration value="Magenta" />
764+ <xs:enumeration value="Yellow" />
765+ <xs:enumeration value="White" />
766+ <xs:enumeration value="NoChange" />
767+ </xs:restriction>
768+ </xs:simpleType>
769+ <xs:complexType name="NLog.Targets.ConsoleRowHighlightingRule">
770+ <xs:choice minOccurs="0" maxOccurs="unbounded">
771+ <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
772+ <xs:element name="backgroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
773+ <xs:element name="foregroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
774+ </xs:choice>
775+ <xs:attribute name="condition" type="Condition">
776+ <xs:annotation>
777+ <xs:documentation>Condition that must be met in order to set the specified foreground and background color.</xs:documentation>
778+ </xs:annotation>
779+ </xs:attribute>
780+ <xs:attribute name="backgroundColor" type="NLog.Targets.ConsoleOutputColor">
781+ <xs:annotation>
782+ <xs:documentation>Background color.</xs:documentation>
783+ </xs:annotation>
784+ </xs:attribute>
785+ <xs:attribute name="foregroundColor" type="NLog.Targets.ConsoleOutputColor">
786+ <xs:annotation>
787+ <xs:documentation>Foreground color.</xs:documentation>
788+ </xs:annotation>
789+ </xs:attribute>
790+ </xs:complexType>
791+ <xs:complexType name="NLog.Targets.ConsoleWordHighlightingRule">
792+ <xs:choice minOccurs="0" maxOccurs="unbounded">
793+ <xs:element name="compileRegex" minOccurs="0" maxOccurs="1" type="xs:boolean" />
794+ <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
795+ <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
796+ <xs:element name="regex" minOccurs="0" maxOccurs="1" type="xs:string" />
797+ <xs:element name="text" minOccurs="0" maxOccurs="1" type="xs:string" />
798+ <xs:element name="wholeWords" minOccurs="0" maxOccurs="1" type="xs:boolean" />
799+ <xs:element name="backgroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
800+ <xs:element name="foregroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
801+ </xs:choice>
802+ <xs:attribute name="compileRegex" type="xs:boolean">
803+ <xs:annotation>
804+ <xs:documentation>Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.</xs:documentation>
805+ </xs:annotation>
806+ </xs:attribute>
807+ <xs:attribute name="condition" type="Condition">
808+ <xs:annotation>
809+ <xs:documentation>Condition that must be met before scanning the row for highlight of words</xs:documentation>
810+ </xs:annotation>
811+ </xs:attribute>
812+ <xs:attribute name="ignoreCase" type="xs:boolean">
813+ <xs:annotation>
814+ <xs:documentation>Indicates whether to ignore case when comparing texts.</xs:documentation>
815+ </xs:annotation>
816+ </xs:attribute>
817+ <xs:attribute name="regex" type="xs:string">
818+ <xs:annotation>
819+ <xs:documentation>Regular expression to be matched. You must specify either text or regex.</xs:documentation>
820+ </xs:annotation>
821+ </xs:attribute>
822+ <xs:attribute name="text" type="xs:string">
823+ <xs:annotation>
824+ <xs:documentation>Text to be matched. You must specify either text or regex.</xs:documentation>
825+ </xs:annotation>
826+ </xs:attribute>
827+ <xs:attribute name="wholeWords" type="xs:boolean">
828+ <xs:annotation>
829+ <xs:documentation>Indicates whether to match whole words only.</xs:documentation>
830+ </xs:annotation>
831+ </xs:attribute>
832+ <xs:attribute name="backgroundColor" type="NLog.Targets.ConsoleOutputColor">
833+ <xs:annotation>
834+ <xs:documentation>Background color.</xs:documentation>
835+ </xs:annotation>
836+ </xs:attribute>
837+ <xs:attribute name="foregroundColor" type="NLog.Targets.ConsoleOutputColor">
838+ <xs:annotation>
839+ <xs:documentation>Foreground color.</xs:documentation>
840+ </xs:annotation>
841+ </xs:attribute>
842+ </xs:complexType>
843+ <xs:complexType name="Console">
844+ <xs:complexContent>
845+ <xs:extension base="Target">
846+ <xs:choice minOccurs="0" maxOccurs="unbounded">
847+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
848+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
849+ <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
850+ <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
851+ <xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
852+ <xs:element name="detectConsoleAvailable" minOccurs="0" maxOccurs="1" type="xs:boolean" />
853+ <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
854+ <xs:element name="error" minOccurs="0" maxOccurs="1" type="xs:boolean" />
855+ <xs:element name="writeBuffer" minOccurs="0" maxOccurs="1" type="xs:boolean" />
856+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
857+ </xs:choice>
858+ <xs:attribute name="name" type="xs:string">
859+ <xs:annotation>
860+ <xs:documentation>Name of the target.</xs:documentation>
861+ </xs:annotation>
862+ </xs:attribute>
863+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
864+ <xs:annotation>
865+ <xs:documentation>Text to be rendered.</xs:documentation>
866+ </xs:annotation>
867+ </xs:attribute>
868+ <xs:attribute name="header" type="SimpleLayoutAttribute">
869+ <xs:annotation>
870+ <xs:documentation>Header.</xs:documentation>
871+ </xs:annotation>
872+ </xs:attribute>
873+ <xs:attribute name="footer" type="SimpleLayoutAttribute">
874+ <xs:annotation>
875+ <xs:documentation>Footer.</xs:documentation>
876+ </xs:annotation>
877+ </xs:attribute>
878+ <xs:attribute name="autoFlush" type="xs:boolean">
879+ <xs:annotation>
880+ <xs:documentation>Indicates whether to auto-flush after </xs:documentation>
881+ </xs:annotation>
882+ </xs:attribute>
883+ <xs:attribute name="detectConsoleAvailable" type="xs:boolean">
884+ <xs:annotation>
885+ <xs:documentation>Indicates whether to auto-check if the console is available - Disables console writing if Environment.UserInteractive = False (Windows Service) - Disables console writing if Console Standard Input is not available (Non-Console-App)</xs:documentation>
886+ </xs:annotation>
887+ </xs:attribute>
888+ <xs:attribute name="encoding" type="xs:string">
889+ <xs:annotation>
890+ <xs:documentation>The encoding for writing messages to the .</xs:documentation>
891+ </xs:annotation>
892+ </xs:attribute>
893+ <xs:attribute name="error" type="xs:boolean">
894+ <xs:annotation>
895+ <xs:documentation>Indicates whether to send the log messages to the standard error instead of the standard output.</xs:documentation>
896+ </xs:annotation>
897+ </xs:attribute>
898+ <xs:attribute name="writeBuffer" type="xs:boolean">
899+ <xs:annotation>
900+ <xs:documentation>Whether to enable batch writing using char[]-buffers, instead of using </xs:documentation>
901+ </xs:annotation>
902+ </xs:attribute>
903+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
904+ <xs:annotation>
905+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
906+ </xs:annotation>
907+ </xs:attribute>
908+ </xs:extension>
909+ </xs:complexContent>
910+ </xs:complexType>
911+ <xs:complexType name="Database">
912+ <xs:complexContent>
913+ <xs:extension base="Target">
914+ <xs:choice minOccurs="0" maxOccurs="unbounded">
915+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
916+ <xs:element name="useTransactions" minOccurs="0" maxOccurs="1" type="xs:boolean" />
917+ <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
918+ <xs:element name="dbProvider" minOccurs="0" maxOccurs="1" type="xs:string" />
919+ <xs:element name="dbPassword" minOccurs="0" maxOccurs="1" type="Layout" />
920+ <xs:element name="dbHost" minOccurs="0" maxOccurs="1" type="Layout" />
921+ <xs:element name="dbUserName" minOccurs="0" maxOccurs="1" type="Layout" />
922+ <xs:element name="connectionStringName" minOccurs="0" maxOccurs="1" type="xs:string" />
923+ <xs:element name="connectionString" minOccurs="0" maxOccurs="1" type="Layout" />
924+ <xs:element name="connectionproperty" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseObjectPropertyInfo" />
925+ <xs:element name="commandproperty" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseObjectPropertyInfo" />
926+ <xs:element name="dbDatabase" minOccurs="0" maxOccurs="1" type="Layout" />
927+ <xs:element name="installConnectionString" minOccurs="0" maxOccurs="1" type="Layout" />
928+ <xs:element name="install-command" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseCommandInfo" />
929+ <xs:element name="uninstall-command" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseCommandInfo" />
930+ <xs:element name="isolationLevel" minOccurs="0" maxOccurs="1" type="System.Data.IsolationLevel" />
931+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
932+ <xs:element name="commandText" minOccurs="0" maxOccurs="1" type="Layout" />
933+ <xs:element name="commandType" minOccurs="0" maxOccurs="1" type="System.Data.CommandType" />
934+ <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseParameterInfo" />
935+ </xs:choice>
936+ <xs:attribute name="name" type="xs:string">
937+ <xs:annotation>
938+ <xs:documentation>Name of the target.</xs:documentation>
939+ </xs:annotation>
940+ </xs:attribute>
941+ <xs:attribute name="useTransactions" type="xs:boolean">
942+ <xs:annotation>
943+ <xs:documentation>Obsolete - value will be ignored! The logging code always runs outside of transaction. Gets or sets a value indicating whether to use database transactions. Some data providers require this.</xs:documentation>
944+ </xs:annotation>
945+ </xs:attribute>
946+ <xs:attribute name="keepConnection" type="xs:boolean">
947+ <xs:annotation>
948+ <xs:documentation>Indicates whether to keep the database connection open between the log events.</xs:documentation>
949+ </xs:annotation>
950+ </xs:attribute>
951+ <xs:attribute name="dbProvider" type="xs:string">
952+ <xs:annotation>
953+ <xs:documentation>Name of the database provider.</xs:documentation>
954+ </xs:annotation>
955+ </xs:attribute>
956+ <xs:attribute name="dbPassword" type="SimpleLayoutAttribute">
957+ <xs:annotation>
958+ <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>
959+ </xs:annotation>
960+ </xs:attribute>
961+ <xs:attribute name="dbHost" type="SimpleLayoutAttribute">
962+ <xs:annotation>
963+ <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>
964+ </xs:annotation>
965+ </xs:attribute>
966+ <xs:attribute name="dbUserName" type="SimpleLayoutAttribute">
967+ <xs:annotation>
968+ <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>
969+ </xs:annotation>
970+ </xs:attribute>
971+ <xs:attribute name="connectionStringName" type="xs:string">
972+ <xs:annotation>
973+ <xs:documentation>Name of the connection string (as specified in &lt;connectionStrings&gt; configuration section.</xs:documentation>
974+ </xs:annotation>
975+ </xs:attribute>
976+ <xs:attribute name="connectionString" type="SimpleLayoutAttribute">
977+ <xs:annotation>
978+ <xs:documentation>Connection string. When provided, it overrides the values specified in DBHost, DBUserName, DBPassword, DBDatabase.</xs:documentation>
979+ </xs:annotation>
980+ </xs:attribute>
981+ <xs:attribute name="dbDatabase" type="SimpleLayoutAttribute">
982+ <xs:annotation>
983+ <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>
984+ </xs:annotation>
985+ </xs:attribute>
986+ <xs:attribute name="installConnectionString" type="SimpleLayoutAttribute">
987+ <xs:annotation>
988+ <xs:documentation>Connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.</xs:documentation>
989+ </xs:annotation>
990+ </xs:attribute>
991+ <xs:attribute name="isolationLevel" type="System.Data.IsolationLevel">
992+ <xs:annotation>
993+ <xs:documentation>Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance.</xs:documentation>
994+ </xs:annotation>
995+ </xs:attribute>
996+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
997+ <xs:annotation>
998+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
999+ </xs:annotation>
1000+ </xs:attribute>
1001+ <xs:attribute name="commandText" type="SimpleLayoutAttribute">
1002+ <xs:annotation>
1003+ <xs:documentation>Text of the SQL command to be run on each log level.</xs:documentation>
1004+ </xs:annotation>
1005+ </xs:attribute>
1006+ <xs:attribute name="commandType" type="System.Data.CommandType">
1007+ <xs:annotation>
1008+ <xs:documentation>Type of the SQL command to be run on each log level.</xs:documentation>
1009+ </xs:annotation>
1010+ </xs:attribute>
1011+ </xs:extension>
1012+ </xs:complexContent>
1013+ </xs:complexType>
1014+ <xs:simpleType name="System.Data.CommandType">
1015+ <xs:restriction base="xs:string">
1016+ <xs:enumeration value="Text" />
1017+ <xs:enumeration value="StoredProcedure" />
1018+ <xs:enumeration value="TableDirect" />
1019+ </xs:restriction>
1020+ </xs:simpleType>
1021+ <xs:simpleType name="System.Data.IsolationLevel">
1022+ <xs:restriction base="xs:string">
1023+ <xs:enumeration value="Unspecified" />
1024+ <xs:enumeration value="Chaos" />
1025+ <xs:enumeration value="ReadUncommitted" />
1026+ <xs:enumeration value="ReadCommitted" />
1027+ <xs:enumeration value="RepeatableRead" />
1028+ <xs:enumeration value="Serializable" />
1029+ <xs:enumeration value="Snapshot" />
1030+ </xs:restriction>
1031+ </xs:simpleType>
1032+ <xs:complexType name="NLog.Targets.DatabaseObjectPropertyInfo">
1033+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1034+ <xs:element name="format" minOccurs="0" maxOccurs="1" type="xs:string" />
1035+ <xs:element name="culture" minOccurs="0" maxOccurs="1" type="xs:string" />
1036+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1037+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1038+ <xs:element name="propertyType" minOccurs="0" maxOccurs="1" type="xs:string" />
1039+ </xs:choice>
1040+ <xs:attribute name="format" type="xs:string">
1041+ <xs:annotation>
1042+ <xs:documentation>Convert format of the property value</xs:documentation>
1043+ </xs:annotation>
1044+ </xs:attribute>
1045+ <xs:attribute name="culture" type="xs:string">
1046+ <xs:annotation>
1047+ <xs:documentation>Culture used for parsing property string-value for type-conversion</xs:documentation>
1048+ </xs:annotation>
1049+ </xs:attribute>
1050+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
1051+ <xs:annotation>
1052+ <xs:documentation>Value to assign on the object-property</xs:documentation>
1053+ </xs:annotation>
1054+ </xs:attribute>
1055+ <xs:attribute name="name" type="xs:string">
1056+ <xs:annotation>
1057+ <xs:documentation>Name for the object-property</xs:documentation>
1058+ </xs:annotation>
1059+ </xs:attribute>
1060+ <xs:attribute name="propertyType" type="xs:string">
1061+ <xs:annotation>
1062+ <xs:documentation>Type of the object-property</xs:documentation>
1063+ </xs:annotation>
1064+ </xs:attribute>
1065+ </xs:complexType>
1066+ <xs:complexType name="NLog.Targets.DatabaseCommandInfo">
1067+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1068+ <xs:element name="commandType" minOccurs="0" maxOccurs="1" type="System.Data.CommandType" />
1069+ <xs:element name="connectionString" minOccurs="0" maxOccurs="1" type="Layout" />
1070+ <xs:element name="ignoreFailures" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1071+ <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseParameterInfo" />
1072+ <xs:element name="text" minOccurs="0" maxOccurs="1" type="Layout" />
1073+ </xs:choice>
1074+ <xs:attribute name="commandType" type="System.Data.CommandType">
1075+ <xs:annotation>
1076+ <xs:documentation>Type of the command.</xs:documentation>
1077+ </xs:annotation>
1078+ </xs:attribute>
1079+ <xs:attribute name="connectionString" type="SimpleLayoutAttribute">
1080+ <xs:annotation>
1081+ <xs:documentation>Connection string to run the command against. If not provided, connection string from the target is used.</xs:documentation>
1082+ </xs:annotation>
1083+ </xs:attribute>
1084+ <xs:attribute name="ignoreFailures" type="xs:boolean">
1085+ <xs:annotation>
1086+ <xs:documentation>Indicates whether to ignore failures.</xs:documentation>
1087+ </xs:annotation>
1088+ </xs:attribute>
1089+ <xs:attribute name="text" type="SimpleLayoutAttribute">
1090+ <xs:annotation>
1091+ <xs:documentation>Command text.</xs:documentation>
1092+ </xs:annotation>
1093+ </xs:attribute>
1094+ </xs:complexType>
1095+ <xs:complexType name="NLog.Targets.DatabaseParameterInfo">
1096+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1097+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1098+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1099+ <xs:element name="dbType" minOccurs="0" maxOccurs="1" type="xs:string" />
1100+ <xs:element name="size" minOccurs="0" maxOccurs="1" type="xs:integer" />
1101+ <xs:element name="precision" minOccurs="0" maxOccurs="1" type="xs:byte" />
1102+ <xs:element name="scale" minOccurs="0" maxOccurs="1" type="xs:byte" />
1103+ <xs:element name="parameterType" minOccurs="0" maxOccurs="1" type="xs:string" />
1104+ <xs:element name="allowDbNull" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1105+ <xs:element name="format" minOccurs="0" maxOccurs="1" type="xs:string" />
1106+ <xs:element name="culture" minOccurs="0" maxOccurs="1" type="xs:string" />
1107+ </xs:choice>
1108+ <xs:attribute name="name" type="xs:string">
1109+ <xs:annotation>
1110+ <xs:documentation>Database parameter name.</xs:documentation>
1111+ </xs:annotation>
1112+ </xs:attribute>
1113+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
1114+ <xs:annotation>
1115+ <xs:documentation>Layout that should be use to calculate the value for the parameter.</xs:documentation>
1116+ </xs:annotation>
1117+ </xs:attribute>
1118+ <xs:attribute name="dbType" type="xs:string">
1119+ <xs:annotation>
1120+ <xs:documentation>Database parameter DbType.</xs:documentation>
1121+ </xs:annotation>
1122+ </xs:attribute>
1123+ <xs:attribute name="size" type="xs:integer">
1124+ <xs:annotation>
1125+ <xs:documentation>Database parameter size.</xs:documentation>
1126+ </xs:annotation>
1127+ </xs:attribute>
1128+ <xs:attribute name="precision" type="xs:byte">
1129+ <xs:annotation>
1130+ <xs:documentation>Database parameter precision.</xs:documentation>
1131+ </xs:annotation>
1132+ </xs:attribute>
1133+ <xs:attribute name="scale" type="xs:byte">
1134+ <xs:annotation>
1135+ <xs:documentation>Database parameter scale.</xs:documentation>
1136+ </xs:annotation>
1137+ </xs:attribute>
1138+ <xs:attribute name="parameterType" type="xs:string">
1139+ <xs:annotation>
1140+ <xs:documentation>Type of the parameter.</xs:documentation>
1141+ </xs:annotation>
1142+ </xs:attribute>
1143+ <xs:attribute name="allowDbNull" type="xs:boolean">
1144+ <xs:annotation>
1145+ <xs:documentation>Whether empty value should translate into DbNull. Requires database column to allow NULL values.</xs:documentation>
1146+ </xs:annotation>
1147+ </xs:attribute>
1148+ <xs:attribute name="format" type="xs:string">
1149+ <xs:annotation>
1150+ <xs:documentation>Convert format of the database parameter value.</xs:documentation>
1151+ </xs:annotation>
1152+ </xs:attribute>
1153+ <xs:attribute name="culture" type="xs:string">
1154+ <xs:annotation>
1155+ <xs:documentation>Culture used for parsing parameter string-value for type-conversion</xs:documentation>
1156+ </xs:annotation>
1157+ </xs:attribute>
1158+ </xs:complexType>
1159+ <xs:complexType name="Debugger">
1160+ <xs:complexContent>
1161+ <xs:extension base="Target">
1162+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1163+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1164+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1165+ <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
1166+ <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
1167+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1168+ </xs:choice>
1169+ <xs:attribute name="name" type="xs:string">
1170+ <xs:annotation>
1171+ <xs:documentation>Name of the target.</xs:documentation>
1172+ </xs:annotation>
1173+ </xs:attribute>
1174+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
1175+ <xs:annotation>
1176+ <xs:documentation>Text to be rendered.</xs:documentation>
1177+ </xs:annotation>
1178+ </xs:attribute>
1179+ <xs:attribute name="header" type="SimpleLayoutAttribute">
1180+ <xs:annotation>
1181+ <xs:documentation>Header.</xs:documentation>
1182+ </xs:annotation>
1183+ </xs:attribute>
1184+ <xs:attribute name="footer" type="SimpleLayoutAttribute">
1185+ <xs:annotation>
1186+ <xs:documentation>Footer.</xs:documentation>
1187+ </xs:annotation>
1188+ </xs:attribute>
1189+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1190+ <xs:annotation>
1191+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1192+ </xs:annotation>
1193+ </xs:attribute>
1194+ </xs:extension>
1195+ </xs:complexContent>
1196+ </xs:complexType>
1197+ <xs:complexType name="Debug">
1198+ <xs:complexContent>
1199+ <xs:extension base="Target">
1200+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1201+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1202+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1203+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1204+ </xs:choice>
1205+ <xs:attribute name="name" type="xs:string">
1206+ <xs:annotation>
1207+ <xs:documentation>Name of the target.</xs:documentation>
1208+ </xs:annotation>
1209+ </xs:attribute>
1210+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
1211+ <xs:annotation>
1212+ <xs:documentation>Layout used to format log messages.</xs:documentation>
1213+ </xs:annotation>
1214+ </xs:attribute>
1215+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1216+ <xs:annotation>
1217+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1218+ </xs:annotation>
1219+ </xs:attribute>
1220+ </xs:extension>
1221+ </xs:complexContent>
1222+ </xs:complexType>
1223+ <xs:complexType name="EventLog">
1224+ <xs:complexContent>
1225+ <xs:extension base="Target">
1226+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1227+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1228+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1229+ <xs:element name="category" minOccurs="0" maxOccurs="1" type="Layout" />
1230+ <xs:element name="entryType" minOccurs="0" maxOccurs="1" type="Layout" />
1231+ <xs:element name="eventId" minOccurs="0" maxOccurs="1" type="Layout" />
1232+ <xs:element name="log" minOccurs="0" maxOccurs="1" type="xs:string" />
1233+ <xs:element name="machineName" minOccurs="0" maxOccurs="1" type="xs:string" />
1234+ <xs:element name="maxKilobytes" minOccurs="0" maxOccurs="1" type="xs:long" />
1235+ <xs:element name="maxMessageLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
1236+ <xs:element name="source" minOccurs="0" maxOccurs="1" type="Layout" />
1237+ <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.EventLogTargetOverflowAction" />
1238+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1239+ </xs:choice>
1240+ <xs:attribute name="name" type="xs:string">
1241+ <xs:annotation>
1242+ <xs:documentation>Name of the target.</xs:documentation>
1243+ </xs:annotation>
1244+ </xs:attribute>
1245+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
1246+ <xs:annotation>
1247+ <xs:documentation>Layout used to format log messages.</xs:documentation>
1248+ </xs:annotation>
1249+ </xs:attribute>
1250+ <xs:attribute name="category" type="SimpleLayoutAttribute">
1251+ <xs:annotation>
1252+ <xs:documentation>Layout that renders event Category.</xs:documentation>
1253+ </xs:annotation>
1254+ </xs:attribute>
1255+ <xs:attribute name="entryType" type="SimpleLayoutAttribute">
1256+ <xs:annotation>
1257+ <xs:documentation>Optional entry type. When not set, or when not convertible to then determined by </xs:documentation>
1258+ </xs:annotation>
1259+ </xs:attribute>
1260+ <xs:attribute name="eventId" type="SimpleLayoutAttribute">
1261+ <xs:annotation>
1262+ <xs:documentation>Layout that renders event ID.</xs:documentation>
1263+ </xs:annotation>
1264+ </xs:attribute>
1265+ <xs:attribute name="log" type="xs:string">
1266+ <xs:annotation>
1267+ <xs:documentation>Name of the Event Log to write to. This can be System, Application or any user-defined name.</xs:documentation>
1268+ </xs:annotation>
1269+ </xs:attribute>
1270+ <xs:attribute name="machineName" type="xs:string">
1271+ <xs:annotation>
1272+ <xs:documentation>Name of the machine on which Event Log service is running.</xs:documentation>
1273+ </xs:annotation>
1274+ </xs:attribute>
1275+ <xs:attribute name="maxKilobytes" type="xs:long">
1276+ <xs:annotation>
1277+ <xs:documentation>Maximum Event log size in kilobytes.</xs:documentation>
1278+ </xs:annotation>
1279+ </xs:attribute>
1280+ <xs:attribute name="maxMessageLength" type="xs:integer">
1281+ <xs:annotation>
1282+ <xs:documentation>Message length limit to write to the Event Log.</xs:documentation>
1283+ </xs:annotation>
1284+ </xs:attribute>
1285+ <xs:attribute name="source" type="SimpleLayoutAttribute">
1286+ <xs:annotation>
1287+ <xs:documentation>Value to be used as the event Source.</xs:documentation>
1288+ </xs:annotation>
1289+ </xs:attribute>
1290+ <xs:attribute name="onOverflow" type="NLog.Targets.EventLogTargetOverflowAction">
1291+ <xs:annotation>
1292+ <xs:documentation>Action to take if the message is larger than the option.</xs:documentation>
1293+ </xs:annotation>
1294+ </xs:attribute>
1295+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1296+ <xs:annotation>
1297+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1298+ </xs:annotation>
1299+ </xs:attribute>
1300+ </xs:extension>
1301+ </xs:complexContent>
1302+ </xs:complexType>
1303+ <xs:simpleType name="NLog.Targets.EventLogTargetOverflowAction">
1304+ <xs:restriction base="xs:string">
1305+ <xs:enumeration value="Truncate" />
1306+ <xs:enumeration value="Split" />
1307+ <xs:enumeration value="Discard" />
1308+ </xs:restriction>
1309+ </xs:simpleType>
1310+ <xs:complexType name="FallbackGroup">
1311+ <xs:complexContent>
1312+ <xs:extension base="CompoundTargetBase">
1313+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1314+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1315+ <xs:element name="returnToFirstOnSuccess" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1316+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
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:attribute name="returnToFirstOnSuccess" type="xs:boolean">
1324+ <xs:annotation>
1325+ <xs:documentation>Indicates whether to return to the first target after any successful write.</xs:documentation>
1326+ </xs:annotation>
1327+ </xs:attribute>
1328+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1329+ <xs:annotation>
1330+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1331+ </xs:annotation>
1332+ </xs:attribute>
1333+ </xs:extension>
1334+ </xs:complexContent>
1335+ </xs:complexType>
1336+ <xs:complexType name="File">
1337+ <xs:complexContent>
1338+ <xs:extension base="Target">
1339+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1340+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1341+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1342+ <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
1343+ <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
1344+ <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
1345+ <xs:element name="lineEnding" minOccurs="0" maxOccurs="1" type="LineEndingMode" />
1346+ <xs:element name="maxArchiveDays" minOccurs="0" maxOccurs="1" type="xs:integer" />
1347+ <xs:element name="enableArchiveFileCompression" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1348+ <xs:element name="archiveNumbering" minOccurs="0" maxOccurs="1" type="NLog.Targets.ArchiveNumberingMode" />
1349+ <xs:element name="archiveFileName" minOccurs="0" maxOccurs="1" type="Layout" />
1350+ <xs:element name="archiveFileKind" minOccurs="0" maxOccurs="1" type="NLog.Targets.FilePathKind" />
1351+ <xs:element name="archiveEvery" minOccurs="0" maxOccurs="1" type="NLog.Targets.FileArchivePeriod" />
1352+ <xs:element name="archiveAboveSize" minOccurs="0" maxOccurs="1" type="xs:long" />
1353+ <xs:element name="maxArchiveFiles" minOccurs="0" maxOccurs="1" type="xs:integer" />
1354+ <xs:element name="writeFooterOnArchivingOnly" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1355+ <xs:element name="maxLogFilenames" minOccurs="0" maxOccurs="1" type="xs:integer" />
1356+ <xs:element name="deleteOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1357+ <xs:element name="fileAttributes" minOccurs="0" maxOccurs="1" type="NLog.Targets.Win32FileAttributes" />
1358+ <xs:element name="createDirs" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1359+ <xs:element name="cleanupFileName" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1360+ <xs:element name="archiveOldFileOnStartupAboveSize" minOccurs="0" maxOccurs="1" type="xs:long" />
1361+ <xs:element name="archiveOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1362+ <xs:element name="archiveDateFormat" minOccurs="0" maxOccurs="1" type="xs:string" />
1363+ <xs:element name="enableFileDelete" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1364+ <xs:element name="writeBom" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1365+ <xs:element name="replaceFileContentsOnEachWrite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1366+ <xs:element name="forceMutexConcurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1367+ <xs:element name="forceManaged" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1368+ <xs:element name="fileNameKind" minOccurs="0" maxOccurs="1" type="NLog.Targets.FilePathKind" />
1369+ <xs:element name="fileName" minOccurs="0" maxOccurs="1" type="Layout" />
1370+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1371+ <xs:element name="networkWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1372+ <xs:element name="openFileCacheTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
1373+ <xs:element name="openFileCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
1374+ <xs:element name="keepFileOpen" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1375+ <xs:element name="discardAll" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1376+ <xs:element name="concurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1377+ <xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
1378+ <xs:element name="concurrentWriteAttemptDelay" minOccurs="0" maxOccurs="1" type="xs:integer" />
1379+ <xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
1380+ <xs:element name="openFileFlushTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
1381+ <xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1382+ </xs:choice>
1383+ <xs:attribute name="name" type="xs:string">
1384+ <xs:annotation>
1385+ <xs:documentation>Name of the target.</xs:documentation>
1386+ </xs:annotation>
1387+ </xs:attribute>
1388+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
1389+ <xs:annotation>
1390+ <xs:documentation>Text to be rendered.</xs:documentation>
1391+ </xs:annotation>
1392+ </xs:attribute>
1393+ <xs:attribute name="header" type="SimpleLayoutAttribute">
1394+ <xs:annotation>
1395+ <xs:documentation>Header.</xs:documentation>
1396+ </xs:annotation>
1397+ </xs:attribute>
1398+ <xs:attribute name="footer" type="SimpleLayoutAttribute">
1399+ <xs:annotation>
1400+ <xs:documentation>Footer.</xs:documentation>
1401+ </xs:annotation>
1402+ </xs:attribute>
1403+ <xs:attribute name="encoding" type="xs:string">
1404+ <xs:annotation>
1405+ <xs:documentation>File encoding.</xs:documentation>
1406+ </xs:annotation>
1407+ </xs:attribute>
1408+ <xs:attribute name="lineEnding" type="LineEndingMode">
1409+ <xs:annotation>
1410+ <xs:documentation>Line ending mode.</xs:documentation>
1411+ </xs:annotation>
1412+ </xs:attribute>
1413+ <xs:attribute name="maxArchiveDays" type="xs:integer">
1414+ <xs:annotation>
1415+ <xs:documentation>Maximum days of archive files that should be kept.</xs:documentation>
1416+ </xs:annotation>
1417+ </xs:attribute>
1418+ <xs:attribute name="enableArchiveFileCompression" type="xs:boolean">
1419+ <xs:annotation>
1420+ <xs:documentation>Indicates whether to compress archive files into the zip archive format.</xs:documentation>
1421+ </xs:annotation>
1422+ </xs:attribute>
1423+ <xs:attribute name="archiveNumbering" type="NLog.Targets.ArchiveNumberingMode">
1424+ <xs:annotation>
1425+ <xs:documentation>Way file archives are numbered.</xs:documentation>
1426+ </xs:annotation>
1427+ </xs:attribute>
1428+ <xs:attribute name="archiveFileName" type="SimpleLayoutAttribute">
1429+ <xs:annotation>
1430+ <xs:documentation>Name of the file to be used for an archive.</xs:documentation>
1431+ </xs:annotation>
1432+ </xs:attribute>
1433+ <xs:attribute name="archiveFileKind" type="NLog.Targets.FilePathKind">
1434+ <xs:annotation>
1435+ <xs:documentation>Is the an absolute or relative path?</xs:documentation>
1436+ </xs:annotation>
1437+ </xs:attribute>
1438+ <xs:attribute name="archiveEvery" type="NLog.Targets.FileArchivePeriod">
1439+ <xs:annotation>
1440+ <xs:documentation>Indicates whether to automatically archive log files every time the specified time passes.</xs:documentation>
1441+ </xs:annotation>
1442+ </xs:attribute>
1443+ <xs:attribute name="archiveAboveSize" type="xs:long">
1444+ <xs:annotation>
1445+ <xs:documentation>Size in bytes above which log files will be automatically archived. Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. Choose: </xs:documentation>
1446+ </xs:annotation>
1447+ </xs:attribute>
1448+ <xs:attribute name="maxArchiveFiles" type="xs:integer">
1449+ <xs:annotation>
1450+ <xs:documentation>Maximum number of archive files that should be kept.</xs:documentation>
1451+ </xs:annotation>
1452+ </xs:attribute>
1453+ <xs:attribute name="writeFooterOnArchivingOnly" type="xs:boolean">
1454+ <xs:annotation>
1455+ <xs:documentation>Indicates whether the footer should be written only when the file is archived.</xs:documentation>
1456+ </xs:annotation>
1457+ </xs:attribute>
1458+ <xs:attribute name="maxLogFilenames" type="xs:integer">
1459+ <xs:annotation>
1460+ <xs:documentation>Maximum number of log file names that should be stored as existing.</xs:documentation>
1461+ </xs:annotation>
1462+ </xs:attribute>
1463+ <xs:attribute name="deleteOldFileOnStartup" type="xs:boolean">
1464+ <xs:annotation>
1465+ <xs:documentation>Indicates whether to delete old log file on startup.</xs:documentation>
1466+ </xs:annotation>
1467+ </xs:attribute>
1468+ <xs:attribute name="fileAttributes" type="NLog.Targets.Win32FileAttributes">
1469+ <xs:annotation>
1470+ <xs:documentation>File attributes (Windows only).</xs:documentation>
1471+ </xs:annotation>
1472+ </xs:attribute>
1473+ <xs:attribute name="createDirs" type="xs:boolean">
1474+ <xs:annotation>
1475+ <xs:documentation>Indicates whether to create directories if they do not exist.</xs:documentation>
1476+ </xs:annotation>
1477+ </xs:attribute>
1478+ <xs:attribute name="cleanupFileName" type="xs:boolean">
1479+ <xs:annotation>
1480+ <xs:documentation>Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. If set to false, nothing gets written when the filename is wrong.</xs:documentation>
1481+ </xs:annotation>
1482+ </xs:attribute>
1483+ <xs:attribute name="archiveOldFileOnStartupAboveSize" type="xs:long">
1484+ <xs:annotation>
1485+ <xs:documentation>Value of the file size threshold to archive old log file on startup.</xs:documentation>
1486+ </xs:annotation>
1487+ </xs:attribute>
1488+ <xs:attribute name="archiveOldFileOnStartup" type="xs:boolean">
1489+ <xs:annotation>
1490+ <xs:documentation>Indicates whether to archive old log file on startup.</xs:documentation>
1491+ </xs:annotation>
1492+ </xs:attribute>
1493+ <xs:attribute name="archiveDateFormat" type="xs:string">
1494+ <xs:annotation>
1495+ <xs:documentation>Value specifying the date format to use when archiving files.</xs:documentation>
1496+ </xs:annotation>
1497+ </xs:attribute>
1498+ <xs:attribute name="enableFileDelete" type="xs:boolean">
1499+ <xs:annotation>
1500+ <xs:documentation>Indicates whether to enable log file(s) to be deleted.</xs:documentation>
1501+ </xs:annotation>
1502+ </xs:attribute>
1503+ <xs:attribute name="writeBom" type="xs:boolean">
1504+ <xs:annotation>
1505+ <xs:documentation>Indicates whether to write BOM (byte order mark) in created files</xs:documentation>
1506+ </xs:annotation>
1507+ </xs:attribute>
1508+ <xs:attribute name="replaceFileContentsOnEachWrite" type="xs:boolean">
1509+ <xs:annotation>
1510+ <xs:documentation>Indicates whether to replace file contents on each write instead of appending log message at the end.</xs:documentation>
1511+ </xs:annotation>
1512+ </xs:attribute>
1513+ <xs:attribute name="forceMutexConcurrentWrites" type="xs:boolean">
1514+ <xs:annotation>
1515+ <xs:documentation>Indicates whether file creation calls should be synchronized by a system global mutex.</xs:documentation>
1516+ </xs:annotation>
1517+ </xs:attribute>
1518+ <xs:attribute name="forceManaged" type="xs:boolean">
1519+ <xs:annotation>
1520+ <xs:documentation>Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation.</xs:documentation>
1521+ </xs:annotation>
1522+ </xs:attribute>
1523+ <xs:attribute name="fileNameKind" type="NLog.Targets.FilePathKind">
1524+ <xs:annotation>
1525+ <xs:documentation>Is the an absolute or relative path?</xs:documentation>
1526+ </xs:annotation>
1527+ </xs:attribute>
1528+ <xs:attribute name="fileName" type="SimpleLayoutAttribute">
1529+ <xs:annotation>
1530+ <xs:documentation>Name of the file to write to.</xs:documentation>
1531+ </xs:annotation>
1532+ </xs:attribute>
1533+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1534+ <xs:annotation>
1535+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1536+ </xs:annotation>
1537+ </xs:attribute>
1538+ <xs:attribute name="networkWrites" type="xs:boolean">
1539+ <xs:annotation>
1540+ <xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on different network hosts.</xs:documentation>
1541+ </xs:annotation>
1542+ </xs:attribute>
1543+ <xs:attribute name="openFileCacheTimeout" type="xs:integer">
1544+ <xs:annotation>
1545+ <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>
1546+ </xs:annotation>
1547+ </xs:attribute>
1548+ <xs:attribute name="openFileCacheSize" type="xs:integer">
1549+ <xs:annotation>
1550+ <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>
1551+ </xs:annotation>
1552+ </xs:attribute>
1553+ <xs:attribute name="keepFileOpen" type="xs:boolean">
1554+ <xs:annotation>
1555+ <xs:documentation>Indicates whether to keep log file open instead of opening and closing it on each logging event.</xs:documentation>
1556+ </xs:annotation>
1557+ </xs:attribute>
1558+ <xs:attribute name="discardAll" type="xs:boolean">
1559+ <xs:annotation>
1560+ <xs:documentation>Whether or not this target should just discard all data that its asked to write. Mostly used for when testing NLog Stack except final write</xs:documentation>
1561+ </xs:annotation>
1562+ </xs:attribute>
1563+ <xs:attribute name="concurrentWrites" type="xs:boolean">
1564+ <xs:annotation>
1565+ <xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on the same host.</xs:documentation>
1566+ </xs:annotation>
1567+ </xs:attribute>
1568+ <xs:attribute name="concurrentWriteAttempts" type="xs:integer">
1569+ <xs:annotation>
1570+ <xs:documentation>Number of times the write is appended on the file before NLog discards the log message.</xs:documentation>
1571+ </xs:annotation>
1572+ </xs:attribute>
1573+ <xs:attribute name="concurrentWriteAttemptDelay" type="xs:integer">
1574+ <xs:annotation>
1575+ <xs:documentation>Delay in milliseconds to wait before attempting to write to the file again.</xs:documentation>
1576+ </xs:annotation>
1577+ </xs:attribute>
1578+ <xs:attribute name="bufferSize" type="xs:integer">
1579+ <xs:annotation>
1580+ <xs:documentation>Log file buffer size in bytes.</xs:documentation>
1581+ </xs:annotation>
1582+ </xs:attribute>
1583+ <xs:attribute name="openFileFlushTimeout" type="xs:integer">
1584+ <xs:annotation>
1585+ <xs:documentation>Maximum number of seconds before open files are flushed. If this number is negative or zero the files are not flushed by timer.</xs:documentation>
1586+ </xs:annotation>
1587+ </xs:attribute>
1588+ <xs:attribute name="autoFlush" type="xs:boolean">
1589+ <xs:annotation>
1590+ <xs:documentation>Indicates whether to automatically flush the file buffers after each log message.</xs:documentation>
1591+ </xs:annotation>
1592+ </xs:attribute>
1593+ </xs:extension>
1594+ </xs:complexContent>
1595+ </xs:complexType>
1596+ <xs:simpleType name="NLog.Targets.ArchiveNumberingMode">
1597+ <xs:restriction base="xs:string">
1598+ <xs:enumeration value="Sequence" />
1599+ <xs:enumeration value="Rolling" />
1600+ <xs:enumeration value="Date" />
1601+ <xs:enumeration value="DateAndSequence" />
1602+ </xs:restriction>
1603+ </xs:simpleType>
1604+ <xs:simpleType name="NLog.Targets.FilePathKind">
1605+ <xs:restriction base="xs:string">
1606+ <xs:enumeration value="Unknown" />
1607+ <xs:enumeration value="Relative" />
1608+ <xs:enumeration value="Absolute" />
1609+ </xs:restriction>
1610+ </xs:simpleType>
1611+ <xs:simpleType name="NLog.Targets.FileArchivePeriod">
1612+ <xs:restriction base="xs:string">
1613+ <xs:enumeration value="None" />
1614+ <xs:enumeration value="Year" />
1615+ <xs:enumeration value="Month" />
1616+ <xs:enumeration value="Day" />
1617+ <xs:enumeration value="Hour" />
1618+ <xs:enumeration value="Minute" />
1619+ <xs:enumeration value="Sunday" />
1620+ <xs:enumeration value="Monday" />
1621+ <xs:enumeration value="Tuesday" />
1622+ <xs:enumeration value="Wednesday" />
1623+ <xs:enumeration value="Thursday" />
1624+ <xs:enumeration value="Friday" />
1625+ <xs:enumeration value="Saturday" />
1626+ </xs:restriction>
1627+ </xs:simpleType>
1628+ <xs:simpleType name="NLog.Targets.Win32FileAttributes">
1629+ <xs:restriction base="xs:string">
1630+ <xs:enumeration value="ReadOnly" />
1631+ <xs:enumeration value="Hidden" />
1632+ <xs:enumeration value="System" />
1633+ <xs:enumeration value="Archive" />
1634+ <xs:enumeration value="Device" />
1635+ <xs:enumeration value="Normal" />
1636+ <xs:enumeration value="Temporary" />
1637+ <xs:enumeration value="SparseFile" />
1638+ <xs:enumeration value="ReparsePoint" />
1639+ <xs:enumeration value="Compressed" />
1640+ <xs:enumeration value="NotContentIndexed" />
1641+ <xs:enumeration value="Encrypted" />
1642+ <xs:enumeration value="WriteThrough" />
1643+ <xs:enumeration value="NoBuffering" />
1644+ <xs:enumeration value="DeleteOnClose" />
1645+ <xs:enumeration value="PosixSemantics" />
1646+ </xs:restriction>
1647+ </xs:simpleType>
1648+ <xs:complexType name="FilteringWrapper">
1649+ <xs:complexContent>
1650+ <xs:extension base="WrapperTargetBase">
1651+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1652+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1653+ <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
1654+ <xs:element name="filter" minOccurs="0" maxOccurs="1" type="Filter" />
1655+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1656+ </xs:choice>
1657+ <xs:attribute name="name" type="xs:string">
1658+ <xs:annotation>
1659+ <xs:documentation>Name of the target.</xs:documentation>
1660+ </xs:annotation>
1661+ </xs:attribute>
1662+ <xs:attribute name="condition" type="Condition">
1663+ <xs:annotation>
1664+ <xs:documentation>Condition expression. Log events who meet this condition will be forwarded to the wrapped target.</xs:documentation>
1665+ </xs:annotation>
1666+ </xs:attribute>
1667+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1668+ <xs:annotation>
1669+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1670+ </xs:annotation>
1671+ </xs:attribute>
1672+ </xs:extension>
1673+ </xs:complexContent>
1674+ </xs:complexType>
1675+ <xs:complexType name="ImpersonatingWrapper">
1676+ <xs:complexContent>
1677+ <xs:extension base="WrapperTargetBase">
1678+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1679+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1680+ <xs:element name="domain" minOccurs="0" maxOccurs="1" type="xs:string" />
1681+ <xs:element name="impersonationLevel" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.SecurityImpersonationLevel" />
1682+ <xs:element name="logOnProvider" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.LogOnProviderType" />
1683+ <xs:element name="logOnType" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.SecurityLogOnType" />
1684+ <xs:element name="password" minOccurs="0" maxOccurs="1" type="xs:string" />
1685+ <xs:element name="revertToSelf" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1686+ <xs:element name="userName" minOccurs="0" maxOccurs="1" type="xs:string" />
1687+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1688+ </xs:choice>
1689+ <xs:attribute name="name" type="xs:string">
1690+ <xs:annotation>
1691+ <xs:documentation>Name of the target.</xs:documentation>
1692+ </xs:annotation>
1693+ </xs:attribute>
1694+ <xs:attribute name="domain" type="xs:string">
1695+ <xs:annotation>
1696+ <xs:documentation>Windows domain name to change context to.</xs:documentation>
1697+ </xs:annotation>
1698+ </xs:attribute>
1699+ <xs:attribute name="impersonationLevel" type="NLog.Targets.Wrappers.SecurityImpersonationLevel">
1700+ <xs:annotation>
1701+ <xs:documentation>Required impersonation level.</xs:documentation>
1702+ </xs:annotation>
1703+ </xs:attribute>
1704+ <xs:attribute name="logOnProvider" type="NLog.Targets.Wrappers.LogOnProviderType">
1705+ <xs:annotation>
1706+ <xs:documentation>Type of the logon provider.</xs:documentation>
1707+ </xs:annotation>
1708+ </xs:attribute>
1709+ <xs:attribute name="logOnType" type="NLog.Targets.Wrappers.SecurityLogOnType">
1710+ <xs:annotation>
1711+ <xs:documentation>Logon Type.</xs:documentation>
1712+ </xs:annotation>
1713+ </xs:attribute>
1714+ <xs:attribute name="password" type="xs:string">
1715+ <xs:annotation>
1716+ <xs:documentation>User account password.</xs:documentation>
1717+ </xs:annotation>
1718+ </xs:attribute>
1719+ <xs:attribute name="revertToSelf" type="xs:boolean">
1720+ <xs:annotation>
1721+ <xs:documentation>Indicates whether to revert to the credentials of the process instead of impersonating another user.</xs:documentation>
1722+ </xs:annotation>
1723+ </xs:attribute>
1724+ <xs:attribute name="userName" type="xs:string">
1725+ <xs:annotation>
1726+ <xs:documentation>Username to change context to.</xs:documentation>
1727+ </xs:annotation>
1728+ </xs:attribute>
1729+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1730+ <xs:annotation>
1731+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1732+ </xs:annotation>
1733+ </xs:attribute>
1734+ </xs:extension>
1735+ </xs:complexContent>
1736+ </xs:complexType>
1737+ <xs:simpleType name="NLog.Targets.Wrappers.SecurityImpersonationLevel">
1738+ <xs:restriction base="xs:string">
1739+ <xs:enumeration value="Anonymous" />
1740+ <xs:enumeration value="Identification" />
1741+ <xs:enumeration value="Impersonation" />
1742+ <xs:enumeration value="Delegation" />
1743+ </xs:restriction>
1744+ </xs:simpleType>
1745+ <xs:simpleType name="NLog.Targets.Wrappers.LogOnProviderType">
1746+ <xs:restriction base="xs:string">
1747+ <xs:enumeration value="Default" />
1748+ </xs:restriction>
1749+ </xs:simpleType>
1750+ <xs:simpleType name="NLog.Targets.Wrappers.SecurityLogOnType">
1751+ <xs:restriction base="xs:string">
1752+ <xs:enumeration value="Interactive" />
1753+ <xs:enumeration value="Network" />
1754+ <xs:enumeration value="Batch" />
1755+ <xs:enumeration value="Service" />
1756+ <xs:enumeration value="NetworkClearText" />
1757+ <xs:enumeration value="NewCredentials" />
1758+ </xs:restriction>
1759+ </xs:simpleType>
1760+ <xs:complexType name="LimitingWrapper">
1761+ <xs:complexContent>
1762+ <xs:extension base="WrapperTargetBase">
1763+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1764+ <xs:element name="interval" minOccurs="0" maxOccurs="1" type="xs:string" />
1765+ <xs:element name="messageLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
1766+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1767+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1768+ </xs:choice>
1769+ <xs:attribute name="interval" type="xs:string">
1770+ <xs:annotation>
1771+ <xs:documentation>Interval in which messages will be written up to the number of messages.</xs:documentation>
1772+ </xs:annotation>
1773+ </xs:attribute>
1774+ <xs:attribute name="messageLimit" type="xs:integer">
1775+ <xs:annotation>
1776+ <xs:documentation>Maximum allowed number of messages written per .</xs:documentation>
1777+ </xs:annotation>
1778+ </xs:attribute>
1779+ <xs:attribute name="name" type="xs:string">
1780+ <xs:annotation>
1781+ <xs:documentation>Name of the target.</xs:documentation>
1782+ </xs:annotation>
1783+ </xs:attribute>
1784+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1785+ <xs:annotation>
1786+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1787+ </xs:annotation>
1788+ </xs:attribute>
1789+ </xs:extension>
1790+ </xs:complexContent>
1791+ </xs:complexType>
1792+ <xs:complexType name="LogReceiverService">
1793+ <xs:complexContent>
1794+ <xs:extension base="Target">
1795+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1796+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1797+ <xs:element name="endpointAddress" minOccurs="0" maxOccurs="1" type="xs:string" />
1798+ <xs:element name="endpointConfigurationName" minOccurs="0" maxOccurs="1" type="xs:string" />
1799+ <xs:element name="useOneWayContract" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1800+ <xs:element name="clientId" minOccurs="0" maxOccurs="1" type="Layout" />
1801+ <xs:element name="includeEventProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1802+ <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
1803+ <xs:element name="useBinaryEncoding" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1804+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1805+ </xs:choice>
1806+ <xs:attribute name="name" type="xs:string">
1807+ <xs:annotation>
1808+ <xs:documentation>Name of the target.</xs:documentation>
1809+ </xs:annotation>
1810+ </xs:attribute>
1811+ <xs:attribute name="endpointAddress" type="xs:string">
1812+ <xs:annotation>
1813+ <xs:documentation>Endpoint address.</xs:documentation>
1814+ </xs:annotation>
1815+ </xs:attribute>
1816+ <xs:attribute name="endpointConfigurationName" type="xs:string">
1817+ <xs:annotation>
1818+ <xs:documentation>Name of the endpoint configuration in WCF configuration file.</xs:documentation>
1819+ </xs:annotation>
1820+ </xs:attribute>
1821+ <xs:attribute name="useOneWayContract" type="xs:boolean">
1822+ <xs:annotation>
1823+ <xs:documentation>Indicates whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply)</xs:documentation>
1824+ </xs:annotation>
1825+ </xs:attribute>
1826+ <xs:attribute name="clientId" type="SimpleLayoutAttribute">
1827+ <xs:annotation>
1828+ <xs:documentation>Client ID.</xs:documentation>
1829+ </xs:annotation>
1830+ </xs:attribute>
1831+ <xs:attribute name="includeEventProperties" type="xs:boolean">
1832+ <xs:annotation>
1833+ <xs:documentation>Indicates whether to include per-event properties in the payload sent to the server.</xs:documentation>
1834+ </xs:annotation>
1835+ </xs:attribute>
1836+ <xs:attribute name="useBinaryEncoding" type="xs:boolean">
1837+ <xs:annotation>
1838+ <xs:documentation>Indicates whether to use binary message encoding.</xs:documentation>
1839+ </xs:annotation>
1840+ </xs:attribute>
1841+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1842+ <xs:annotation>
1843+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1844+ </xs:annotation>
1845+ </xs:attribute>
1846+ </xs:extension>
1847+ </xs:complexContent>
1848+ </xs:complexType>
1849+ <xs:complexType name="NLog.Targets.MethodCallParameter">
1850+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1851+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1852+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1853+ <xs:element name="parameterType" minOccurs="0" maxOccurs="1" type="xs:string" />
1854+ <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:string" />
1855+ </xs:choice>
1856+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
1857+ <xs:annotation>
1858+ <xs:documentation>Layout that should be use to calculate the value for the parameter.</xs:documentation>
1859+ </xs:annotation>
1860+ </xs:attribute>
1861+ <xs:attribute name="name" type="xs:string">
1862+ <xs:annotation>
1863+ <xs:documentation>Name of the parameter.</xs:documentation>
1864+ </xs:annotation>
1865+ </xs:attribute>
1866+ <xs:attribute name="parameterType" type="xs:string">
1867+ <xs:annotation>
1868+ <xs:documentation>Type of the parameter.</xs:documentation>
1869+ </xs:annotation>
1870+ </xs:attribute>
1871+ <xs:attribute name="type" type="xs:string">
1872+ <xs:annotation>
1873+ <xs:documentation>Type of the parameter. Obsolete alias for </xs:documentation>
1874+ </xs:annotation>
1875+ </xs:attribute>
1876+ </xs:complexType>
1877+ <xs:complexType name="Mail">
1878+ <xs:complexContent>
1879+ <xs:extension base="Target">
1880+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1881+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
1882+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
1883+ <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
1884+ <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
1885+ <xs:element name="replaceNewlineWithBrTagInHtml" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1886+ <xs:element name="priority" minOccurs="0" maxOccurs="1" type="Layout" />
1887+ <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
1888+ <xs:element name="bcc" minOccurs="0" maxOccurs="1" type="Layout" />
1889+ <xs:element name="cc" minOccurs="0" maxOccurs="1" type="Layout" />
1890+ <xs:element name="addNewLines" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1891+ <xs:element name="html" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1892+ <xs:element name="from" minOccurs="0" maxOccurs="1" type="Layout" />
1893+ <xs:element name="body" minOccurs="0" maxOccurs="1" type="Layout" />
1894+ <xs:element name="subject" minOccurs="0" maxOccurs="1" type="Layout" />
1895+ <xs:element name="to" minOccurs="0" maxOccurs="1" type="Layout" />
1896+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1897+ <xs:element name="timeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
1898+ <xs:element name="smtpServer" minOccurs="0" maxOccurs="1" type="Layout" />
1899+ <xs:element name="smtpAuthentication" minOccurs="0" maxOccurs="1" type="NLog.Targets.SmtpAuthenticationMode" />
1900+ <xs:element name="smtpUserName" minOccurs="0" maxOccurs="1" type="Layout" />
1901+ <xs:element name="smtpPassword" minOccurs="0" maxOccurs="1" type="Layout" />
1902+ <xs:element name="enableSsl" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1903+ <xs:element name="smtpPort" minOccurs="0" maxOccurs="1" type="xs:integer" />
1904+ <xs:element name="useSystemNetMailSettings" minOccurs="0" maxOccurs="1" type="xs:boolean" />
1905+ <xs:element name="pickupDirectoryLocation" minOccurs="0" maxOccurs="1" type="xs:string" />
1906+ <xs:element name="deliveryMethod" minOccurs="0" maxOccurs="1" type="System.Net.Mail.SmtpDeliveryMethod" />
1907+ </xs:choice>
1908+ <xs:attribute name="name" type="xs:string">
1909+ <xs:annotation>
1910+ <xs:documentation>Name of the target.</xs:documentation>
1911+ </xs:annotation>
1912+ </xs:attribute>
1913+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
1914+ <xs:annotation>
1915+ <xs:documentation>Text to be rendered.</xs:documentation>
1916+ </xs:annotation>
1917+ </xs:attribute>
1918+ <xs:attribute name="header" type="SimpleLayoutAttribute">
1919+ <xs:annotation>
1920+ <xs:documentation>Header.</xs:documentation>
1921+ </xs:annotation>
1922+ </xs:attribute>
1923+ <xs:attribute name="footer" type="SimpleLayoutAttribute">
1924+ <xs:annotation>
1925+ <xs:documentation>Footer.</xs:documentation>
1926+ </xs:annotation>
1927+ </xs:attribute>
1928+ <xs:attribute name="replaceNewlineWithBrTagInHtml" type="xs:boolean">
1929+ <xs:annotation>
1930+ <xs:documentation>Indicates whether NewLine characters in the body should be replaced with tags.</xs:documentation>
1931+ </xs:annotation>
1932+ </xs:attribute>
1933+ <xs:attribute name="priority" type="SimpleLayoutAttribute">
1934+ <xs:annotation>
1935+ <xs:documentation>Priority used for sending mails.</xs:documentation>
1936+ </xs:annotation>
1937+ </xs:attribute>
1938+ <xs:attribute name="encoding" type="xs:string">
1939+ <xs:annotation>
1940+ <xs:documentation>Encoding to be used for sending e-mail.</xs:documentation>
1941+ </xs:annotation>
1942+ </xs:attribute>
1943+ <xs:attribute name="bcc" type="SimpleLayoutAttribute">
1944+ <xs:annotation>
1945+ <xs:documentation>BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
1946+ </xs:annotation>
1947+ </xs:attribute>
1948+ <xs:attribute name="cc" type="SimpleLayoutAttribute">
1949+ <xs:annotation>
1950+ <xs:documentation>CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
1951+ </xs:annotation>
1952+ </xs:attribute>
1953+ <xs:attribute name="addNewLines" type="xs:boolean">
1954+ <xs:annotation>
1955+ <xs:documentation>Indicates whether to add new lines between log entries.</xs:documentation>
1956+ </xs:annotation>
1957+ </xs:attribute>
1958+ <xs:attribute name="html" type="xs:boolean">
1959+ <xs:annotation>
1960+ <xs:documentation>Indicates whether to send message as HTML instead of plain text.</xs:documentation>
1961+ </xs:annotation>
1962+ </xs:attribute>
1963+ <xs:attribute name="from" type="SimpleLayoutAttribute">
1964+ <xs:annotation>
1965+ <xs:documentation>Sender's email address (e.g. joe@domain.com).</xs:documentation>
1966+ </xs:annotation>
1967+ </xs:attribute>
1968+ <xs:attribute name="body" type="SimpleLayoutAttribute">
1969+ <xs:annotation>
1970+ <xs:documentation>Mail message body (repeated for each log message send in one mail).</xs:documentation>
1971+ </xs:annotation>
1972+ </xs:attribute>
1973+ <xs:attribute name="subject" type="SimpleLayoutAttribute">
1974+ <xs:annotation>
1975+ <xs:documentation>Mail subject.</xs:documentation>
1976+ </xs:annotation>
1977+ </xs:attribute>
1978+ <xs:attribute name="to" type="SimpleLayoutAttribute">
1979+ <xs:annotation>
1980+ <xs:documentation>Recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
1981+ </xs:annotation>
1982+ </xs:attribute>
1983+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
1984+ <xs:annotation>
1985+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
1986+ </xs:annotation>
1987+ </xs:attribute>
1988+ <xs:attribute name="timeout" type="xs:integer">
1989+ <xs:annotation>
1990+ <xs:documentation>Indicates the SMTP client timeout.</xs:documentation>
1991+ </xs:annotation>
1992+ </xs:attribute>
1993+ <xs:attribute name="smtpServer" type="SimpleLayoutAttribute">
1994+ <xs:annotation>
1995+ <xs:documentation>SMTP Server to be used for sending.</xs:documentation>
1996+ </xs:annotation>
1997+ </xs:attribute>
1998+ <xs:attribute name="smtpAuthentication" type="NLog.Targets.SmtpAuthenticationMode">
1999+ <xs:annotation>
2000+ <xs:documentation>SMTP Authentication mode.</xs:documentation>
2001+ </xs:annotation>
2002+ </xs:attribute>
2003+ <xs:attribute name="smtpUserName" type="SimpleLayoutAttribute">
2004+ <xs:annotation>
2005+ <xs:documentation>Username used to connect to SMTP server (used when SmtpAuthentication is set to "basic").</xs:documentation>
2006+ </xs:annotation>
2007+ </xs:attribute>
2008+ <xs:attribute name="smtpPassword" type="SimpleLayoutAttribute">
2009+ <xs:annotation>
2010+ <xs:documentation>Password used to authenticate against SMTP server (used when SmtpAuthentication is set to "basic").</xs:documentation>
2011+ </xs:annotation>
2012+ </xs:attribute>
2013+ <xs:attribute name="enableSsl" type="xs:boolean">
2014+ <xs:annotation>
2015+ <xs:documentation>Indicates whether SSL (secure sockets layer) should be used when communicating with SMTP server.</xs:documentation>
2016+ </xs:annotation>
2017+ </xs:attribute>
2018+ <xs:attribute name="smtpPort" type="xs:integer">
2019+ <xs:annotation>
2020+ <xs:documentation>Port number that SMTP Server is listening on.</xs:documentation>
2021+ </xs:annotation>
2022+ </xs:attribute>
2023+ <xs:attribute name="useSystemNetMailSettings" type="xs:boolean">
2024+ <xs:annotation>
2025+ <xs:documentation>Indicates whether the default Settings from System.Net.MailSettings should be used.</xs:documentation>
2026+ </xs:annotation>
2027+ </xs:attribute>
2028+ <xs:attribute name="pickupDirectoryLocation" type="xs:string">
2029+ <xs:annotation>
2030+ <xs:documentation>Folder where applications save mail messages to be processed by the local SMTP server.</xs:documentation>
2031+ </xs:annotation>
2032+ </xs:attribute>
2033+ <xs:attribute name="deliveryMethod" type="System.Net.Mail.SmtpDeliveryMethod">
2034+ <xs:annotation>
2035+ <xs:documentation>Specifies how outgoing email messages will be handled.</xs:documentation>
2036+ </xs:annotation>
2037+ </xs:attribute>
2038+ </xs:extension>
2039+ </xs:complexContent>
2040+ </xs:complexType>
2041+ <xs:simpleType name="NLog.Targets.SmtpAuthenticationMode">
2042+ <xs:restriction base="xs:string">
2043+ <xs:enumeration value="None" />
2044+ <xs:enumeration value="Basic" />
2045+ <xs:enumeration value="Ntlm" />
2046+ </xs:restriction>
2047+ </xs:simpleType>
2048+ <xs:simpleType name="System.Net.Mail.SmtpDeliveryMethod">
2049+ <xs:restriction base="xs:string">
2050+ <xs:enumeration value="Network" />
2051+ <xs:enumeration value="SpecifiedPickupDirectory" />
2052+ <xs:enumeration value="PickupDirectoryFromIis" />
2053+ </xs:restriction>
2054+ </xs:simpleType>
2055+ <xs:complexType name="Memory">
2056+ <xs:complexContent>
2057+ <xs:extension base="Target">
2058+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2059+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2060+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2061+ <xs:element name="maxLogsCount" minOccurs="0" maxOccurs="1" type="xs:integer" />
2062+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2063+ </xs:choice>
2064+ <xs:attribute name="name" type="xs:string">
2065+ <xs:annotation>
2066+ <xs:documentation>Name of the target.</xs:documentation>
2067+ </xs:annotation>
2068+ </xs:attribute>
2069+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
2070+ <xs:annotation>
2071+ <xs:documentation>Layout used to format log messages.</xs:documentation>
2072+ </xs:annotation>
2073+ </xs:attribute>
2074+ <xs:attribute name="maxLogsCount" type="xs:integer">
2075+ <xs:annotation>
2076+ <xs:documentation>Max number of items to have in memory</xs:documentation>
2077+ </xs:annotation>
2078+ </xs:attribute>
2079+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2080+ <xs:annotation>
2081+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2082+ </xs:annotation>
2083+ </xs:attribute>
2084+ </xs:extension>
2085+ </xs:complexContent>
2086+ </xs:complexType>
2087+ <xs:complexType name="MethodCall">
2088+ <xs:complexContent>
2089+ <xs:extension base="Target">
2090+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2091+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2092+ <xs:element name="className" minOccurs="0" maxOccurs="1" type="xs:string" />
2093+ <xs:element name="methodName" minOccurs="0" maxOccurs="1" type="xs:string" />
2094+ <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
2095+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2096+ </xs:choice>
2097+ <xs:attribute name="name" type="xs:string">
2098+ <xs:annotation>
2099+ <xs:documentation>Name of the target.</xs:documentation>
2100+ </xs:annotation>
2101+ </xs:attribute>
2102+ <xs:attribute name="className" type="xs:string">
2103+ <xs:annotation>
2104+ <xs:documentation>Class name.</xs:documentation>
2105+ </xs:annotation>
2106+ </xs:attribute>
2107+ <xs:attribute name="methodName" type="xs:string">
2108+ <xs:annotation>
2109+ <xs:documentation>Method name. The method must be public and static. Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx e.g.</xs:documentation>
2110+ </xs:annotation>
2111+ </xs:attribute>
2112+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2113+ <xs:annotation>
2114+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2115+ </xs:annotation>
2116+ </xs:attribute>
2117+ </xs:extension>
2118+ </xs:complexContent>
2119+ </xs:complexType>
2120+ <xs:complexType name="Network">
2121+ <xs:complexContent>
2122+ <xs:extension base="Target">
2123+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2124+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2125+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2126+ <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
2127+ <xs:element name="lineEnding" minOccurs="0" maxOccurs="1" type="LineEndingMode" />
2128+ <xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
2129+ <xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2130+ <xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
2131+ <xs:element name="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
2132+ <xs:element name="keepAliveTimeSeconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
2133+ <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2134+ <xs:element name="maxConnections" minOccurs="0" maxOccurs="1" type="xs:integer" />
2135+ <xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
2136+ <xs:element name="onConnectionOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetConnectionsOverflowAction" />
2137+ <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
2138+ <xs:element name="sslProtocols" minOccurs="0" maxOccurs="1" type="System.Security.Authentication.SslProtocols" />
2139+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2140+ </xs:choice>
2141+ <xs:attribute name="name" type="xs:string">
2142+ <xs:annotation>
2143+ <xs:documentation>Name of the target.</xs:documentation>
2144+ </xs:annotation>
2145+ </xs:attribute>
2146+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
2147+ <xs:annotation>
2148+ <xs:documentation>Layout used to format log messages.</xs:documentation>
2149+ </xs:annotation>
2150+ </xs:attribute>
2151+ <xs:attribute name="encoding" type="xs:string">
2152+ <xs:annotation>
2153+ <xs:documentation>Encoding to be used.</xs:documentation>
2154+ </xs:annotation>
2155+ </xs:attribute>
2156+ <xs:attribute name="lineEnding" type="LineEndingMode">
2157+ <xs:annotation>
2158+ <xs:documentation>End of line value if a newline is appended at the end of log message .</xs:documentation>
2159+ </xs:annotation>
2160+ </xs:attribute>
2161+ <xs:attribute name="maxMessageSize" type="xs:integer">
2162+ <xs:annotation>
2163+ <xs:documentation>Maximum message size in bytes.</xs:documentation>
2164+ </xs:annotation>
2165+ </xs:attribute>
2166+ <xs:attribute name="newLine" type="xs:boolean">
2167+ <xs:annotation>
2168+ <xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
2169+ </xs:annotation>
2170+ </xs:attribute>
2171+ <xs:attribute name="address" type="SimpleLayoutAttribute">
2172+ <xs:annotation>
2173+ <xs:documentation>Network address.</xs:documentation>
2174+ </xs:annotation>
2175+ </xs:attribute>
2176+ <xs:attribute name="connectionCacheSize" type="xs:integer">
2177+ <xs:annotation>
2178+ <xs:documentation>Size of the connection cache (number of connections which are kept alive).</xs:documentation>
2179+ </xs:annotation>
2180+ </xs:attribute>
2181+ <xs:attribute name="keepAliveTimeSeconds" type="xs:integer">
2182+ <xs:annotation>
2183+ <xs:documentation>The number of seconds a connection will remain idle before the first keep-alive probe is sent</xs:documentation>
2184+ </xs:annotation>
2185+ </xs:attribute>
2186+ <xs:attribute name="keepConnection" type="xs:boolean">
2187+ <xs:annotation>
2188+ <xs:documentation>Indicates whether to keep connection open whenever possible.</xs:documentation>
2189+ </xs:annotation>
2190+ </xs:attribute>
2191+ <xs:attribute name="maxConnections" type="xs:integer">
2192+ <xs:annotation>
2193+ <xs:documentation>Maximum current connections. 0 = no maximum.</xs:documentation>
2194+ </xs:annotation>
2195+ </xs:attribute>
2196+ <xs:attribute name="maxQueueSize" type="xs:integer">
2197+ <xs:annotation>
2198+ <xs:documentation>Maximum queue size.</xs:documentation>
2199+ </xs:annotation>
2200+ </xs:attribute>
2201+ <xs:attribute name="onConnectionOverflow" type="NLog.Targets.NetworkTargetConnectionsOverflowAction">
2202+ <xs:annotation>
2203+ <xs:documentation>Action that should be taken if the will be more connections than .</xs:documentation>
2204+ </xs:annotation>
2205+ </xs:attribute>
2206+ <xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
2207+ <xs:annotation>
2208+ <xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</xs:documentation>
2209+ </xs:annotation>
2210+ </xs:attribute>
2211+ <xs:attribute name="sslProtocols" type="System.Security.Authentication.SslProtocols">
2212+ <xs:annotation>
2213+ <xs:documentation>Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.</xs:documentation>
2214+ </xs:annotation>
2215+ </xs:attribute>
2216+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2217+ <xs:annotation>
2218+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2219+ </xs:annotation>
2220+ </xs:attribute>
2221+ </xs:extension>
2222+ </xs:complexContent>
2223+ </xs:complexType>
2224+ <xs:complexType name="NLogViewer">
2225+ <xs:complexContent>
2226+ <xs:extension base="Target">
2227+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2228+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2229+ <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
2230+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2231+ <xs:element name="lineEnding" minOccurs="0" maxOccurs="1" type="LineEndingMode" />
2232+ <xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
2233+ <xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2234+ <xs:element name="sslProtocols" minOccurs="0" maxOccurs="1" type="System.Security.Authentication.SslProtocols" />
2235+ <xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
2236+ <xs:element name="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
2237+ <xs:element name="keepAliveTimeSeconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
2238+ <xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
2239+ <xs:element name="maxConnections" minOccurs="0" maxOccurs="1" type="xs:integer" />
2240+ <xs:element name="onConnectionOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetConnectionsOverflowAction" />
2241+ <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
2242+ <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2243+ <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
2244+ <xs:element name="ndlcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
2245+ <xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2246+ <xs:element name="loggerName" minOccurs="0" maxOccurs="1" type="Layout" />
2247+ <xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2248+ <xs:element name="includeNdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2249+ <xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2250+ <xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2251+ <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2252+ <xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2253+ <xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2254+ <xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
2255+ <xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
2256+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2257+ </xs:choice>
2258+ <xs:attribute name="name" type="xs:string">
2259+ <xs:annotation>
2260+ <xs:documentation>Name of the target.</xs:documentation>
2261+ </xs:annotation>
2262+ </xs:attribute>
2263+ <xs:attribute name="encoding" type="xs:string">
2264+ <xs:annotation>
2265+ <xs:documentation>Encoding to be used.</xs:documentation>
2266+ </xs:annotation>
2267+ </xs:attribute>
2268+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
2269+ <xs:annotation>
2270+ <xs:documentation>Instance of that is used to format log messages.</xs:documentation>
2271+ </xs:annotation>
2272+ </xs:attribute>
2273+ <xs:attribute name="lineEnding" type="LineEndingMode">
2274+ <xs:annotation>
2275+ <xs:documentation>End of line value if a newline is appended at the end of log message .</xs:documentation>
2276+ </xs:annotation>
2277+ </xs:attribute>
2278+ <xs:attribute name="maxMessageSize" type="xs:integer">
2279+ <xs:annotation>
2280+ <xs:documentation>Maximum message size in bytes.</xs:documentation>
2281+ </xs:annotation>
2282+ </xs:attribute>
2283+ <xs:attribute name="newLine" type="xs:boolean">
2284+ <xs:annotation>
2285+ <xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
2286+ </xs:annotation>
2287+ </xs:attribute>
2288+ <xs:attribute name="sslProtocols" type="System.Security.Authentication.SslProtocols">
2289+ <xs:annotation>
2290+ <xs:documentation>Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.</xs:documentation>
2291+ </xs:annotation>
2292+ </xs:attribute>
2293+ <xs:attribute name="address" type="SimpleLayoutAttribute">
2294+ <xs:annotation>
2295+ <xs:documentation>Network address.</xs:documentation>
2296+ </xs:annotation>
2297+ </xs:attribute>
2298+ <xs:attribute name="connectionCacheSize" type="xs:integer">
2299+ <xs:annotation>
2300+ <xs:documentation>Size of the connection cache (number of connections which are kept alive).</xs:documentation>
2301+ </xs:annotation>
2302+ </xs:attribute>
2303+ <xs:attribute name="keepAliveTimeSeconds" type="xs:integer">
2304+ <xs:annotation>
2305+ <xs:documentation>The number of seconds a connection will remain idle before the first keep-alive probe is sent</xs:documentation>
2306+ </xs:annotation>
2307+ </xs:attribute>
2308+ <xs:attribute name="maxQueueSize" type="xs:integer">
2309+ <xs:annotation>
2310+ <xs:documentation>Maximum queue size.</xs:documentation>
2311+ </xs:annotation>
2312+ </xs:attribute>
2313+ <xs:attribute name="maxConnections" type="xs:integer">
2314+ <xs:annotation>
2315+ <xs:documentation>Maximum current connections. 0 = no maximum.</xs:documentation>
2316+ </xs:annotation>
2317+ </xs:attribute>
2318+ <xs:attribute name="onConnectionOverflow" type="NLog.Targets.NetworkTargetConnectionsOverflowAction">
2319+ <xs:annotation>
2320+ <xs:documentation>Action that should be taken if the will be more connections than .</xs:documentation>
2321+ </xs:annotation>
2322+ </xs:attribute>
2323+ <xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
2324+ <xs:annotation>
2325+ <xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</xs:documentation>
2326+ </xs:annotation>
2327+ </xs:attribute>
2328+ <xs:attribute name="keepConnection" type="xs:boolean">
2329+ <xs:annotation>
2330+ <xs:documentation>Indicates whether to keep connection open whenever possible.</xs:documentation>
2331+ </xs:annotation>
2332+ </xs:attribute>
2333+ <xs:attribute name="ndlcItemSeparator" type="xs:string">
2334+ <xs:annotation>
2335+ <xs:documentation>NDLC item separator.</xs:documentation>
2336+ </xs:annotation>
2337+ </xs:attribute>
2338+ <xs:attribute name="includeSourceInfo" type="xs:boolean">
2339+ <xs:annotation>
2340+ <xs:documentation>Indicates whether to include source info (file name and line number) in the information sent over the network.</xs:documentation>
2341+ </xs:annotation>
2342+ </xs:attribute>
2343+ <xs:attribute name="loggerName" type="SimpleLayoutAttribute">
2344+ <xs:annotation>
2345+ <xs:documentation>Renderer for log4j:event logger-xml-attribute (Default ${logger})</xs:documentation>
2346+ </xs:annotation>
2347+ </xs:attribute>
2348+ <xs:attribute name="includeNLogData" type="xs:boolean">
2349+ <xs:annotation>
2350+ <xs:documentation>Indicates whether to include NLog-specific extensions to log4j schema.</xs:documentation>
2351+ </xs:annotation>
2352+ </xs:attribute>
2353+ <xs:attribute name="includeNdlc" type="xs:boolean">
2354+ <xs:annotation>
2355+ <xs:documentation>Indicates whether to include contents of the stack.</xs:documentation>
2356+ </xs:annotation>
2357+ </xs:attribute>
2358+ <xs:attribute name="includeNdc" type="xs:boolean">
2359+ <xs:annotation>
2360+ <xs:documentation>Indicates whether to include stack contents.</xs:documentation>
2361+ </xs:annotation>
2362+ </xs:attribute>
2363+ <xs:attribute name="includeMdlc" type="xs:boolean">
2364+ <xs:annotation>
2365+ <xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
2366+ </xs:annotation>
2367+ </xs:attribute>
2368+ <xs:attribute name="includeMdc" type="xs:boolean">
2369+ <xs:annotation>
2370+ <xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
2371+ </xs:annotation>
2372+ </xs:attribute>
2373+ <xs:attribute name="includeCallSite" type="xs:boolean">
2374+ <xs:annotation>
2375+ <xs:documentation>Indicates whether to include call site (class and method name) in the information sent over the network.</xs:documentation>
2376+ </xs:annotation>
2377+ </xs:attribute>
2378+ <xs:attribute name="includeAllProperties" type="xs:boolean">
2379+ <xs:annotation>
2380+ <xs:documentation>Option to include all properties from the log events</xs:documentation>
2381+ </xs:annotation>
2382+ </xs:attribute>
2383+ <xs:attribute name="appInfo" type="xs:string">
2384+ <xs:annotation>
2385+ <xs:documentation>AppInfo field. By default it's the friendly name of the current AppDomain.</xs:documentation>
2386+ </xs:annotation>
2387+ </xs:attribute>
2388+ <xs:attribute name="ndcItemSeparator" type="xs:string">
2389+ <xs:annotation>
2390+ <xs:documentation>NDC item separator.</xs:documentation>
2391+ </xs:annotation>
2392+ </xs:attribute>
2393+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2394+ <xs:annotation>
2395+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2396+ </xs:annotation>
2397+ </xs:attribute>
2398+ </xs:extension>
2399+ </xs:complexContent>
2400+ </xs:complexType>
2401+ <xs:complexType name="Null">
2402+ <xs:complexContent>
2403+ <xs:extension base="Target">
2404+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2405+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2406+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2407+ <xs:element name="formatMessage" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2408+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2409+ </xs:choice>
2410+ <xs:attribute name="name" type="xs:string">
2411+ <xs:annotation>
2412+ <xs:documentation>Name of the target.</xs:documentation>
2413+ </xs:annotation>
2414+ </xs:attribute>
2415+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
2416+ <xs:annotation>
2417+ <xs:documentation>Layout used to format log messages.</xs:documentation>
2418+ </xs:annotation>
2419+ </xs:attribute>
2420+ <xs:attribute name="formatMessage" type="xs:boolean">
2421+ <xs:annotation>
2422+ <xs:documentation>Indicates whether to perform layout calculation.</xs:documentation>
2423+ </xs:annotation>
2424+ </xs:attribute>
2425+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2426+ <xs:annotation>
2427+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2428+ </xs:annotation>
2429+ </xs:attribute>
2430+ </xs:extension>
2431+ </xs:complexContent>
2432+ </xs:complexType>
2433+ <xs:complexType name="OutputDebugString">
2434+ <xs:complexContent>
2435+ <xs:extension base="Target">
2436+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2437+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2438+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2439+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2440+ </xs:choice>
2441+ <xs:attribute name="name" type="xs:string">
2442+ <xs:annotation>
2443+ <xs:documentation>Name of the target.</xs:documentation>
2444+ </xs:annotation>
2445+ </xs:attribute>
2446+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
2447+ <xs:annotation>
2448+ <xs:documentation>Layout used to format log messages.</xs:documentation>
2449+ </xs:annotation>
2450+ </xs:attribute>
2451+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2452+ <xs:annotation>
2453+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2454+ </xs:annotation>
2455+ </xs:attribute>
2456+ </xs:extension>
2457+ </xs:complexContent>
2458+ </xs:complexType>
2459+ <xs:complexType name="PerfCounter">
2460+ <xs:complexContent>
2461+ <xs:extension base="Target">
2462+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2463+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2464+ <xs:element name="autoCreate" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2465+ <xs:element name="categoryName" minOccurs="0" maxOccurs="1" type="xs:string" />
2466+ <xs:element name="counterHelp" minOccurs="0" maxOccurs="1" type="xs:string" />
2467+ <xs:element name="counterName" minOccurs="0" maxOccurs="1" type="xs:string" />
2468+ <xs:element name="counterType" minOccurs="0" maxOccurs="1" type="System.Diagnostics.PerformanceCounterType" />
2469+ <xs:element name="incrementValue" minOccurs="0" maxOccurs="1" type="Layout" />
2470+ <xs:element name="instanceName" minOccurs="0" maxOccurs="1" type="xs:string" />
2471+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2472+ </xs:choice>
2473+ <xs:attribute name="name" type="xs:string">
2474+ <xs:annotation>
2475+ <xs:documentation>Name of the target.</xs:documentation>
2476+ </xs:annotation>
2477+ </xs:attribute>
2478+ <xs:attribute name="autoCreate" type="xs:boolean">
2479+ <xs:annotation>
2480+ <xs:documentation>Indicates whether performance counter should be automatically created.</xs:documentation>
2481+ </xs:annotation>
2482+ </xs:attribute>
2483+ <xs:attribute name="categoryName" type="xs:string">
2484+ <xs:annotation>
2485+ <xs:documentation>Name of the performance counter category.</xs:documentation>
2486+ </xs:annotation>
2487+ </xs:attribute>
2488+ <xs:attribute name="counterHelp" type="xs:string">
2489+ <xs:annotation>
2490+ <xs:documentation>Counter help text.</xs:documentation>
2491+ </xs:annotation>
2492+ </xs:attribute>
2493+ <xs:attribute name="counterName" type="xs:string">
2494+ <xs:annotation>
2495+ <xs:documentation>Name of the performance counter.</xs:documentation>
2496+ </xs:annotation>
2497+ </xs:attribute>
2498+ <xs:attribute name="counterType" type="System.Diagnostics.PerformanceCounterType">
2499+ <xs:annotation>
2500+ <xs:documentation>Performance counter type.</xs:documentation>
2501+ </xs:annotation>
2502+ </xs:attribute>
2503+ <xs:attribute name="incrementValue" type="SimpleLayoutAttribute">
2504+ <xs:annotation>
2505+ <xs:documentation>The value by which to increment the counter.</xs:documentation>
2506+ </xs:annotation>
2507+ </xs:attribute>
2508+ <xs:attribute name="instanceName" type="xs:string">
2509+ <xs:annotation>
2510+ <xs:documentation>Performance counter instance name.</xs:documentation>
2511+ </xs:annotation>
2512+ </xs:attribute>
2513+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2514+ <xs:annotation>
2515+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2516+ </xs:annotation>
2517+ </xs:attribute>
2518+ </xs:extension>
2519+ </xs:complexContent>
2520+ </xs:complexType>
2521+ <xs:simpleType name="System.Diagnostics.PerformanceCounterType">
2522+ <xs:restriction base="xs:string">
2523+ <xs:enumeration value="NumberOfItems32" />
2524+ <xs:enumeration value="NumberOfItems64" />
2525+ <xs:enumeration value="NumberOfItemsHEX32" />
2526+ <xs:enumeration value="NumberOfItemsHEX64" />
2527+ <xs:enumeration value="RateOfCountsPerSecond32" />
2528+ <xs:enumeration value="RateOfCountsPerSecond64" />
2529+ <xs:enumeration value="CountPerTimeInterval32" />
2530+ <xs:enumeration value="CountPerTimeInterval64" />
2531+ <xs:enumeration value="RawFraction" />
2532+ <xs:enumeration value="RawBase" />
2533+ <xs:enumeration value="AverageTimer32" />
2534+ <xs:enumeration value="AverageBase" />
2535+ <xs:enumeration value="AverageCount64" />
2536+ <xs:enumeration value="SampleFraction" />
2537+ <xs:enumeration value="SampleCounter" />
2538+ <xs:enumeration value="SampleBase" />
2539+ <xs:enumeration value="CounterTimer" />
2540+ <xs:enumeration value="CounterTimerInverse" />
2541+ <xs:enumeration value="Timer100Ns" />
2542+ <xs:enumeration value="Timer100NsInverse" />
2543+ <xs:enumeration value="ElapsedTime" />
2544+ <xs:enumeration value="CounterMultiTimer" />
2545+ <xs:enumeration value="CounterMultiTimerInverse" />
2546+ <xs:enumeration value="CounterMultiTimer100Ns" />
2547+ <xs:enumeration value="CounterMultiTimer100NsInverse" />
2548+ <xs:enumeration value="CounterMultiBase" />
2549+ <xs:enumeration value="CounterDelta32" />
2550+ <xs:enumeration value="CounterDelta64" />
2551+ </xs:restriction>
2552+ </xs:simpleType>
2553+ <xs:complexType name="PostFilteringWrapper">
2554+ <xs:complexContent>
2555+ <xs:extension base="WrapperTargetBase">
2556+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2557+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2558+ <xs:element name="defaultFilter" minOccurs="0" maxOccurs="1" type="Condition" />
2559+ <xs:element name="when" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.Wrappers.FilteringRule" />
2560+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2561+ </xs:choice>
2562+ <xs:attribute name="name" type="xs:string">
2563+ <xs:annotation>
2564+ <xs:documentation>Name of the target.</xs:documentation>
2565+ </xs:annotation>
2566+ </xs:attribute>
2567+ <xs:attribute name="defaultFilter" type="Condition">
2568+ <xs:annotation>
2569+ <xs:documentation>Default filter to be applied when no specific rule matches.</xs:documentation>
2570+ </xs:annotation>
2571+ </xs:attribute>
2572+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2573+ <xs:annotation>
2574+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2575+ </xs:annotation>
2576+ </xs:attribute>
2577+ </xs:extension>
2578+ </xs:complexContent>
2579+ </xs:complexType>
2580+ <xs:complexType name="NLog.Targets.Wrappers.FilteringRule">
2581+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2582+ <xs:element name="exists" minOccurs="0" maxOccurs="1" type="Condition" />
2583+ <xs:element name="filter" minOccurs="0" maxOccurs="1" type="Condition" />
2584+ </xs:choice>
2585+ <xs:attribute name="exists" type="Condition">
2586+ <xs:annotation>
2587+ <xs:documentation>Condition to be tested.</xs:documentation>
2588+ </xs:annotation>
2589+ </xs:attribute>
2590+ <xs:attribute name="filter" type="Condition">
2591+ <xs:annotation>
2592+ <xs:documentation>Resulting filter to be applied when the condition matches.</xs:documentation>
2593+ </xs:annotation>
2594+ </xs:attribute>
2595+ </xs:complexType>
2596+ <xs:complexType name="RandomizeGroup">
2597+ <xs:complexContent>
2598+ <xs:extension base="CompoundTargetBase">
2599+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2600+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2601+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2602+ </xs:choice>
2603+ <xs:attribute name="name" type="xs:string">
2604+ <xs:annotation>
2605+ <xs:documentation>Name of the target.</xs:documentation>
2606+ </xs:annotation>
2607+ </xs:attribute>
2608+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2609+ <xs:annotation>
2610+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2611+ </xs:annotation>
2612+ </xs:attribute>
2613+ </xs:extension>
2614+ </xs:complexContent>
2615+ </xs:complexType>
2616+ <xs:complexType name="RepeatingWrapper">
2617+ <xs:complexContent>
2618+ <xs:extension base="WrapperTargetBase">
2619+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2620+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2621+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2622+ <xs:element name="repeatCount" minOccurs="0" maxOccurs="1" type="xs:integer" />
2623+ </xs:choice>
2624+ <xs:attribute name="name" type="xs:string">
2625+ <xs:annotation>
2626+ <xs:documentation>Name of the target.</xs:documentation>
2627+ </xs:annotation>
2628+ </xs:attribute>
2629+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2630+ <xs:annotation>
2631+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2632+ </xs:annotation>
2633+ </xs:attribute>
2634+ <xs:attribute name="repeatCount" type="xs:integer">
2635+ <xs:annotation>
2636+ <xs:documentation>Number of times to repeat each log message.</xs:documentation>
2637+ </xs:annotation>
2638+ </xs:attribute>
2639+ </xs:extension>
2640+ </xs:complexContent>
2641+ </xs:complexType>
2642+ <xs:complexType name="RetryingWrapper">
2643+ <xs:complexContent>
2644+ <xs:extension base="WrapperTargetBase">
2645+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2646+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2647+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2648+ <xs:element name="retryCount" minOccurs="0" maxOccurs="1" type="xs:integer" />
2649+ <xs:element name="retryDelayMilliseconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
2650+ </xs:choice>
2651+ <xs:attribute name="name" type="xs:string">
2652+ <xs:annotation>
2653+ <xs:documentation>Name of the target.</xs:documentation>
2654+ </xs:annotation>
2655+ </xs:attribute>
2656+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2657+ <xs:annotation>
2658+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2659+ </xs:annotation>
2660+ </xs:attribute>
2661+ <xs:attribute name="retryCount" type="xs:integer">
2662+ <xs:annotation>
2663+ <xs:documentation>Number of retries that should be attempted on the wrapped target in case of a failure.</xs:documentation>
2664+ </xs:annotation>
2665+ </xs:attribute>
2666+ <xs:attribute name="retryDelayMilliseconds" type="xs:integer">
2667+ <xs:annotation>
2668+ <xs:documentation>Time to wait between retries in milliseconds.</xs:documentation>
2669+ </xs:annotation>
2670+ </xs:attribute>
2671+ </xs:extension>
2672+ </xs:complexContent>
2673+ </xs:complexType>
2674+ <xs:complexType name="RoundRobinGroup">
2675+ <xs:complexContent>
2676+ <xs:extension base="CompoundTargetBase">
2677+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2678+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2679+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2680+ </xs:choice>
2681+ <xs:attribute name="name" type="xs:string">
2682+ <xs:annotation>
2683+ <xs:documentation>Name of the target.</xs:documentation>
2684+ </xs:annotation>
2685+ </xs:attribute>
2686+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2687+ <xs:annotation>
2688+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2689+ </xs:annotation>
2690+ </xs:attribute>
2691+ </xs:extension>
2692+ </xs:complexContent>
2693+ </xs:complexType>
2694+ <xs:complexType name="SplitGroup">
2695+ <xs:complexContent>
2696+ <xs:extension base="CompoundTargetBase">
2697+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2698+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2699+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2700+ </xs:choice>
2701+ <xs:attribute name="name" type="xs:string">
2702+ <xs:annotation>
2703+ <xs:documentation>Name of the target.</xs:documentation>
2704+ </xs:annotation>
2705+ </xs:attribute>
2706+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2707+ <xs:annotation>
2708+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2709+ </xs:annotation>
2710+ </xs:attribute>
2711+ </xs:extension>
2712+ </xs:complexContent>
2713+ </xs:complexType>
2714+ <xs:complexType name="Trace">
2715+ <xs:complexContent>
2716+ <xs:extension base="Target">
2717+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2718+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2719+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2720+ <xs:element name="enableTraceFail" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2721+ <xs:element name="rawWrite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2722+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2723+ </xs:choice>
2724+ <xs:attribute name="name" type="xs:string">
2725+ <xs:annotation>
2726+ <xs:documentation>Name of the target.</xs:documentation>
2727+ </xs:annotation>
2728+ </xs:attribute>
2729+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
2730+ <xs:annotation>
2731+ <xs:documentation>Layout used to format log messages.</xs:documentation>
2732+ </xs:annotation>
2733+ </xs:attribute>
2734+ <xs:attribute name="enableTraceFail" type="xs:boolean">
2735+ <xs:annotation>
2736+ <xs:documentation>Forward to (Instead of )</xs:documentation>
2737+ </xs:annotation>
2738+ </xs:attribute>
2739+ <xs:attribute name="rawWrite" type="xs:boolean">
2740+ <xs:annotation>
2741+ <xs:documentation>Always use independent of </xs:documentation>
2742+ </xs:annotation>
2743+ </xs:attribute>
2744+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2745+ <xs:annotation>
2746+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2747+ </xs:annotation>
2748+ </xs:attribute>
2749+ </xs:extension>
2750+ </xs:complexContent>
2751+ </xs:complexType>
2752+ <xs:complexType name="WebService">
2753+ <xs:complexContent>
2754+ <xs:extension base="Target">
2755+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2756+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2757+ <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
2758+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2759+ <xs:element name="includeBOM" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2760+ <xs:element name="methodName" minOccurs="0" maxOccurs="1" type="xs:string" />
2761+ <xs:element name="namespace" minOccurs="0" maxOccurs="1" type="xs:string" />
2762+ <xs:element name="protocol" minOccurs="0" maxOccurs="1" type="NLog.Targets.WebServiceProtocol" />
2763+ <xs:element name="proxyAddress" minOccurs="0" maxOccurs="1" type="xs:string" />
2764+ <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
2765+ <xs:element name="url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
2766+ <xs:element name="escapeDataNLogLegacy" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2767+ <xs:element name="escapeDataRfc3986" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2768+ <xs:element name="preAuthenticate" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2769+ <xs:element name="xmlRoot" minOccurs="0" maxOccurs="1" type="xs:string" />
2770+ <xs:element name="xmlRootNamespace" minOccurs="0" maxOccurs="1" type="xs:string" />
2771+ <xs:element name="header" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
2772+ <xs:element name="proxyType" minOccurs="0" maxOccurs="1" type="NLog.Targets.WebServiceProxyType" />
2773+ </xs:choice>
2774+ <xs:attribute name="name" type="xs:string">
2775+ <xs:annotation>
2776+ <xs:documentation>Name of the target.</xs:documentation>
2777+ </xs:annotation>
2778+ </xs:attribute>
2779+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
2780+ <xs:annotation>
2781+ <xs:documentation>Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit</xs:documentation>
2782+ </xs:annotation>
2783+ </xs:attribute>
2784+ <xs:attribute name="includeBOM" type="xs:boolean">
2785+ <xs:annotation>
2786+ <xs:documentation>Should we include the BOM (Byte-order-mark) for UTF? Influences the property. This will only work for UTF-8.</xs:documentation>
2787+ </xs:annotation>
2788+ </xs:attribute>
2789+ <xs:attribute name="methodName" type="xs:string">
2790+ <xs:annotation>
2791+ <xs:documentation>Web service method name. Only used with Soap.</xs:documentation>
2792+ </xs:annotation>
2793+ </xs:attribute>
2794+ <xs:attribute name="namespace" type="xs:string">
2795+ <xs:annotation>
2796+ <xs:documentation>Web service namespace. Only used with Soap.</xs:documentation>
2797+ </xs:annotation>
2798+ </xs:attribute>
2799+ <xs:attribute name="protocol" type="NLog.Targets.WebServiceProtocol">
2800+ <xs:annotation>
2801+ <xs:documentation>Protocol to be used when calling web service.</xs:documentation>
2802+ </xs:annotation>
2803+ </xs:attribute>
2804+ <xs:attribute name="proxyAddress" type="xs:string">
2805+ <xs:annotation>
2806+ <xs:documentation>Custom proxy address, include port separated by a colon</xs:documentation>
2807+ </xs:annotation>
2808+ </xs:attribute>
2809+ <xs:attribute name="encoding" type="xs:string">
2810+ <xs:annotation>
2811+ <xs:documentation>Encoding.</xs:documentation>
2812+ </xs:annotation>
2813+ </xs:attribute>
2814+ <xs:attribute name="url" type="xs:anyURI">
2815+ <xs:annotation>
2816+ <xs:documentation>Web service URL.</xs:documentation>
2817+ </xs:annotation>
2818+ </xs:attribute>
2819+ <xs:attribute name="escapeDataNLogLegacy" type="xs:boolean">
2820+ <xs:annotation>
2821+ <xs:documentation>Value whether escaping be done according to the old NLog style (Very non-standard)</xs:documentation>
2822+ </xs:annotation>
2823+ </xs:attribute>
2824+ <xs:attribute name="escapeDataRfc3986" type="xs:boolean">
2825+ <xs:annotation>
2826+ <xs:documentation>Value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs)</xs:documentation>
2827+ </xs:annotation>
2828+ </xs:attribute>
2829+ <xs:attribute name="preAuthenticate" type="xs:boolean">
2830+ <xs:annotation>
2831+ <xs:documentation>Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters)</xs:documentation>
2832+ </xs:annotation>
2833+ </xs:attribute>
2834+ <xs:attribute name="xmlRoot" type="xs:string">
2835+ <xs:annotation>
2836+ <xs:documentation>Name of the root XML element, if POST of XML document chosen. If so, this property must not be null. (see and ).</xs:documentation>
2837+ </xs:annotation>
2838+ </xs:attribute>
2839+ <xs:attribute name="xmlRootNamespace" type="xs:string">
2840+ <xs:annotation>
2841+ <xs:documentation>(optional) root namespace of the XML document, if POST of XML document chosen. (see and ).</xs:documentation>
2842+ </xs:annotation>
2843+ </xs:attribute>
2844+ <xs:attribute name="proxyType" type="NLog.Targets.WebServiceProxyType">
2845+ <xs:annotation>
2846+ <xs:documentation>Proxy configuration when calling web service</xs:documentation>
2847+ </xs:annotation>
2848+ </xs:attribute>
2849+ </xs:extension>
2850+ </xs:complexContent>
2851+ </xs:complexType>
2852+ <xs:simpleType name="NLog.Targets.WebServiceProtocol">
2853+ <xs:restriction base="xs:string">
2854+ <xs:enumeration value="Soap11" />
2855+ <xs:enumeration value="Soap12" />
2856+ <xs:enumeration value="HttpPost" />
2857+ <xs:enumeration value="HttpGet" />
2858+ <xs:enumeration value="JsonPost" />
2859+ <xs:enumeration value="XmlPost" />
2860+ </xs:restriction>
2861+ </xs:simpleType>
2862+ <xs:simpleType name="NLog.Targets.WebServiceProxyType">
2863+ <xs:restriction base="xs:string">
2864+ <xs:enumeration value="DefaultWebProxy" />
2865+ <xs:enumeration value="AutoProxy" />
2866+ <xs:enumeration value="NoProxy" />
2867+ <xs:enumeration value="ProxyAddress" />
2868+ </xs:restriction>
2869+ </xs:simpleType>
2870+ <xs:complexType name="CompoundLayout">
2871+ <xs:complexContent>
2872+ <xs:extension base="Layout">
2873+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2874+ <xs:element name="layout" minOccurs="0" maxOccurs="unbounded" type="Layout" />
2875+ </xs:choice>
2876+ </xs:extension>
2877+ </xs:complexContent>
2878+ </xs:complexType>
2879+ <xs:complexType name="Layout">
2880+ <xs:choice minOccurs="0" maxOccurs="unbounded" />
2881+ </xs:complexType>
2882+ <xs:complexType name="CsvLayout">
2883+ <xs:complexContent>
2884+ <xs:extension base="Layout">
2885+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2886+ <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
2887+ <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
2888+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2889+ <xs:element name="column" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.CsvColumn" />
2890+ <xs:element name="customColumnDelimiter" minOccurs="0" maxOccurs="1" type="xs:string" />
2891+ <xs:element name="delimiter" minOccurs="0" maxOccurs="1" type="NLog.Layouts.CsvColumnDelimiterMode" />
2892+ <xs:element name="quoteChar" minOccurs="0" maxOccurs="1" type="xs:string" />
2893+ <xs:element name="quoting" minOccurs="0" maxOccurs="1" type="NLog.Layouts.CsvQuotingMode" />
2894+ <xs:element name="withHeader" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2895+ </xs:choice>
2896+ <xs:attribute name="footer" type="SimpleLayoutAttribute">
2897+ <xs:annotation>
2898+ <xs:documentation>Footer layout.</xs:documentation>
2899+ </xs:annotation>
2900+ </xs:attribute>
2901+ <xs:attribute name="header" type="SimpleLayoutAttribute">
2902+ <xs:annotation>
2903+ <xs:documentation>Header layout.</xs:documentation>
2904+ </xs:annotation>
2905+ </xs:attribute>
2906+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
2907+ <xs:annotation>
2908+ <xs:documentation>Body layout (can be repeated multiple times).</xs:documentation>
2909+ </xs:annotation>
2910+ </xs:attribute>
2911+ <xs:attribute name="customColumnDelimiter" type="xs:string">
2912+ <xs:annotation>
2913+ <xs:documentation>Custom column delimiter value (valid when ColumnDelimiter is set to 'Custom').</xs:documentation>
2914+ </xs:annotation>
2915+ </xs:attribute>
2916+ <xs:attribute name="delimiter" type="NLog.Layouts.CsvColumnDelimiterMode">
2917+ <xs:annotation>
2918+ <xs:documentation>Column delimiter.</xs:documentation>
2919+ </xs:annotation>
2920+ </xs:attribute>
2921+ <xs:attribute name="quoteChar" type="xs:string">
2922+ <xs:annotation>
2923+ <xs:documentation>Quote Character.</xs:documentation>
2924+ </xs:annotation>
2925+ </xs:attribute>
2926+ <xs:attribute name="quoting" type="NLog.Layouts.CsvQuotingMode">
2927+ <xs:annotation>
2928+ <xs:documentation>Quoting mode.</xs:documentation>
2929+ </xs:annotation>
2930+ </xs:attribute>
2931+ <xs:attribute name="withHeader" type="xs:boolean">
2932+ <xs:annotation>
2933+ <xs:documentation>Indicates whether CVS should include header.</xs:documentation>
2934+ </xs:annotation>
2935+ </xs:attribute>
2936+ </xs:extension>
2937+ </xs:complexContent>
2938+ </xs:complexType>
2939+ <xs:simpleType name="NLog.Layouts.CsvQuotingMode">
2940+ <xs:restriction base="xs:string">
2941+ <xs:enumeration value="All" />
2942+ <xs:enumeration value="Nothing" />
2943+ <xs:enumeration value="Auto" />
2944+ </xs:restriction>
2945+ </xs:simpleType>
2946+ <xs:simpleType name="NLog.Layouts.CsvColumnDelimiterMode">
2947+ <xs:restriction base="xs:string">
2948+ <xs:enumeration value="Auto" />
2949+ <xs:enumeration value="Comma" />
2950+ <xs:enumeration value="Semicolon" />
2951+ <xs:enumeration value="Tab" />
2952+ <xs:enumeration value="Pipe" />
2953+ <xs:enumeration value="Space" />
2954+ <xs:enumeration value="Custom" />
2955+ </xs:restriction>
2956+ </xs:simpleType>
2957+ <xs:complexType name="NLog.Layouts.CsvColumn">
2958+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2959+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
2960+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
2961+ <xs:element name="quoting" minOccurs="0" maxOccurs="1" type="NLog.Layouts.CsvQuotingMode" />
2962+ </xs:choice>
2963+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
2964+ <xs:annotation>
2965+ <xs:documentation>Layout of the column.</xs:documentation>
2966+ </xs:annotation>
2967+ </xs:attribute>
2968+ <xs:attribute name="name" type="xs:string">
2969+ <xs:annotation>
2970+ <xs:documentation>Name of the column.</xs:documentation>
2971+ </xs:annotation>
2972+ </xs:attribute>
2973+ <xs:attribute name="quoting" type="NLog.Layouts.CsvQuotingMode">
2974+ <xs:annotation>
2975+ <xs:documentation>Override of Quoting mode</xs:documentation>
2976+ </xs:annotation>
2977+ </xs:attribute>
2978+ </xs:complexType>
2979+ <xs:complexType name="JsonLayout">
2980+ <xs:complexContent>
2981+ <xs:extension base="Layout">
2982+ <xs:choice minOccurs="0" maxOccurs="unbounded">
2983+ <xs:element name="escapeForwardSlash" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2984+ <xs:element name="renderEmptyObject" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2985+ <xs:element name="suppressSpaces" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2986+ <xs:element name="attribute" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.JsonAttribute" />
2987+ <xs:element name="excludeProperties" minOccurs="0" maxOccurs="1" type="xs:string" />
2988+ <xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2989+ <xs:element name="includeGdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2990+ <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2991+ <xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
2992+ <xs:element name="maxRecursionLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
2993+ </xs:choice>
2994+ <xs:attribute name="escapeForwardSlash" type="xs:boolean">
2995+ <xs:annotation>
2996+ <xs:documentation>Should forward slashes be escaped? If true, / will be converted to \/</xs:documentation>
2997+ </xs:annotation>
2998+ </xs:attribute>
2999+ <xs:attribute name="renderEmptyObject" type="xs:boolean">
3000+ <xs:annotation>
3001+ <xs:documentation>Option to render the empty object value {}</xs:documentation>
3002+ </xs:annotation>
3003+ </xs:attribute>
3004+ <xs:attribute name="suppressSpaces" type="xs:boolean">
3005+ <xs:annotation>
3006+ <xs:documentation>Option to suppress the extra spaces in the output json</xs:documentation>
3007+ </xs:annotation>
3008+ </xs:attribute>
3009+ <xs:attribute name="excludeProperties" type="xs:string">
3010+ <xs:annotation>
3011+ <xs:documentation>List of property names to exclude when is true</xs:documentation>
3012+ </xs:annotation>
3013+ </xs:attribute>
3014+ <xs:attribute name="includeAllProperties" type="xs:boolean">
3015+ <xs:annotation>
3016+ <xs:documentation>Option to include all properties from the log event (as JSON)</xs:documentation>
3017+ </xs:annotation>
3018+ </xs:attribute>
3019+ <xs:attribute name="includeGdc" type="xs:boolean">
3020+ <xs:annotation>
3021+ <xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
3022+ </xs:annotation>
3023+ </xs:attribute>
3024+ <xs:attribute name="includeMdc" type="xs:boolean">
3025+ <xs:annotation>
3026+ <xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
3027+ </xs:annotation>
3028+ </xs:attribute>
3029+ <xs:attribute name="includeMdlc" type="xs:boolean">
3030+ <xs:annotation>
3031+ <xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
3032+ </xs:annotation>
3033+ </xs:attribute>
3034+ <xs:attribute name="maxRecursionLimit" type="xs:integer">
3035+ <xs:annotation>
3036+ <xs:documentation>How far should the JSON serializer follow object references before backing off</xs:documentation>
3037+ </xs:annotation>
3038+ </xs:attribute>
3039+ </xs:extension>
3040+ </xs:complexContent>
3041+ </xs:complexType>
3042+ <xs:complexType name="NLog.Layouts.JsonAttribute">
3043+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3044+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
3045+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
3046+ <xs:element name="encode" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3047+ <xs:element name="escapeForwardSlash" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3048+ <xs:element name="escapeUnicode" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3049+ <xs:element name="includeEmptyValue" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3050+ </xs:choice>
3051+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
3052+ <xs:annotation>
3053+ <xs:documentation>Layout that will be rendered as the attribute's value.</xs:documentation>
3054+ </xs:annotation>
3055+ </xs:attribute>
3056+ <xs:attribute name="name" type="xs:string">
3057+ <xs:annotation>
3058+ <xs:documentation>Name of the attribute.</xs:documentation>
3059+ </xs:annotation>
3060+ </xs:attribute>
3061+ <xs:attribute name="encode" type="xs:boolean">
3062+ <xs:annotation>
3063+ <xs:documentation>Determines whether or not this attribute will be Json encoded.</xs:documentation>
3064+ </xs:annotation>
3065+ </xs:attribute>
3066+ <xs:attribute name="escapeForwardSlash" type="xs:boolean">
3067+ <xs:annotation>
3068+ <xs:documentation>Should forward slashes be escaped? If true, / will be converted to \/</xs:documentation>
3069+ </xs:annotation>
3070+ </xs:attribute>
3071+ <xs:attribute name="escapeUnicode" type="xs:boolean">
3072+ <xs:annotation>
3073+ <xs:documentation>Indicates whether to escape non-ascii characters</xs:documentation>
3074+ </xs:annotation>
3075+ </xs:attribute>
3076+ <xs:attribute name="includeEmptyValue" type="xs:boolean">
3077+ <xs:annotation>
3078+ <xs:documentation>Whether an attribute with empty value should be included in the output</xs:documentation>
3079+ </xs:annotation>
3080+ </xs:attribute>
3081+ </xs:complexType>
3082+ <xs:complexType name="LayoutWithHeaderAndFooter">
3083+ <xs:complexContent>
3084+ <xs:extension base="Layout">
3085+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3086+ <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
3087+ <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
3088+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
3089+ </xs:choice>
3090+ <xs:attribute name="footer" type="SimpleLayoutAttribute">
3091+ <xs:annotation>
3092+ <xs:documentation>Footer layout.</xs:documentation>
3093+ </xs:annotation>
3094+ </xs:attribute>
3095+ <xs:attribute name="header" type="SimpleLayoutAttribute">
3096+ <xs:annotation>
3097+ <xs:documentation>Header layout.</xs:documentation>
3098+ </xs:annotation>
3099+ </xs:attribute>
3100+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
3101+ <xs:annotation>
3102+ <xs:documentation>Body layout (can be repeated multiple times).</xs:documentation>
3103+ </xs:annotation>
3104+ </xs:attribute>
3105+ </xs:extension>
3106+ </xs:complexContent>
3107+ </xs:complexType>
3108+ <xs:complexType name="Log4JXmlEventLayout">
3109+ <xs:complexContent>
3110+ <xs:extension base="Layout">
3111+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3112+ <xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3113+ <xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3114+ <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3115+ <xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3116+ <xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3117+ <xs:element name="includeNdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3118+ <xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3119+ <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
3120+ </xs:choice>
3121+ <xs:attribute name="includeAllProperties" type="xs:boolean">
3122+ <xs:annotation>
3123+ <xs:documentation>Option to include all properties from the log events</xs:documentation>
3124+ </xs:annotation>
3125+ </xs:attribute>
3126+ <xs:attribute name="includeCallSite" type="xs:boolean">
3127+ <xs:annotation>
3128+ <xs:documentation>Indicates whether to include call site (class and method name) in the information sent over the network.</xs:documentation>
3129+ </xs:annotation>
3130+ </xs:attribute>
3131+ <xs:attribute name="includeMdc" type="xs:boolean">
3132+ <xs:annotation>
3133+ <xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
3134+ </xs:annotation>
3135+ </xs:attribute>
3136+ <xs:attribute name="includeMdlc" type="xs:boolean">
3137+ <xs:annotation>
3138+ <xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
3139+ </xs:annotation>
3140+ </xs:attribute>
3141+ <xs:attribute name="includeNdc" type="xs:boolean">
3142+ <xs:annotation>
3143+ <xs:documentation>Indicates whether to include contents of the stack.</xs:documentation>
3144+ </xs:annotation>
3145+ </xs:attribute>
3146+ <xs:attribute name="includeNdlc" type="xs:boolean">
3147+ <xs:annotation>
3148+ <xs:documentation>Indicates whether to include contents of the stack.</xs:documentation>
3149+ </xs:annotation>
3150+ </xs:attribute>
3151+ <xs:attribute name="includeSourceInfo" type="xs:boolean">
3152+ <xs:annotation>
3153+ <xs:documentation>Indicates whether to include source info (file name and line number) in the information sent over the network.</xs:documentation>
3154+ </xs:annotation>
3155+ </xs:attribute>
3156+ </xs:extension>
3157+ </xs:complexContent>
3158+ </xs:complexType>
3159+ <xs:complexType name="SimpleLayout">
3160+ <xs:complexContent>
3161+ <xs:extension base="Layout">
3162+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3163+ <xs:element name="text" minOccurs="0" maxOccurs="1" type="xs:string" />
3164+ </xs:choice>
3165+ <xs:attribute name="text" type="xs:string">
3166+ <xs:annotation>
3167+ <xs:documentation>Layout text.</xs:documentation>
3168+ </xs:annotation>
3169+ </xs:attribute>
3170+ </xs:extension>
3171+ </xs:complexContent>
3172+ </xs:complexType>
3173+ <xs:complexType name="XmlLayout">
3174+ <xs:complexContent>
3175+ <xs:extension base="Layout">
3176+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3177+ <xs:element name="excludeProperties" minOccurs="0" maxOccurs="1" type="xs:string" />
3178+ <xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3179+ <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3180+ <xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3181+ <xs:element name="maxRecursionLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
3182+ <xs:element name="propertiesCollectionItemName" minOccurs="0" maxOccurs="1" type="xs:string" />
3183+ <xs:element name="propertiesElementKeyAttribute" minOccurs="0" maxOccurs="1" type="xs:string" />
3184+ <xs:element name="propertiesElementName" minOccurs="0" maxOccurs="1" type="xs:string" />
3185+ <xs:element name="propertiesElementValueAttribute" minOccurs="0" maxOccurs="1" type="xs:string" />
3186+ <xs:element name="attribute" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.XmlAttribute" />
3187+ <xs:element name="elementName" minOccurs="0" maxOccurs="1" type="xs:string" />
3188+ <xs:element name="element" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.XmlElement" />
3189+ <xs:element name="elementValue" minOccurs="0" maxOccurs="1" type="Layout" />
3190+ <xs:element name="includeEmptyValue" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3191+ <xs:element name="indentXml" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3192+ <xs:element name="elementEncode" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3193+ </xs:choice>
3194+ <xs:attribute name="excludeProperties" type="xs:string">
3195+ <xs:annotation>
3196+ <xs:documentation>List of property names to exclude when is true</xs:documentation>
3197+ </xs:annotation>
3198+ </xs:attribute>
3199+ <xs:attribute name="includeAllProperties" type="xs:boolean">
3200+ <xs:annotation>
3201+ <xs:documentation>Option to include all properties from the log event (as XML)</xs:documentation>
3202+ </xs:annotation>
3203+ </xs:attribute>
3204+ <xs:attribute name="includeMdc" type="xs:boolean">
3205+ <xs:annotation>
3206+ <xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
3207+ </xs:annotation>
3208+ </xs:attribute>
3209+ <xs:attribute name="includeMdlc" type="xs:boolean">
3210+ <xs:annotation>
3211+ <xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
3212+ </xs:annotation>
3213+ </xs:attribute>
3214+ <xs:attribute name="maxRecursionLimit" type="xs:integer">
3215+ <xs:annotation>
3216+ <xs:documentation>How far should the XML serializer follow object references before backing off</xs:documentation>
3217+ </xs:annotation>
3218+ </xs:attribute>
3219+ <xs:attribute name="propertiesCollectionItemName" type="xs:string">
3220+ <xs:annotation>
3221+ <xs:documentation>XML element name to use for rendering IList-collections items</xs:documentation>
3222+ </xs:annotation>
3223+ </xs:attribute>
3224+ <xs:attribute name="propertiesElementKeyAttribute" type="xs:string">
3225+ <xs:annotation>
3226+ <xs:documentation>XML attribute name to use when rendering property-key When null (or empty) then key-attribute is not included</xs:documentation>
3227+ </xs:annotation>
3228+ </xs:attribute>
3229+ <xs:attribute name="propertiesElementName" type="xs:string">
3230+ <xs:annotation>
3231+ <xs:documentation>XML element name to use when rendering properties</xs:documentation>
3232+ </xs:annotation>
3233+ </xs:attribute>
3234+ <xs:attribute name="propertiesElementValueAttribute" type="xs:string">
3235+ <xs:annotation>
3236+ <xs:documentation>XML attribute name to use when rendering property-value When null (or empty) then value-attribute is not included and value is formatted as XML-element-value</xs:documentation>
3237+ </xs:annotation>
3238+ </xs:attribute>
3239+ <xs:attribute name="elementName" type="xs:string">
3240+ <xs:annotation>
3241+ <xs:documentation>Name of the root XML element</xs:documentation>
3242+ </xs:annotation>
3243+ </xs:attribute>
3244+ <xs:attribute name="elementValue" type="SimpleLayoutAttribute">
3245+ <xs:annotation>
3246+ <xs:documentation>Value inside the root XML element</xs:documentation>
3247+ </xs:annotation>
3248+ </xs:attribute>
3249+ <xs:attribute name="includeEmptyValue" type="xs:boolean">
3250+ <xs:annotation>
3251+ <xs:documentation>Whether a ElementValue with empty value should be included in the output</xs:documentation>
3252+ </xs:annotation>
3253+ </xs:attribute>
3254+ <xs:attribute name="indentXml" type="xs:boolean">
3255+ <xs:annotation>
3256+ <xs:documentation>Auto indent and create new lines</xs:documentation>
3257+ </xs:annotation>
3258+ </xs:attribute>
3259+ <xs:attribute name="elementEncode" type="xs:boolean">
3260+ <xs:annotation>
3261+ <xs:documentation>Determines whether or not this attribute will be Xml encoded.</xs:documentation>
3262+ </xs:annotation>
3263+ </xs:attribute>
3264+ </xs:extension>
3265+ </xs:complexContent>
3266+ </xs:complexType>
3267+ <xs:complexType name="NLog.Layouts.XmlAttribute">
3268+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3269+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
3270+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
3271+ <xs:element name="encode" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3272+ <xs:element name="includeEmptyValue" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3273+ </xs:choice>
3274+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
3275+ <xs:annotation>
3276+ <xs:documentation>Layout that will be rendered as the attribute's value.</xs:documentation>
3277+ </xs:annotation>
3278+ </xs:attribute>
3279+ <xs:attribute name="name" type="xs:string">
3280+ <xs:annotation>
3281+ <xs:documentation>Name of the attribute.</xs:documentation>
3282+ </xs:annotation>
3283+ </xs:attribute>
3284+ <xs:attribute name="encode" type="xs:boolean">
3285+ <xs:annotation>
3286+ <xs:documentation>Determines whether or not this attribute will be Xml encoded.</xs:documentation>
3287+ </xs:annotation>
3288+ </xs:attribute>
3289+ <xs:attribute name="includeEmptyValue" type="xs:boolean">
3290+ <xs:annotation>
3291+ <xs:documentation>Whether an attribute with empty value should be included in the output</xs:documentation>
3292+ </xs:annotation>
3293+ </xs:attribute>
3294+ </xs:complexType>
3295+ <xs:complexType name="NLog.Layouts.XmlElement">
3296+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3297+ <xs:element name="encode" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3298+ <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
3299+ <xs:element name="value" minOccurs="0" maxOccurs="1" type="Layout" />
3300+ <xs:element name="attribute" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.XmlAttribute" />
3301+ <xs:element name="element" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.XmlElement" />
3302+ <xs:element name="includeEmptyValue" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3303+ <xs:element name="indentXml" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3304+ <xs:element name="excludeProperties" minOccurs="0" maxOccurs="1" type="xs:string" />
3305+ <xs:element name="includeAllProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3306+ <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3307+ <xs:element name="includeMdlc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3308+ <xs:element name="maxRecursionLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
3309+ <xs:element name="propertiesCollectionItemName" minOccurs="0" maxOccurs="1" type="xs:string" />
3310+ <xs:element name="propertiesElementKeyAttribute" minOccurs="0" maxOccurs="1" type="xs:string" />
3311+ <xs:element name="propertiesElementName" minOccurs="0" maxOccurs="1" type="xs:string" />
3312+ <xs:element name="propertiesElementValueAttribute" minOccurs="0" maxOccurs="1" type="xs:string" />
3313+ </xs:choice>
3314+ <xs:attribute name="encode" type="xs:boolean">
3315+ <xs:annotation>
3316+ <xs:documentation>Determines whether or not this attribute will be Xml encoded.</xs:documentation>
3317+ </xs:annotation>
3318+ </xs:attribute>
3319+ <xs:attribute name="name" type="xs:string">
3320+ <xs:annotation>
3321+ <xs:documentation>Name of the element</xs:documentation>
3322+ </xs:annotation>
3323+ </xs:attribute>
3324+ <xs:attribute name="value" type="SimpleLayoutAttribute">
3325+ <xs:annotation>
3326+ <xs:documentation>Value inside the element</xs:documentation>
3327+ </xs:annotation>
3328+ </xs:attribute>
3329+ <xs:attribute name="includeEmptyValue" type="xs:boolean">
3330+ <xs:annotation>
3331+ <xs:documentation>Whether a ElementValue with empty value should be included in the output</xs:documentation>
3332+ </xs:annotation>
3333+ </xs:attribute>
3334+ <xs:attribute name="indentXml" type="xs:boolean">
3335+ <xs:annotation>
3336+ <xs:documentation>Auto indent and create new lines</xs:documentation>
3337+ </xs:annotation>
3338+ </xs:attribute>
3339+ <xs:attribute name="excludeProperties" type="xs:string">
3340+ <xs:annotation>
3341+ <xs:documentation>List of property names to exclude when is true</xs:documentation>
3342+ </xs:annotation>
3343+ </xs:attribute>
3344+ <xs:attribute name="includeAllProperties" type="xs:boolean">
3345+ <xs:annotation>
3346+ <xs:documentation>Option to include all properties from the log event (as XML)</xs:documentation>
3347+ </xs:annotation>
3348+ </xs:attribute>
3349+ <xs:attribute name="includeMdc" type="xs:boolean">
3350+ <xs:annotation>
3351+ <xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
3352+ </xs:annotation>
3353+ </xs:attribute>
3354+ <xs:attribute name="includeMdlc" type="xs:boolean">
3355+ <xs:annotation>
3356+ <xs:documentation>Indicates whether to include contents of the dictionary.</xs:documentation>
3357+ </xs:annotation>
3358+ </xs:attribute>
3359+ <xs:attribute name="maxRecursionLimit" type="xs:integer">
3360+ <xs:annotation>
3361+ <xs:documentation>How far should the XML serializer follow object references before backing off</xs:documentation>
3362+ </xs:annotation>
3363+ </xs:attribute>
3364+ <xs:attribute name="propertiesCollectionItemName" type="xs:string">
3365+ <xs:annotation>
3366+ <xs:documentation>XML element name to use for rendering IList-collections items</xs:documentation>
3367+ </xs:annotation>
3368+ </xs:attribute>
3369+ <xs:attribute name="propertiesElementKeyAttribute" type="xs:string">
3370+ <xs:annotation>
3371+ <xs:documentation>XML attribute name to use when rendering property-key When null (or empty) then key-attribute is not included</xs:documentation>
3372+ </xs:annotation>
3373+ </xs:attribute>
3374+ <xs:attribute name="propertiesElementName" type="xs:string">
3375+ <xs:annotation>
3376+ <xs:documentation>XML element name to use when rendering properties</xs:documentation>
3377+ </xs:annotation>
3378+ </xs:attribute>
3379+ <xs:attribute name="propertiesElementValueAttribute" type="xs:string">
3380+ <xs:annotation>
3381+ <xs:documentation>XML attribute name to use when rendering property-value When null (or empty) then value-attribute is not included and value is formatted as XML-element-value</xs:documentation>
3382+ </xs:annotation>
3383+ </xs:attribute>
3384+ </xs:complexType>
3385+ <xs:complexType name="when">
3386+ <xs:complexContent>
3387+ <xs:extension base="Filter">
3388+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3389+ <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
3390+ <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
3391+ </xs:choice>
3392+ <xs:attribute name="action" type="FilterResult">
3393+ <xs:annotation>
3394+ <xs:documentation>Action to be taken when filter matches.</xs:documentation>
3395+ </xs:annotation>
3396+ </xs:attribute>
3397+ <xs:attribute name="condition" type="Condition">
3398+ <xs:annotation>
3399+ <xs:documentation>Condition expression.</xs:documentation>
3400+ </xs:annotation>
3401+ </xs:attribute>
3402+ </xs:extension>
3403+ </xs:complexContent>
3404+ </xs:complexType>
3405+ <xs:simpleType name="FilterResult">
3406+ <xs:restriction base="xs:string">
3407+ <xs:enumeration value="Neutral" />
3408+ <xs:enumeration value="Log" />
3409+ <xs:enumeration value="Ignore" />
3410+ <xs:enumeration value="LogFinal" />
3411+ <xs:enumeration value="IgnoreFinal" />
3412+ </xs:restriction>
3413+ </xs:simpleType>
3414+ <xs:complexType name="whenContains">
3415+ <xs:complexContent>
3416+ <xs:extension base="Filter">
3417+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3418+ <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
3419+ <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3420+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
3421+ <xs:element name="substring" minOccurs="0" maxOccurs="1" type="xs:string" />
3422+ </xs:choice>
3423+ <xs:attribute name="action" type="FilterResult">
3424+ <xs:annotation>
3425+ <xs:documentation>Action to be taken when filter matches.</xs:documentation>
3426+ </xs:annotation>
3427+ </xs:attribute>
3428+ <xs:attribute name="ignoreCase" type="xs:boolean">
3429+ <xs:annotation>
3430+ <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
3431+ </xs:annotation>
3432+ </xs:attribute>
3433+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
3434+ <xs:annotation>
3435+ <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
3436+ </xs:annotation>
3437+ </xs:attribute>
3438+ <xs:attribute name="substring" type="xs:string">
3439+ <xs:annotation>
3440+ <xs:documentation>Substring to be matched.</xs:documentation>
3441+ </xs:annotation>
3442+ </xs:attribute>
3443+ </xs:extension>
3444+ </xs:complexContent>
3445+ </xs:complexType>
3446+ <xs:complexType name="whenEqual">
3447+ <xs:complexContent>
3448+ <xs:extension base="Filter">
3449+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3450+ <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
3451+ <xs:element name="compareTo" minOccurs="0" maxOccurs="1" type="xs:string" />
3452+ <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3453+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
3454+ </xs:choice>
3455+ <xs:attribute name="action" type="FilterResult">
3456+ <xs:annotation>
3457+ <xs:documentation>Action to be taken when filter matches.</xs:documentation>
3458+ </xs:annotation>
3459+ </xs:attribute>
3460+ <xs:attribute name="compareTo" type="xs:string">
3461+ <xs:annotation>
3462+ <xs:documentation>String to compare the layout to.</xs:documentation>
3463+ </xs:annotation>
3464+ </xs:attribute>
3465+ <xs:attribute name="ignoreCase" type="xs:boolean">
3466+ <xs:annotation>
3467+ <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
3468+ </xs:annotation>
3469+ </xs:attribute>
3470+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
3471+ <xs:annotation>
3472+ <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
3473+ </xs:annotation>
3474+ </xs:attribute>
3475+ </xs:extension>
3476+ </xs:complexContent>
3477+ </xs:complexType>
3478+ <xs:complexType name="whenNotContains">
3479+ <xs:complexContent>
3480+ <xs:extension base="Filter">
3481+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3482+ <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
3483+ <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3484+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
3485+ <xs:element name="substring" minOccurs="0" maxOccurs="1" type="xs:string" />
3486+ </xs:choice>
3487+ <xs:attribute name="action" type="FilterResult">
3488+ <xs:annotation>
3489+ <xs:documentation>Action to be taken when filter matches.</xs:documentation>
3490+ </xs:annotation>
3491+ </xs:attribute>
3492+ <xs:attribute name="ignoreCase" type="xs:boolean">
3493+ <xs:annotation>
3494+ <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
3495+ </xs:annotation>
3496+ </xs:attribute>
3497+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
3498+ <xs:annotation>
3499+ <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
3500+ </xs:annotation>
3501+ </xs:attribute>
3502+ <xs:attribute name="substring" type="xs:string">
3503+ <xs:annotation>
3504+ <xs:documentation>Substring to be matched.</xs:documentation>
3505+ </xs:annotation>
3506+ </xs:attribute>
3507+ </xs:extension>
3508+ </xs:complexContent>
3509+ </xs:complexType>
3510+ <xs:complexType name="whenNotEqual">
3511+ <xs:complexContent>
3512+ <xs:extension base="Filter">
3513+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3514+ <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
3515+ <xs:element name="compareTo" minOccurs="0" maxOccurs="1" type="xs:string" />
3516+ <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3517+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
3518+ </xs:choice>
3519+ <xs:attribute name="action" type="FilterResult">
3520+ <xs:annotation>
3521+ <xs:documentation>Action to be taken when filter matches.</xs:documentation>
3522+ </xs:annotation>
3523+ </xs:attribute>
3524+ <xs:attribute name="compareTo" type="xs:string">
3525+ <xs:annotation>
3526+ <xs:documentation>String to compare the layout to.</xs:documentation>
3527+ </xs:annotation>
3528+ </xs:attribute>
3529+ <xs:attribute name="ignoreCase" type="xs:boolean">
3530+ <xs:annotation>
3531+ <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
3532+ </xs:annotation>
3533+ </xs:attribute>
3534+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
3535+ <xs:annotation>
3536+ <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
3537+ </xs:annotation>
3538+ </xs:attribute>
3539+ </xs:extension>
3540+ </xs:complexContent>
3541+ </xs:complexType>
3542+ <xs:complexType name="whenRepeated">
3543+ <xs:complexContent>
3544+ <xs:extension base="Filter">
3545+ <xs:choice minOccurs="0" maxOccurs="unbounded">
3546+ <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
3547+ <xs:element name="defaultFilterCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
3548+ <xs:element name="includeFirst" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3549+ <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
3550+ <xs:element name="maxFilterCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
3551+ <xs:element name="maxLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
3552+ <xs:element name="timeoutSeconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
3553+ <xs:element name="optimizeBufferDefaultLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
3554+ <xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
3555+ <xs:element name="filterCountMessageAppendFormat" minOccurs="0" maxOccurs="1" type="xs:string" />
3556+ <xs:element name="filterCountPropertyName" minOccurs="0" maxOccurs="1" type="xs:string" />
3557+ </xs:choice>
3558+ <xs:attribute name="action" type="FilterResult">
3559+ <xs:annotation>
3560+ <xs:documentation>Action to be taken when filter matches.</xs:documentation>
3561+ </xs:annotation>
3562+ </xs:attribute>
3563+ <xs:attribute name="defaultFilterCacheSize" type="xs:integer">
3564+ <xs:annotation>
3565+ <xs:documentation>Default number of unique filter values to expect, will automatically increase if needed</xs:documentation>
3566+ </xs:annotation>
3567+ </xs:attribute>
3568+ <xs:attribute name="includeFirst" type="xs:boolean">
3569+ <xs:annotation>
3570+ <xs:documentation>Applies the configured action to the initial logevent that starts the timeout period. Used to configure that it should ignore all events until timeout.</xs:documentation>
3571+ </xs:annotation>
3572+ </xs:attribute>
3573+ <xs:attribute name="layout" type="SimpleLayoutAttribute">
3574+ <xs:annotation>
3575+ <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
3576+ </xs:annotation>
3577+ </xs:attribute>
3578+ <xs:attribute name="maxFilterCacheSize" type="xs:integer">
3579+ <xs:annotation>
3580+ <xs:documentation>Max number of unique filter values to expect simultaneously</xs:documentation>
3581+ </xs:annotation>
3582+ </xs:attribute>
3583+ <xs:attribute name="maxLength" type="xs:integer">
3584+ <xs:annotation>
3585+ <xs:documentation>Max length of filter values, will truncate if above limit</xs:documentation>
3586+ </xs:annotation>
3587+ </xs:attribute>
3588+ <xs:attribute name="timeoutSeconds" type="xs:integer">
3589+ <xs:annotation>
3590+ <xs:documentation>How long before a filter expires, and logging is accepted again</xs:documentation>
3591+ </xs:annotation>
3592+ </xs:attribute>
3593+ <xs:attribute name="optimizeBufferDefaultLength" type="xs:integer">
3594+ <xs:annotation>
3595+ <xs:documentation>Default buffer size for the internal buffers</xs:documentation>
3596+ </xs:annotation>
3597+ </xs:attribute>
3598+ <xs:attribute name="optimizeBufferReuse" type="xs:boolean">
3599+ <xs:annotation>
3600+ <xs:documentation>Reuse internal buffers, and doesn't have to constantly allocate new buffers</xs:documentation>
3601+ </xs:annotation>
3602+ </xs:attribute>
3603+ <xs:attribute name="filterCountMessageAppendFormat" type="xs:string">
3604+ <xs:annotation>
3605+ <xs:documentation>Append FilterCount to the when an event is no longer filtered</xs:documentation>
3606+ </xs:annotation>
3607+ </xs:attribute>
3608+ <xs:attribute name="filterCountPropertyName" type="xs:string">
3609+ <xs:annotation>
3610+ <xs:documentation>Insert FilterCount value into when an event is no longer filtered</xs:documentation>
3611+ </xs:annotation>
3612+ </xs:attribute>
3613+ </xs:extension>
3614+ </xs:complexContent>
3615+ </xs:complexType>
3616+ <xs:complexType name="AccurateLocal">
3617+ <xs:complexContent>
3618+ <xs:extension base="TimeSource">
3619+ <xs:choice minOccurs="0" maxOccurs="unbounded" />
3620+ </xs:extension>
3621+ </xs:complexContent>
3622+ </xs:complexType>
3623+ <xs:complexType name="AccurateUTC">
3624+ <xs:complexContent>
3625+ <xs:extension base="TimeSource">
3626+ <xs:choice minOccurs="0" maxOccurs="unbounded" />
3627+ </xs:extension>
3628+ </xs:complexContent>
3629+ </xs:complexType>
3630+ <xs:complexType name="FastLocal">
3631+ <xs:complexContent>
3632+ <xs:extension base="TimeSource">
3633+ <xs:choice minOccurs="0" maxOccurs="unbounded" />
3634+ </xs:extension>
3635+ </xs:complexContent>
3636+ </xs:complexType>
3637+ <xs:complexType name="FastUTC">
3638+ <xs:complexContent>
3639+ <xs:extension base="TimeSource">
3640+ <xs:choice minOccurs="0" maxOccurs="unbounded" />
3641+ </xs:extension>
3642+ </xs:complexContent>
3643+ </xs:complexType>
3644+</xs:schema>
\ No newline at end of file
Show on old repository browser