1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704 |
- <?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: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>Pass NLog internal exceptions to the application. Default value is: false.</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>
- Name of the logger. May include '*' character which acts like a wildcard. Allowed forms are:
- *, Name, *Name, Name* and *Name*
- </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: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:choice>
- </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="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. 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: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" use="required">
- <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="Layout"></xs:complexType>
- <xs:complexType name="Filter" 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" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="queueLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="timeToSleepBetweenBatches" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="batchSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="overflowAction" minOccurs="0" maxOccurs="1"
- type="NLog.Targets.Wrappers.AsyncTargetWrapperOverflowAction" />
- </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="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="timeToSleepBetweenBatches" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Time in milliseconds to sleep between batches.</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="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: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" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the target.</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" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="slidingTimeout" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="flushTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
- </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="slidingTimeout" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to use sliding timeout.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="bufferSize" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Number of log events to be buffered.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="flushTimeout" type="xs:integer">
- <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:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Chainsaw">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
- <xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
- <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </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="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="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="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
- <xs:annotation>
- <xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="maxMessageSize" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Maximum message size in bytes.</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="connectionCacheSize" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Size of the connection cache (number of connections which are kept alive).</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="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="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="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="xs:string">
- <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="ndcItemSeparator" type="xs:string">
- <xs:annotation>
- <xs:documentation>NDC item separator.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="includeNdc" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to include stack contents.</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="includeMdc" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <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:complexType name="NLog.Targets.NLogViewerParameterInfo">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout that should be use to calcuate the value for the parameter.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="name" type="xs:string">
- <xs:annotation>
- <xs:documentation>Viewer parameter name.</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" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="error" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </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="footer" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Footer.</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="error" 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:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Database">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="dbUserName" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="dbProvider" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="useTransactions" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="connectionStringName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="connectionString" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="dbDatabase" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="dbPassword" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="dbHost" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="install-command" minOccurs="0" maxOccurs="unbounded"
- type="NLog.Targets.DatabaseCommandInfo" />
- <xs:element name="installConnectionString" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="uninstall-command" minOccurs="0" maxOccurs="unbounded"
- type="NLog.Targets.DatabaseCommandInfo" />
- <xs:element name="commandText" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseParameterInfo" />
- </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="dbUserName" type="SimpleLayoutAttribute">
- <xs:annotation>
- <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>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="dbProvider" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the database provider.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="useTransactions" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to use database transactions. Some data providers require this.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="connectionStringName" type="xs:string">
- <xs:annotation>
- <xs:documentation>
- Name of the connection string (as specified in <connectionStrings> configuration
- section.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="connectionString" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>
- Connection string. When provided, it overrides the values specified in DBHost,
- DBUserName, DBPassword, DBDatabase.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="keepConnection" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to keep the database connection open between the log events.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="dbDatabase" type="SimpleLayoutAttribute">
- <xs:annotation>
- <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>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="dbPassword" type="SimpleLayoutAttribute">
- <xs:annotation>
- <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>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="dbHost" type="SimpleLayoutAttribute">
- <xs:annotation>
- <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>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="installConnectionString" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>
- Connection string using for installation and uninstallation. If not provided, regular
- ConnectionString is being used.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="commandText" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Text of the SQL command to be run on each log level.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="System.Data.CommandType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="StoredProcedure" />
- <xs:enumeration value="TableDirect" />
- <xs:enumeration value="Text" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="NLog.Targets.DatabaseCommandInfo">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="commandType" minOccurs="0" maxOccurs="1" type="System.Data.CommandType" />
- <xs:element name="connectionString" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="ignoreFailures" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseParameterInfo" />
- <xs:element name="text" minOccurs="0" maxOccurs="1" type="Layout" />
- </xs:choice>
- <xs:attribute name="commandType" type="System.Data.CommandType">
- <xs:annotation>
- <xs:documentation>Type of the command.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="connectionString" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>
- Connection string to run the command against. If not provided, connection string from the
- target is used.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="ignoreFailures" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to ignore failures.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="text" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Command text.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="NLog.Targets.DatabaseParameterInfo">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="precision" minOccurs="0" maxOccurs="1" type="xs:byte" />
- <xs:element name="scale" minOccurs="0" maxOccurs="1" type="xs:byte" />
- <xs:element name="size" minOccurs="0" maxOccurs="1" type="xs:integer" />
- </xs:choice>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout that should be use to calcuate the value for the parameter.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="name" type="xs:string">
- <xs:annotation>
- <xs:documentation>Database parameter name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="precision" type="xs:byte">
- <xs:annotation>
- <xs:documentation>Database parameter precision.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="scale" type="xs:byte">
- <xs:annotation>
- <xs:documentation>Database parameter scale.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="size" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Database parameter size.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="Debug">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- </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>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="FallbackGroup">
- <xs:complexContent>
- <xs:extension base="CompoundTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="returnToFirstOnSuccess" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </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="returnToFirstOnSuccess" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to return to the first target after any successful write.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="File">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="lineEnding" minOccurs="0" maxOccurs="1" type="NLog.Targets.LineEndingMode" />
- <xs:element name="archiveAboveSize" minOccurs="0" maxOccurs="1" type="xs:long" />
- <xs:element name="maxArchiveFiles" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="archiveFileName" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="archiveNumbering" minOccurs="0" maxOccurs="1" type="NLog.Targets.ArchiveNumberingMode" />
- <xs:element name="archiveEvery" minOccurs="0" maxOccurs="1" type="NLog.Targets.FileArchivePeriod" />
- <xs:element name="replaceFileContentsOnEachWrite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="fileAttributes" minOccurs="0" maxOccurs="1" type="NLog.Targets.Win32FileAttributes" />
- <xs:element name="fileName" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="deleteOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="enableFileDelete" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="createDirs" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="concurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="openFileCacheTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="openFileCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="networkWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="concurrentWriteAttemptDelay" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="keepFileOpen" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </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="encoding" type="xs:string">
- <xs:annotation>
- <xs:documentation>File encoding.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="lineEnding" type="NLog.Targets.LineEndingMode">
- <xs:annotation>
- <xs:documentation>Line ending mode.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="archiveAboveSize" type="xs:long">
- <xs:annotation>
- <xs:documentation>Size in bytes above which log files will be automatically archived.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="maxArchiveFiles" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Maximum number of archive files that should be kept.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="archiveFileName" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Name of the file to be used for an archive.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="archiveNumbering" type="NLog.Targets.ArchiveNumberingMode">
- <xs:annotation>
- <xs:documentation>Way file archives are numbered.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="archiveEvery" type="NLog.Targets.FileArchivePeriod">
- <xs:annotation>
- <xs:documentation>
- Indicates whether to automatically archive log files every time the specified time
- passes.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="replaceFileContentsOnEachWrite" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>
- Indicates whether to replace file contents on each write instead of appending log message
- at the end.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="fileAttributes" type="NLog.Targets.Win32FileAttributes">
- <xs:annotation>
- <xs:documentation>File attributes (Windows only).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="fileName" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Name of the file to write to.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="deleteOldFileOnStartup" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to delete old log file on startup.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="enableFileDelete" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to enable log file(s) to be deleted.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="createDirs" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to create directories if they don't exist.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="concurrentWrites" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>
- Indicates whether concurrent writes to the log file by multiple processes on the same
- host.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="openFileCacheTimeout" type="xs:integer">
- <xs:annotation>
- <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>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="openFileCacheSize" type="xs:integer">
- <xs:annotation>
- <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>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="networkWrites" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>
- Indicates whether concurrent writes to the log file by multiple processes on different
- network hosts.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="concurrentWriteAttemptDelay" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Delay in milliseconds to wait before attempting to write to the file again.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="concurrentWriteAttempts" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Number of times the write is appended on the file before NLog discards the log message.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="bufferSize" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Log file buffer size in bytes.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="autoFlush" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to automatically flush the file buffers after each log message.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="keepFileOpen" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>
- Indicates whether to keep log file open instead of opening and closing it on each logging
- event.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="NLog.Targets.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="NLog.Targets.ArchiveNumberingMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Sequence" />
- <xs:enumeration value="Rolling" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="NLog.Targets.FileArchivePeriod">
- <xs:restriction base="xs:string">
- <xs:enumeration value="None" />
- <xs:enumeration value="Year" />
- <xs:enumeration value="Month" />
- <xs:enumeration value="Day" />
- <xs:enumeration value="Hour" />
- <xs:enumeration value="Minute" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="NLog.Targets.Win32FileAttributes">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Readonly" />
- <xs:enumeration value="Hidden" />
- <xs:enumeration value="System" />
- <xs:enumeration value="Archive" />
- <xs:enumeration value="Device" />
- <xs:enumeration value="Normal" />
- <xs:enumeration value="Temporary" />
- <xs:enumeration value="SparseFile" />
- <xs:enumeration value="ReparsePoint" />
- <xs:enumeration value="Compressed" />
- <xs:enumeration value="NotContentIndexed" />
- <xs:enumeration value="Encrypted" />
- <xs:enumeration value="WriteThrough" />
- <xs:enumeration value="NoBuffering" />
- <xs:enumeration value="DeleteOnClose" />
- <xs:enumeration value="PosixSemantics" />
- <xs:enumeration value="ReadOnly" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="FilteringWrapper">
- <xs:complexContent>
- <xs:extension base="WrapperTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
- </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="condition" type="Condition">
- <xs:annotation>
- <xs:documentation>
- Condition expression. Log events who meet this condition will be forwarded to the wrapped
- target.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Memory">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- </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>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="MessageBox">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="caption" minOccurs="0" maxOccurs="1" type="Layout" />
- </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>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="caption" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Message box title.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="MethodCall">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="methodName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="className" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
- </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="methodName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Method name. The method must be public and static.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="className" type="xs:string">
- <xs:annotation>
- <xs:documentation>Class name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="NLog.Targets.MethodCallParameter">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout that should be use to calcuate the value for the parameter.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="name" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the parameter.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="type" type="xs:string">
- <xs:annotation>
- <xs:documentation>Type of the parameter.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="Network">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
- <xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
- </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="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
- <xs:annotation>
- <xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</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="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="maxMessageSize" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Maximum message size in bytes.</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="connectionCacheSize" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Size of the connection cache (number of connections which are kept alive).</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="address" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Network address.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="NLogViewer">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
- <xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="includeCallSite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="appInfo" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
- <xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </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="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="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="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
- <xs:annotation>
- <xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="maxMessageSize" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Maximum message size in bytes.</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="connectionCacheSize" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Size of the connection cache (number of connections which are kept alive).</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="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="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="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="xs:string">
- <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="ndcItemSeparator" type="xs:string">
- <xs:annotation>
- <xs:documentation>NDC item separator.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="includeNdc" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to include stack contents.</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="includeMdc" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to include dictionary contents.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Null">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="formatMessage" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- </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="formatMessage" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to perform layout calculation.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="OutputDebugString">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- </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>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="PostFilteringWrapper">
- <xs:complexContent>
- <xs:extension base="WrapperTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="defaultFilter" minOccurs="0" maxOccurs="1" type="Condition" />
- <xs:element name="when" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.Wrappers.FilteringRule" />
- </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="defaultFilter" type="Condition">
- <xs:annotation>
- <xs:documentation>Default filter to be applied when no specific rule matches.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="NLog.Targets.Wrappers.FilteringRule">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="exists" minOccurs="0" maxOccurs="1" type="Condition" />
- <xs:element name="filter" minOccurs="0" maxOccurs="1" type="Condition" />
- </xs:choice>
- <xs:attribute name="exists" type="Condition">
- <xs:annotation>
- <xs:documentation>Condition to be tested.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="filter" type="Condition">
- <xs:annotation>
- <xs:documentation>Resulting filter to be applied when the condition matches.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="RandomizeGroup">
- <xs:complexContent>
- <xs:extension base="CompoundTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the target.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="RepeatingWrapper">
- <xs:complexContent>
- <xs:extension base="WrapperTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="repeatCount" minOccurs="0" maxOccurs="1" type="xs:integer" />
- </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="repeatCount" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Number of times to repeat each log message.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="RetryingWrapper">
- <xs:complexContent>
- <xs:extension base="WrapperTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="retryDelayMilliseconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="retryCount" minOccurs="0" maxOccurs="1" type="xs:integer" />
- </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="retryDelayMilliseconds" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Time to wait between retries in milliseconds.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="retryCount" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Number of retries that should be attempted on the wrapped target in case of a failure.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="RoundRobinGroup">
- <xs:complexContent>
- <xs:extension base="CompoundTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the target.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="SplitGroup">
- <xs:complexContent>
- <xs:extension base="CompoundTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="name" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the target.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="WebService">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
- <xs:element name="url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
- <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="protocol" minOccurs="0" maxOccurs="1" type="NLog.Targets.WebServiceProtocol" />
- <xs:element name="namespace" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="methodName" minOccurs="0" maxOccurs="1" type="xs:string" />
- </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="url" type="xs:anyURI">
- <xs:annotation>
- <xs:documentation>Web service URL.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="encoding" type="xs:string">
- <xs:annotation>
- <xs:documentation>Encoding.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="protocol" type="NLog.Targets.WebServiceProtocol">
- <xs:annotation>
- <xs:documentation>Protocol to be used when calling web service.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="namespace" type="xs:string">
- <xs:annotation>
- <xs:documentation>Web service namespace.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="methodName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Web service method name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="NLog.Targets.WebServiceProtocol">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Soap11" />
- <xs:enumeration value="Soap12" />
- <xs:enumeration value="HttpPost" />
- <xs:enumeration value="HttpGet" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="CsvLayout">
- <xs:complexContent>
- <xs:extension base="Layout">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="quoting" minOccurs="0" maxOccurs="1" type="NLog.Layouts.CsvQuotingMode" />
- <xs:element name="quoteChar" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="withHeader" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="customColumnDelimiter" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="delimiter" minOccurs="0" maxOccurs="1" type="NLog.Layouts.CsvColumnDelimiterMode" />
- <xs:element name="column" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.CsvColumn" />
- </xs:choice>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Body layout (can be repeated multiple times).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="footer" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Footer layout.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="header" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Header layout.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="quoting" type="NLog.Layouts.CsvQuotingMode">
- <xs:annotation>
- <xs:documentation>Quoting mode.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="quoteChar" type="xs:string">
- <xs:annotation>
- <xs:documentation>Quote Character.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="withHeader" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether CVS should include header.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="customColumnDelimiter" type="xs:string">
- <xs:annotation>
- <xs:documentation>Custom column delimiter value (valid when ColumnDelimiter is set to 'Custom').</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="delimiter" type="NLog.Layouts.CsvColumnDelimiterMode">
- <xs:annotation>
- <xs:documentation>Column delimiter.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="NLog.Layouts.CsvQuotingMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="All" />
- <xs:enumeration value="Nothing" />
- <xs:enumeration value="Auto" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="NLog.Layouts.CsvColumnDelimiterMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Auto" />
- <xs:enumeration value="Comma" />
- <xs:enumeration value="Semicolon" />
- <xs:enumeration value="Tab" />
- <xs:enumeration value="Pipe" />
- <xs:enumeration value="Space" />
- <xs:enumeration value="Custom" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="NLog.Layouts.CsvColumn">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout of the column.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="name" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the column.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="SimpleLayout">
- <xs:complexContent>
- <xs:extension base="Layout">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="text" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="text" type="xs:string">
- <xs:annotation>
- <xs:documentation>Layout text.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="LayoutWithHeaderAndFooter">
- <xs:complexContent>
- <xs:extension base="Layout">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
- </xs:choice>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Body layout (can be repeated multiple times).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="header" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Header layout.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="footer" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Footer layout.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="Log4JXmlEventLayout">
- <xs:complexContent>
- <xs:extension base="Layout">
- <xs:choice minOccurs="0" maxOccurs="unbounded" />
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="when">
- <xs:complexContent>
- <xs:extension base="Filter">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
- <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
- </xs:choice>
- <xs:attribute name="condition" type="Condition">
- <xs:annotation>
- <xs:documentation>Condition expression.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="action" type="FilterResult">
- <xs:annotation>
- <xs:documentation>Action to be taken when filter matches.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="FilterResult">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Neutral" />
- <xs:enumeration value="Log" />
- <xs:enumeration value="Ignore" />
- <xs:enumeration value="LogFinal" />
- <xs:enumeration value="IgnoreFinal" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="whenContains">
- <xs:complexContent>
- <xs:extension base="Filter">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="substring" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
- <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </xs:choice>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="substring" type="xs:string">
- <xs:annotation>
- <xs:documentation>Substring to be matched.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="action" type="FilterResult">
- <xs:annotation>
- <xs:documentation>Action to be taken when filter matches.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="ignoreCase" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="whenEqual">
- <xs:complexContent>
- <xs:extension base="Filter">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
- <xs:element name="compareTo" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="ignoreCase" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="action" type="FilterResult">
- <xs:annotation>
- <xs:documentation>Action to be taken when filter matches.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="compareTo" type="xs:string">
- <xs:annotation>
- <xs:documentation>String to compare the layout to.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="whenNotContains">
- <xs:complexContent>
- <xs:extension base="Filter">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="substring" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
- <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </xs:choice>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="substring" type="xs:string">
- <xs:annotation>
- <xs:documentation>Substring to be matched.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="action" type="FilterResult">
- <xs:annotation>
- <xs:documentation>Action to be taken when filter matches.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="ignoreCase" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="whenNotEqual">
- <xs:complexContent>
- <xs:extension base="Filter">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
- <xs:element name="compareTo" minOccurs="0" maxOccurs="1" type="xs:string" />
- </xs:choice>
- <xs:attribute name="ignoreCase" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to ignore case when comparing strings.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout to be used to filter log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="action" type="FilterResult">
- <xs:annotation>
- <xs:documentation>Action to be taken when filter matches.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="compareTo" type="xs:string">
- <xs:annotation>
- <xs:documentation>String to compare the layout to.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="MSMQ">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="useXmlEncoding" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="recoverable" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="createQueueIfNotExists" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="label" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="queue" minOccurs="0" maxOccurs="1" type="Layout" />
- </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="useXmlEncoding" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to use the XML format when serializing message.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="encoding" type="xs:string">
- <xs:annotation>
- <xs:documentation>Encoding to be used when writing text to the queue.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="recoverable" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to use recoverable messages (with guaranteed delivery).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="createQueueIfNotExists" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to create the queue if it doesn't exists.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="label" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Label to associate with each message.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="queue" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Name of the queue to write to.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="AspNetBufferingWrapper">
- <xs:complexContent>
- <xs:extension base="WrapperTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="bufferGrowLimit" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="growBufferAsNeeded" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
- </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="bufferGrowLimit" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Maximum number of log events that the buffer can keep.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="growBufferAsNeeded" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether buffer should grow as needed.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="bufferSize" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Number of log events to be buffered.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="AspNetTrace">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- </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>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="AspResponse">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="addComments" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- </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="addComments" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to add <!-- --> comments around all written texts.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="ColoredConsole">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="useDefaultRowHighlightingRules" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <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="errorStream" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </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="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="errorStream" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>
- Indicates whether the error stream (stderr) should be used instead of the output stream
- (stdout).
- </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" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
- <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
- <xs:element name="foregroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
- </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" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
- <xs:element name="foregroundColor" minOccurs="0" maxOccurs="1" type="NLog.Targets.ConsoleOutputColor" />
- <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="regex" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="text" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="wholeWords" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </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="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="Debugger">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
- </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="footer" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Footer.</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:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="EventLog">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="machineName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="source" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="category" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="eventId" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="log" minOccurs="0" maxOccurs="1" type="xs:string" />
- </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>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="machineName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the machine on which Event Log service is running.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="source" type="xs:string">
- <xs:annotation>
- <xs:documentation>Value to be used as the event Source.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="category" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout that renders event Category.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="eventId" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Layout that renders event ID.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="log" type="xs:string">
- <xs:annotation>
- <xs:documentation>
- Name of the Event Log to write to. This can be System, Application or any user-defined
- name.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="FormControl">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="append" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="controlName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="formName" minOccurs="0" maxOccurs="1" type="xs:string" />
- </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>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="append" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>
- Indicates whether log text should be appended to the text of the control instead of
- overwriting it.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="controlName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of control to which NLog will log write log text.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="formName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the Form on which the control is located.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="ImpersonatingWrapper">
- <xs:complexContent>
- <xs:extension base="WrapperTargetBase">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="userName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="password" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="revertToSelf" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="impersonationLevel" minOccurs="0" maxOccurs="1"
- type="NLog.Targets.Wrappers.SecurityImpersonationLevel" />
- <xs:element name="domain" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="logOnType" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.SecurityLogOnType" />
- <xs:element name="logOnProvider" minOccurs="0" maxOccurs="1" type="NLog.Targets.Wrappers.LogOnProviderType" />
- </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="userName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Username to change context to.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="password" type="xs:string">
- <xs:annotation>
- <xs:documentation>User account password.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="revertToSelf" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>
- Indicates whether to revert to the credentials of the process instead of impersonating
- another user.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="impersonationLevel" type="NLog.Targets.Wrappers.SecurityImpersonationLevel">
- <xs:annotation>
- <xs:documentation>Required impersonation level.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="domain" type="xs:string">
- <xs:annotation>
- <xs:documentation>Windows domain name to change context to.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="logOnType" type="NLog.Targets.Wrappers.SecurityLogOnType">
- <xs:annotation>
- <xs:documentation>Logon Type.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="logOnProvider" type="NLog.Targets.Wrappers.LogOnProviderType">
- <xs:annotation>
- <xs:documentation>Type of the logon provider.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="NLog.Targets.Wrappers.SecurityImpersonationLevel">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Anonymous" />
- <xs:enumeration value="Identification" />
- <xs:enumeration value="Impersonation" />
- <xs:enumeration value="Delegation" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="NLog.Targets.Wrappers.SecurityLogOnType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Interactive" />
- <xs:enumeration value="Network" />
- <xs:enumeration value="Batch" />
- <xs:enumeration value="Service" />
- <xs:enumeration value="NetworkClearText" />
- <xs:enumeration value="NewCredentials" />
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="NLog.Targets.Wrappers.LogOnProviderType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Default" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="Mail">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="header" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="footer" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="html" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="addNewLines" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="subject" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="to" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="bcc" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="cc" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="from" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="body" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="smtpUserName" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="enableSsl" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="smtpPassword" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="smtpAuthentication" minOccurs="0" maxOccurs="1" type="NLog.Targets.SmtpAuthenticationMode" />
- <xs:element name="smtpServer" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="smtpPort" minOccurs="0" maxOccurs="1" type="xs:integer" />
- </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="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="layout" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Text to be rendered.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="html" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to send message as HTML instead of plain text.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="addNewLines" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to add new lines between log entries.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="encoding" type="xs:string">
- <xs:annotation>
- <xs:documentation>Encoding to be used for sending e-mail.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="subject" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Mail subject.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="to" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>
- Recipients' email addresses separated by semicolons (e.g.
- john@domain.com;jane@domain.com).
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="bcc" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="cc" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="from" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Sender's email address (e.g. joe@domain.com).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="body" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Mail message body (repeated for each log message send in one mail).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="smtpUserName" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Username used to connect to SMTP server (used when SmtpAuthentication is set to "basic").</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="enableSsl" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>
- Indicates whether SSL (secure sockets layer) should be used when communicating with SMTP
- server.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="smtpPassword" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>
- Password used to authenticate against SMTP server (used when SmtpAuthentication is set to
- "basic").
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="smtpAuthentication" type="NLog.Targets.SmtpAuthenticationMode">
- <xs:annotation>
- <xs:documentation>SMTP Authentication mode.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="smtpServer" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>SMTP Server to be used for sending.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="smtpPort" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Port number that SMTP Server is listening on.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="NLog.Targets.SmtpAuthenticationMode">
- <xs:restriction base="xs:string">
- <xs:enumeration value="None" />
- <xs:enumeration value="Basic" />
- <xs:enumeration value="Ntlm" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="PerfCounter">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="instanceName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="counterHelp" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="counterType" minOccurs="0" maxOccurs="1" type="System.Diagnostics.PerformanceCounterType" />
- <xs:element name="autoCreate" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="categoryName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="counterName" minOccurs="0" maxOccurs="1" type="xs:string" />
- </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="instanceName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Performance counter instance name.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="counterHelp" type="xs:string">
- <xs:annotation>
- <xs:documentation>Counter help text.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="counterType" type="System.Diagnostics.PerformanceCounterType">
- <xs:annotation>
- <xs:documentation>Performance counter type.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="autoCreate" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether performance counter should be automatically created.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="categoryName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the performance counter category.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="counterName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the performance counter.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="System.Diagnostics.PerformanceCounterType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="NumberOfItems32" />
- <xs:enumeration value="NumberOfItems64" />
- <xs:enumeration value="NumberOfItemsHEX32" />
- <xs:enumeration value="NumberOfItemsHEX64" />
- <xs:enumeration value="RateOfCountsPerSecond32" />
- <xs:enumeration value="RateOfCountsPerSecond64" />
- <xs:enumeration value="CountPerTimeInterval32" />
- <xs:enumeration value="CountPerTimeInterval64" />
- <xs:enumeration value="RawFraction" />
- <xs:enumeration value="RawBase" />
- <xs:enumeration value="AverageTimer32" />
- <xs:enumeration value="AverageBase" />
- <xs:enumeration value="AverageCount64" />
- <xs:enumeration value="SampleFraction" />
- <xs:enumeration value="SampleCounter" />
- <xs:enumeration value="SampleBase" />
- <xs:enumeration value="CounterTimer" />
- <xs:enumeration value="CounterTimerInverse" />
- <xs:enumeration value="Timer100Ns" />
- <xs:enumeration value="Timer100NsInverse" />
- <xs:enumeration value="ElapsedTime" />
- <xs:enumeration value="CounterMultiTimer" />
- <xs:enumeration value="CounterMultiTimerInverse" />
- <xs:enumeration value="CounterMultiTimer100Ns" />
- <xs:enumeration value="CounterMultiTimer100NsInverse" />
- <xs:enumeration value="CounterMultiBase" />
- <xs:enumeration value="CounterDelta32" />
- <xs:enumeration value="CounterDelta64" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="RichTextBox">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="height" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="autoScroll" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="maxLines" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="showMinimized" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="toolWindow" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="controlName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="formName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="width" minOccurs="0" maxOccurs="1" type="xs:integer" />
- <xs:element name="word-coloring" minOccurs="0" maxOccurs="unbounded"
- type="NLog.Targets.RichTextBoxWordColoringRule" />
- <xs:element name="useDefaultRowColoringRules" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="row-coloring" minOccurs="0" maxOccurs="unbounded"
- type="NLog.Targets.RichTextBoxRowColoringRule" />
- </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>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="height" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Initial height of the form with rich text box.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="autoScroll" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether scroll bar will be moved automatically to show most recent log entries.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="maxLines" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Maximum number of lines the rich text box will store (or 0 to disable this feature).</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="showMinimized" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether the created form will be initially minimized.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="toolWindow" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether the created window will be a tool window.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="controlName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of RichTextBox to which Nlog will write.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="formName" type="xs:string">
- <xs:annotation>
- <xs:documentation>
- Name of the Form on which the control is located. If there is no open form of a specified
- name than NLog will create a new one.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="width" type="xs:integer">
- <xs:annotation>
- <xs:documentation>Initial width of the form with rich text box.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="useDefaultRowColoringRules" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to use default coloring rules.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:simpleType name="System.Drawing.FontStyle">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Regular" />
- <xs:enumeration value="Bold" />
- <xs:enumeration value="Italic" />
- <xs:enumeration value="Underline" />
- <xs:enumeration value="Strikeout" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="NLog.Targets.RichTextBoxWordColoringRule">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="backgroundColor" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="fontColor" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="ignoreCase" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="regex" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="style" minOccurs="0" maxOccurs="1" type="System.Drawing.FontStyle" />
- <xs:element name="text" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="wholeWords" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </xs:choice>
- <xs:attribute name="backgroundColor" type="xs:string">
- <xs:annotation>
- <xs:documentation>
- Background color. Names are identical with KnownColor enum extended with Empty value which
- means that background color won't be changed.
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="fontColor" type="xs:string">
- <xs:annotation>
- <xs:documentation>
- Font color. Names are identical with KnownColor enum extended with Empty value which means
- that font color won't be changed.
- </xs:documentation>
- </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="style" type="System.Drawing.FontStyle">
- <xs:annotation>
- <xs:documentation>
- Font style of matched text. Possible values are the same as in FontStyle enum in
- System.Drawing.
- </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="NLog.Targets.RichTextBoxRowColoringRule">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="backgroundColor" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="condition" minOccurs="0" maxOccurs="1" type="Condition" />
- <xs:element name="fontColor" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="style" minOccurs="0" maxOccurs="1" type="System.Drawing.FontStyle" />
- </xs:choice>
- <xs:attribute name="backgroundColor" type="xs:string">
- <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 font color.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="fontColor" type="xs:string">
- <xs:annotation>
- <xs:documentation>Font color.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="style" type="System.Drawing.FontStyle">
- <xs:annotation>
- <xs:documentation>Font style of matched text.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="Trace">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
- </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>Layout used to format log messages.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="LogReceiverService">
- <xs:complexContent>
- <xs:extension base="Target">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="endpointConfigurationName" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="endpointAddress" minOccurs="0" maxOccurs="1" type="xs:string" />
- <xs:element name="useBinaryEncoding" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- <xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
- <xs:element name="clientId" minOccurs="0" maxOccurs="1" type="Layout" />
- <xs:element name="includeEventProperties" minOccurs="0" maxOccurs="1" type="xs:boolean" />
- </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="endpointConfigurationName" type="xs:string">
- <xs:annotation>
- <xs:documentation>Name of the endpoint configuration in WCF configuration file.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="endpointAddress" type="xs:string">
- <xs:annotation>
- <xs:documentation>Endpoint address.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="useBinaryEncoding" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to use binary message encoding.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="clientId" type="SimpleLayoutAttribute">
- <xs:annotation>
- <xs:documentation>Client ID.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="includeEventProperties" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>Indicates whether to include per-event properties in the payload sent to the server.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:schema>
|