-
Notifications
You must be signed in to change notification settings - Fork 40
/
NLog.xsd
3336 lines (3336 loc) · 183 KB
/
NLog.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<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">
<xs:element name="nlog" type="NLogConfiguration" />
<xs:complexType name="NLogConfiguration">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="extensions" type="NLogExtensions" />
<xs:element name="include" type="NLogInclude" />
<xs:element name="variable" type="NLogVariable" />
<xs:element name="targets" type="NLogTargets" />
<xs:element name="rules" type="NLogRules" />
<xs:element name="time" type="TimeSource" />
</xs:choice>
<xs:attribute name="autoReload" type="xs:boolean">
<xs:annotation>
<xs:documentation>Watch config file for changes and reload automatically.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="internalLogToConsole" type="xs:boolean">
<xs:annotation>
<xs:documentation>Print internal NLog messages to the console. Default value is: false</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="internalLogToConsoleError" type="xs:boolean">
<xs:annotation>
<xs:documentation>Print internal NLog messages to the console error output. Default value is: false</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="internalLogFile" type="xs:string">
<xs:annotation>
<xs:documentation>Write internal NLog messages to the specified file.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="internalLogLevel" type="NLogLevel">
<xs:annotation>
<xs:documentation>Log level threshold for internal log messages. Default value is: Info.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="globalThreshold" type="NLogLevel">
<xs:annotation>
<xs:documentation>Global log level threshold for application log messages. Messages below this level won't be logged.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="throwExceptions" type="xs:boolean">
<xs:annotation>
<xs:documentation>Throw an exception when there is an internal error. Default value is: false. Not recommend to set to true in production!</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="throwConfigExceptions" type="xs:boolean">
<xs:annotation>
<xs:documentation>Throw an exception when there is a configuration error. If not set, determined by throwExceptions.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="keepVariablesOnReload" type="xs:boolean">
<xs:annotation>
<xs:documentation>Gets or sets a value indicating whether Variables should be kept on configuration reload. Default value is: false.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="internalLogToTrace" type="xs:boolean">
<xs:annotation>
<xs:documentation>Write internal NLog messages to the System.Diagnostics.Trace. Default value is: false.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="internalLogIncludeTimestamp" type="xs:boolean">
<xs:annotation>
<xs:documentation>Write timestamps for internal NLog messages. Default value is: true.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="useInvariantCulture" type="xs:boolean">
<xs:annotation>
<xs:documentation>Use InvariantCulture as default culture instead of CurrentCulture. Default value is: false.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="parseMessageTemplates" type="xs:boolean">
<xs:annotation>
<xs:documentation>Perform message template parsing and formatting of LogEvent messages (true = Always, false = Never, empty = Auto Detect). Default value is: empty.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="NLogTargets">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="default-wrapper" type="WrapperTargetBase" />
<xs:element name="default-target-parameters" type="Target" />
<xs:element name="target" type="Target" />
<xs:element name="wrapper-target" type="WrapperTargetBase" />
<xs:element name="compound-target" type="CompoundTargetBase" />
</xs:choice>
<xs:attribute name="async" type="xs:boolean">
<xs:annotation>
<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>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="NLogRules">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="logger" type="NLogLoggerRule" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="NLogExtensions">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add" type="NLogExtensionsAdd" />
</xs:choice>
</xs:complexType>
<xs:complexType name="NLogExtensionsAdd">
<xs:attribute name="prefix" type="xs:string">
<xs:annotation>
<xs:documentation>Prefix for targets/layout renderers/filters/conditions loaded from this assembly.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="assemblyFile" type="xs:string">
<xs:annotation>
<xs:documentation>Load NLog extensions from the specified file (*.dll)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="assembly" type="xs:string">
<xs:annotation>
<xs:documentation>Load NLog extensions from the specified assembly. Assembly name should be fully qualified.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="NLogLoggerRule">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="filters" type="NLogFilters" />
</xs:choice>
<xs:attribute name="name" use="optional">
<xs:annotation>
<xs:documentation>Filter on the name of the logger. May include wildcard characters ('*' or '?').</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="levels" type="NLogLevelList">
<xs:annotation>
<xs:documentation>Comma separated list of levels that this rule matches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="minlevel" type="NLogLevel">
<xs:annotation>
<xs:documentation>Minimum level that this rule matches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxlevel" type="NLogLevel">
<xs:annotation>
<xs:documentation>Maximum level that this rule matches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="level" type="NLogLevel">
<xs:annotation>
<xs:documentation>Level that this rule matches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="writeTo" type="NLogTargetIDList">
<xs:annotation>
<xs:documentation>Comma separated list of target names.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="final" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>Ignore further rules if this one matches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enabled" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>Enable this rule. Note: disabled rules aren't available from the API.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ruleName" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Rule identifier to allow rule lookup with Configuration.FindRuleByName and Configuration.RemoveRuleByName.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="finalMinLevel" type="NLogLevel" use="optional">
<xs:annotation>
<xs:documentation>Loggers matching will be restricted to specified minimum level for following rules.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="NLogFilters">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="when" type="when" />
<xs:element name="whenContains" type="whenContains" />
<xs:element name="whenEqual" type="whenEqual" />
<xs:element name="whenNotContains" type="whenNotContains" />
<xs:element name="whenNotEqual" type="whenNotEqual" />
<xs:element name="whenRepeated" type="whenRepeated" />
</xs:choice>
<xs:attribute name="defaultAction" type="FilterResult">
<xs:annotation>
<xs:documentation>Default action if none of the filters match.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="NLogLevel">
<xs:restriction base="xs:string">
<xs:enumeration value="Off" />
<xs:enumeration value="Trace" />
<xs:enumeration value="Debug" />
<xs:enumeration value="Info" />
<xs:enumeration value="Warn" />
<xs:enumeration value="Error" />
<xs:enumeration value="Fatal" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="LineEndingMode">
<xs:restriction base="xs:string">
<xs:enumeration value="Default" />
<xs:enumeration value="CRLF" />
<xs:enumeration value="CR" />
<xs:enumeration value="LF" />
<xs:enumeration value="None" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NLogLevelList">
<xs:restriction base="xs:string">
<xs:pattern value="(|Trace|Debug|Info|Warn|Error|Fatal)(,(Trace|Debug|Info|Warn|Error|Fatal))*" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="NLogInclude">
<xs:attribute name="file" type="SimpleLayoutAttribute" use="required">
<xs:annotation>
<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>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ignoreErrors" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>Ignore any errors in the include file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="NLogVariable">
<xs:choice minOccurs="0" maxOccurs="1">
<xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>Variable value. Note, the 'value' attribute has precedence over this one.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Variable name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Variable value.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="NLogTargetIDList">
<xs:restriction base="xs:string">
<xs:pattern value="(|([a-zA-Z][a-zA-Z0-9_\-]*))(,([a-zA-Z][a-zA-Z0-9_\-]*))*" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="Target" abstract="true"></xs:complexType>
<xs:complexType name="TargetRef">
<xs:attribute name="name" type="xs:string" use="required" />
</xs:complexType>
<xs:complexType name="WrapperTargetBase" abstract="true">
<xs:complexContent>
<xs:extension base="Target">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="target" type="Target" minOccurs="1" maxOccurs="1" />
<xs:element name="wrapper-target" type="WrapperTargetBase" minOccurs="1" maxOccurs="1" />
<xs:element name="compound-target" type="CompoundTargetBase" minOccurs="1" maxOccurs="1" />
<xs:element name="target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
<xs:element name="wrapper-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
<xs:element name="compound-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CompoundTargetBase" abstract="true">
<xs:complexContent>
<xs:extension base="Target">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="target" type="Target" minOccurs="1" maxOccurs="unbounded" />
<xs:element name="wrapper-target" type="WrapperTargetBase" minOccurs="1" maxOccurs="1" />
<xs:element name="compound-target" type="CompoundTargetBase" minOccurs="1" maxOccurs="1" />
<xs:element name="target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
<xs:element name="wrapper-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
<xs:element name="compound-target-ref" type="TargetRef" minOccurs="1" maxOccurs="1" />
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Filter" abstract="true"></xs:complexType>
<xs:complexType name="TimeSource" abstract="true"></xs:complexType>
<xs:simpleType name="SimpleLayoutAttribute">
<xs:restriction base="xs:string">
<xs:pattern value=".*" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Condition">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="AsyncWrapper">
<xs:complexContent>
<xs:extension base="WrapperTargetBase">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="overflowAction" type="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction" minOccurs="0" maxOccurs="1" default="Discard" />
<xs:element name="queueLimit" type="xs:integer" minOccurs="0" maxOccurs="1" default="10000" />
<xs:element name="batchSize" type="xs:integer" minOccurs="0" maxOccurs="1" default="200" />
<xs:element name="forceLockingQueue" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="fullBatchSizeWriteLimit" type="xs:integer" minOccurs="0" maxOccurs="1" default="5" />
<xs:element name="timeToSleepBetweenBatches" type="xs:integer" minOccurs="0" maxOccurs="1" default="1" />
<xs:element name="layoutWithLock" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the target.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="overflowAction" type="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction">
<xs:annotation>
<xs:documentation>Action to be taken when the lazy writer thread request queue count exceeds the set limit.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="queueLimit" type="xs:integer">
<xs:annotation>
<xs:documentation>Limit on the number of requests in the lazy writer thread request queue.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="batchSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Number of log events that should be processed in a batch by the lazy writer thread.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="forceLockingQueue" type="xs:boolean">
<xs:annotation>
<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>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fullBatchSizeWriteLimit" type="xs:integer">
<xs:annotation>
<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>
</xs:annotation>
</xs:attribute>
<xs:attribute name="timeToSleepBetweenBatches" type="xs:integer">
<xs:annotation>
<xs:documentation>Time in milliseconds to sleep between batches. (1 or less means trigger on new activity)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layoutWithLock" type="xs:boolean">
<xs:annotation>
<xs:documentation>NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time. This ensure high concurrency with no lock-congestion for the application-threads, especially when using or AsyncTaskTarget. But if using custom or that are not threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one to update to NLog 5.0 without having to fix custom/external layout-dependencies.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction">
<xs:restriction base="xs:string">
<xs:enumeration value="Grow" />
<xs:enumeration value="Discard" />
<xs:enumeration value="Block" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="AutoFlushWrapper">
<xs:complexContent>
<xs:extension base="WrapperTargetBase">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="asyncFlush" type="xs:boolean" minOccurs="0" maxOccurs="1" default="true" />
<xs:element name="condition" type="Condition" minOccurs="0" maxOccurs="1" />
<xs:element name="flushOnConditionOnly" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="layoutWithLock" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the target.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="asyncFlush" type="xs:boolean">
<xs:annotation>
<xs:documentation>Delay the flush until the LogEvent has been confirmed as written</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="condition" type="Condition">
<xs:annotation>
<xs:documentation>Condition expression. Log events who meet this condition will cause a flush on the wrapped target.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="flushOnConditionOnly" type="xs:boolean">
<xs:annotation>
<xs:documentation>Only flush when LogEvent matches condition. Ignore explicit-flush, config-reload-flush and shutdown-flush</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layoutWithLock" type="xs:boolean">
<xs:annotation>
<xs:documentation>NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time. This ensure high concurrency with no lock-congestion for the application-threads, especially when using or AsyncTaskTarget. But if using custom or that are not threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one to update to NLog 5.0 without having to fix custom/external layout-dependencies.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BufferingWrapper">
<xs:complexContent>
<xs:extension base="WrapperTargetBase">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="bufferSize" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="overflowAction" type="NLog.Targets.Wrappers.BufferingTargetWrapperOverflowAction" minOccurs="0" maxOccurs="1" default="Flush" />
<xs:element name="flushTimeout" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="slidingTimeout" type="xs:boolean" minOccurs="0" maxOccurs="1" default="true" />
<xs:element name="layoutWithLock" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the target.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="bufferSize" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Number of log events to be buffered.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="overflowAction" type="NLog.Targets.Wrappers.BufferingTargetWrapperOverflowAction">
<xs:annotation>
<xs:documentation>Action to take if the buffer overflows.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="flushTimeout" type="SimpleLayoutAttribute">
<xs:annotation>
<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>
</xs:annotation>
</xs:attribute>
<xs:attribute name="slidingTimeout" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to use sliding timeout.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layoutWithLock" type="xs:boolean">
<xs:annotation>
<xs:documentation>NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time. This ensure high concurrency with no lock-congestion for the application-threads, especially when using or AsyncTaskTarget. But if using custom or that are not threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one to update to NLog 5.0 without having to fix custom/external layout-dependencies.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="NLog.Targets.Wrappers.BufferingTargetWrapperOverflowAction">
<xs:restriction base="xs:string">
<xs:enumeration value="Flush" />
<xs:enumeration value="Discard" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="Chainsaw">
<xs:complexContent>
<xs:extension base="Target">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="scopeNestedSeparator" type="xs:string" minOccurs="0" maxOccurs="1" default=" " />
<xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
<xs:element name="ndcItemSeparator" type="xs:string" minOccurs="0" maxOccurs="1" default=" " />
<xs:element name="loggerName" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="includeScopeProperties" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="includeScopeNested" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="includeSourceInfo" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="includeNdc" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="includeEventProperties" type="xs:boolean" minOccurs="0" maxOccurs="1" default="true" />
<xs:element name="includeCallSite" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="appInfo" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="layout" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="includeNLogData" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="onConnectionOverflow" type="NLog.Targets.NetworkTargetConnectionsOverflowAction" minOccurs="0" maxOccurs="1" default="Discard" />
<xs:element name="sslProtocols" type="System.Security.Authentication.SslProtocols" minOccurs="0" maxOccurs="1" default="None" />
<xs:element name="onQueueOverflow" type="NLog.Targets.NetworkTargetQueueOverflowAction" minOccurs="0" maxOccurs="1" default="Discard" />
<xs:element name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction" minOccurs="0" maxOccurs="1" default="Split" />
<xs:element name="maxQueueSize" type="xs:integer" minOccurs="0" maxOccurs="1" default="10000" />
<xs:element name="connectionCacheSize" type="xs:integer" minOccurs="0" maxOccurs="1" default="5" />
<xs:element name="keepConnection" type="xs:boolean" minOccurs="0" maxOccurs="1" default="true" />
<xs:element name="keepAliveTimeSeconds" type="xs:integer" minOccurs="0" maxOccurs="1" default="0" />
<xs:element name="address" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="maxConnections" type="xs:integer" minOccurs="0" maxOccurs="1" default="100" />
<xs:element name="compress" type="NLog.Targets.NetworkTargetCompressionType" minOccurs="0" maxOccurs="1" default="None" />
<xs:element name="compressMinBytes" type="xs:integer" minOccurs="0" maxOccurs="1" default="0" />
<xs:element name="newLine" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="encoding" type="xs:string" minOccurs="0" maxOccurs="1" default="utf-8" />
<xs:element name="lineEnding" type="LineEndingMode" minOccurs="0" maxOccurs="1" />
<xs:element name="maxMessageSize" type="xs:integer" minOccurs="0" maxOccurs="1" default="65000" />
<xs:element name="layoutWithLock" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the target.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="scopeNestedSeparator" type="xs:string">
<xs:annotation>
<xs:documentation>Separator for operation-states-stack.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ndcItemSeparator" type="xs:string">
<xs:annotation>
<xs:documentation>Stack separator for log4j:NDC in output from nested context.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="loggerName" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Renderer for log4j:event logger-xml-attribute (Default ${logger})</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeScopeProperties" type="xs:boolean">
<xs:annotation>
<xs:documentation>Whether to include the contents of the properties-dictionary.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeScopeNested" type="xs:boolean">
<xs:annotation>
<xs:documentation>Whether to include log4j:NDC in output from nested context.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeSourceInfo" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include source info (file name and line number) in the information sent over the network.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeNdc" type="xs:boolean">
<xs:annotation>
<xs:documentation>Whether to include log4j:NDC in output from nested context.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeEventProperties" type="xs:boolean">
<xs:annotation>
<xs:documentation>Option to include all properties from the log events</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeCallSite" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include call site (class and method name) in the information sent over the network.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="appInfo" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>AppInfo field. By default it's the friendly name of the current AppDomain.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Instance of that is used to format log messages.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeNLogData" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to include NLog-specific extensions to log4j schema.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onConnectionOverflow" type="NLog.Targets.NetworkTargetConnectionsOverflowAction">
<xs:annotation>
<xs:documentation>Action that should be taken, when more connections than .</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sslProtocols" type="System.Security.Authentication.SslProtocols">
<xs:annotation>
<xs:documentation>Get or set the SSL/TLS protocols. Default no SSL/TLS is used. Currently only implemented for TCP.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onQueueOverflow" type="NLog.Targets.NetworkTargetQueueOverflowAction">
<xs:annotation>
<xs:documentation>Action that should be taken, when more pending messages than .</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
<xs:annotation>
<xs:documentation>Action that should be taken if the message is larger than </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxQueueSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum queue size for a single connection. Requires = true</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="connectionCacheSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Size of the connection cache (number of connections which are kept alive). Requires = true</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="keepConnection" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to keep connection open whenever possible.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="keepAliveTimeSeconds" type="xs:integer">
<xs:annotation>
<xs:documentation>The number of seconds a connection will remain idle before the first keep-alive probe is sent</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="address" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Network address.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxConnections" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum simultaneous connections. Requires = false</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="compress" type="NLog.Targets.NetworkTargetCompressionType">
<xs:annotation>
<xs:documentation>Type of compression for protocol payload. Useful for UDP where datagram max-size is 8192 bytes.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="compressMinBytes" type="xs:integer">
<xs:annotation>
<xs:documentation>Skip compression when protocol payload is below limit to reduce overhead in cpu-usage and additional headers</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="newLine" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="encoding" type="xs:string">
<xs:annotation>
<xs:documentation>Encoding to be used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="lineEnding" type="LineEndingMode">
<xs:annotation>
<xs:documentation>End of line value if a newline is appended at the end of log message .</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxMessageSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum message size in bytes. On limit breach then action is activated.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layoutWithLock" type="xs:boolean">
<xs:annotation>
<xs:documentation>NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time. This ensure high concurrency with no lock-congestion for the application-threads, especially when using or AsyncTaskTarget. But if using custom or that are not threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one to update to NLog 5.0 without having to fix custom/external layout-dependencies.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="NLog.Targets.NetworkTargetConnectionsOverflowAction">
<xs:restriction base="xs:string">
<xs:enumeration value="Grow" />
<xs:enumeration value="AllowNewConnnection" />
<xs:enumeration value="Discard" />
<xs:enumeration value="DiscardMessage" />
<xs:enumeration value="Block" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="System.Security.Authentication.SslProtocols">
<xs:restriction base="xs:string">
<xs:enumeration value="None" />
<xs:enumeration value="Ssl2" />
<xs:enumeration value="Ssl3" />
<xs:enumeration value="Tls" />
<xs:enumeration value="Tls11" />
<xs:enumeration value="Tls12" />
<xs:enumeration value="Tls13" />
<xs:enumeration value="Default" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NLog.Targets.NetworkTargetQueueOverflowAction">
<xs:restriction base="xs:string">
<xs:enumeration value="Grow" />
<xs:enumeration value="Discard" />
<xs:enumeration value="Block" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NLog.Targets.NetworkTargetOverflowAction">
<xs:restriction base="xs:string">
<xs:enumeration value="Error" />
<xs:enumeration value="Split" />
<xs:enumeration value="Discard" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NLog.Targets.NetworkTargetCompressionType">
<xs:restriction base="xs:string">
<xs:enumeration value="None" />
<xs:enumeration value="GZip" />
<xs:enumeration value="GZipFast" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="NLog.Targets.NLogViewerParameterInfo">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" />
<xs:element name="layout" type="Layout" minOccurs="1" maxOccurs="1" />
<xs:element name="includeEmptyValue" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Viewer parameter name.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Layout that should be use to calculate the value for the parameter.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="includeEmptyValue" type="xs:boolean">
<xs:annotation>
<xs:documentation>Whether an attribute with empty value should be included in the output</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ColoredConsole">
<xs:complexContent>
<xs:extension base="Target">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="layout" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="header" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="footer" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="detectConsoleAvailable" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="enableAnsiOutput" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="encoding" type="xs:string" minOccurs="0" maxOccurs="1" default="IBM437" />
<xs:element name="stdErr" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="autoFlush" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="detectOutputRedirected" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="useDefaultRowHighlightingRules" type="xs:boolean" minOccurs="0" maxOccurs="1" default="true" />
<xs:element name="highlight-row" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.ConsoleRowHighlightingRule" />
<xs:element name="highlight-word" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.ConsoleWordHighlightingRule" />
<xs:element name="layoutWithLock" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the target.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Text to be rendered.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="header" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Header.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="footer" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Footer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="detectConsoleAvailable" type="xs:boolean">
<xs:annotation>
<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>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enableAnsiOutput" type="xs:boolean">
<xs:annotation>
<xs:documentation>Enables output using ANSI Color Codes</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="encoding" type="xs:string">
<xs:annotation>
<xs:documentation>The encoding for writing messages to the .</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="stdErr" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to send the log messages to the standard error instead of the standard output.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="autoFlush" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to auto-flush after </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="detectOutputRedirected" type="xs:boolean">
<xs:annotation>
<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>
</xs:annotation>
</xs:attribute>
<xs:attribute name="useDefaultRowHighlightingRules" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to use default row highlighting rules.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layoutWithLock" type="xs:boolean">
<xs:annotation>
<xs:documentation>NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time. This ensure high concurrency with no lock-congestion for the application-threads, especially when using or AsyncTaskTarget. But if using custom or that are not threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one to update to NLog 5.0 without having to fix custom/external layout-dependencies.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="NLog.Targets.ConsoleOutputColor">
<xs:restriction base="xs:string">
<xs:enumeration value="Black" />
<xs:enumeration value="DarkBlue" />
<xs:enumeration value="DarkGreen" />
<xs:enumeration value="DarkCyan" />
<xs:enumeration value="DarkRed" />
<xs:enumeration value="DarkMagenta" />
<xs:enumeration value="DarkYellow" />
<xs:enumeration value="Gray" />
<xs:enumeration value="DarkGray" />
<xs:enumeration value="Blue" />
<xs:enumeration value="Green" />
<xs:enumeration value="Cyan" />
<xs:enumeration value="Red" />
<xs:enumeration value="Magenta" />
<xs:enumeration value="Yellow" />
<xs:enumeration value="White" />
<xs:enumeration value="NoChange" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="NLog.Targets.ConsoleRowHighlightingRule">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="backgroundColor" type="NLog.Targets.ConsoleOutputColor" minOccurs="0" maxOccurs="1" default="NoChange" />
<xs:element name="condition" type="Condition" minOccurs="0" maxOccurs="1" />
<xs:element name="foregroundColor" type="NLog.Targets.ConsoleOutputColor" minOccurs="0" maxOccurs="1" default="NoChange" />
</xs:choice>
<xs:attribute name="backgroundColor" type="NLog.Targets.ConsoleOutputColor">
<xs:annotation>
<xs:documentation>Background color.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="condition" type="Condition">
<xs:annotation>
<xs:documentation>Condition that must be met in order to set the specified foreground and background color.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="foregroundColor" type="NLog.Targets.ConsoleOutputColor">
<xs:annotation>
<xs:documentation>Foreground color.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="NLog.Targets.ConsoleWordHighlightingRule">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="backgroundColor" type="NLog.Targets.ConsoleOutputColor" minOccurs="0" maxOccurs="1" default="NoChange" />
<xs:element name="compileRegex" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="condition" type="Condition" minOccurs="0" maxOccurs="1" />
<xs:element name="foregroundColor" type="NLog.Targets.ConsoleOutputColor" minOccurs="0" maxOccurs="1" default="NoChange" />
<xs:element name="ignoreCase" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="regex" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="text" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="wholeWords" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="backgroundColor" type="NLog.Targets.ConsoleOutputColor">
<xs:annotation>
<xs:documentation>Background color.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="compileRegex" type="xs:boolean">
<xs:annotation>
<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>
</xs:annotation>
</xs:attribute>
<xs:attribute name="condition" type="Condition">
<xs:annotation>
<xs:documentation>Condition that must be met before scanning the row for highlight of words</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="foregroundColor" type="NLog.Targets.ConsoleOutputColor">
<xs:annotation>
<xs:documentation>Foreground color.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ignoreCase" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to ignore case when comparing texts.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="regex" type="xs:string">
<xs:annotation>
<xs:documentation>Regular expression to be matched. You must specify either text or regex.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="text" type="xs:string">
<xs:annotation>
<xs:documentation>Text to be matched. You must specify either text or regex.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="wholeWords" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to match whole words only.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Console">
<xs:complexContent>
<xs:extension base="Target">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="layout" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="header" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="footer" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="autoFlush" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="detectConsoleAvailable" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="encoding" type="xs:string" minOccurs="0" maxOccurs="1" default="IBM437" />
<xs:element name="stdErr" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="writeBuffer" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xs:element name="layoutWithLock" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the target.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Text to be rendered.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="header" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Header.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="footer" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Footer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="autoFlush" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to auto-flush after </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="detectConsoleAvailable" type="xs:boolean">
<xs:annotation>
<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>
</xs:annotation>
</xs:attribute>
<xs:attribute name="encoding" type="xs:string">
<xs:annotation>
<xs:documentation>The encoding for writing messages to the .</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="stdErr" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to send the log messages to the standard error instead of the standard output.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="writeBuffer" type="xs:boolean">
<xs:annotation>
<xs:documentation>Whether to activate internal buffering to allow batch writing, instead of using </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layoutWithLock" type="xs:boolean">
<xs:annotation>
<xs:documentation>NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time. This ensure high concurrency with no lock-congestion for the application-threads, especially when using or AsyncTaskTarget. But if using custom or that are not threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one to update to NLog 5.0 without having to fix custom/external layout-dependencies.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Debugger">
<xs:complexContent>
<xs:extension base="Target">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="layout" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="header" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="footer" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="layoutWithLock" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the target.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Text to be rendered.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="header" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Header.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="footer" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Footer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layoutWithLock" type="xs:boolean">
<xs:annotation>
<xs:documentation>NLog Layout are by default threadsafe, so multiple threads can be rendering logevents at the same time. This ensure high concurrency with no lock-congestion for the application-threads, especially when using or AsyncTaskTarget. But if using custom or that are not threadsafe, then this option can enabled to protect against thread-concurrency-issues. Allowing one to update to NLog 5.0 without having to fix custom/external layout-dependencies.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DebugSystem">
<xs:complexContent>
<xs:extension base="Target">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="layout" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="header" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="footer" type="Layout" minOccurs="0" maxOccurs="1" />
<xs:element name="layoutWithLock" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the target.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Text to be rendered.</xs:documentation>
</xs:annotation>