Update libraries
This commit is contained in:
+219
-97
@@ -45,6 +45,11 @@
|
||||
<xs:documentation>Pass NLog internal exceptions to the application. Default value is: false.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="internalLogToTrace" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Write internal NLog messages to the the System.Diagnostics.Trace. Default value is: false</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NLogTargets">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
@@ -366,18 +371,20 @@
|
||||
<xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="onConnectionOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetConnectionsOverflowAction" />
|
||||
<xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
|
||||
<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="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="maxConnections" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
|
||||
<xs:element name="includeNdc" 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="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
</xs:choice>
|
||||
<xs:attribute name="name" type="xs:string">
|
||||
@@ -405,36 +412,41 @@
|
||||
<xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="onConnectionOverflow" type="NLog.Targets.NetworkTargetConnectionsOverflowAction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Action that should be taken if the will be more connections than .</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</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="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="maxConnections" type="xs:integer">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Maximum current connections. 0 = no maximum.</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="maxQueueSize" type="xs:integer">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Maximum queue size.</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="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>
|
||||
@@ -445,6 +457,11 @@
|
||||
<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="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>
|
||||
@@ -455,9 +472,9 @@
|
||||
<xs:documentation>AppInfo field. By default it's the friendly name of the current AppDomain.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="includeNdc" type="xs:boolean">
|
||||
<xs:attribute name="includeNLogData" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
|
||||
<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">
|
||||
@@ -468,6 +485,13 @@
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="NLog.Targets.NetworkTargetConnectionsOverflowAction">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="AllowNewConnnection" />
|
||||
<xs:enumeration value="DiscardMessage" />
|
||||
<xs:enumeration value="Block" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NLog.Targets.NetworkTargetOverflowAction">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Error" />
|
||||
@@ -592,6 +616,7 @@
|
||||
<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:element name="compileRegex" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<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:choice>
|
||||
@@ -615,6 +640,11 @@
|
||||
<xs:documentation>Indicates whether to match whole words only.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="compileRegex" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Compile the ? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="backgroundColor" type="NLog.Targets.ConsoleOutputColor">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Background color.</xs:documentation>
|
||||
@@ -683,6 +713,7 @@
|
||||
<xs:element name="dbProvider" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="dbUserName" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="keepConnection" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="useTransactions" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="installConnectionString" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="install-command" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseCommandInfo" />
|
||||
<xs:element name="uninstall-command" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.DatabaseCommandInfo" />
|
||||
@@ -735,6 +766,11 @@
|
||||
<xs:documentation>Indicates whether to keep the database connection open between the log events.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="useTransactions" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Obsolete - value will be ignored! The logging code always runs outside of transaction. Gets or sets a value indicating whether to use database transactions. Some data providers require this.</xs:documentation>
|
||||
</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>
|
||||
@@ -886,7 +922,9 @@
|
||||
<xs:element name="log" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="machineName" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="source" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.EventLogTargetOverflowAction" />
|
||||
<xs:element name="entryType" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="maxMessageLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
</xs:choice>
|
||||
<xs:attribute name="name" type="xs:string">
|
||||
<xs:annotation>
|
||||
@@ -923,14 +961,31 @@
|
||||
<xs:documentation>Value to be used as the event Source.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="onOverflow" type="NLog.Targets.EventLogTargetOverflowAction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Action to take if the message is larger than the option.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="entryType" type="SimpleLayoutAttribute">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Optional entrytype. When not set, or when not convertable to then determined by </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="maxMessageLength" type="xs:integer">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Message length limit to write to the Event Log.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="NLog.Targets.EventLogTargetOverflowAction">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Truncate" />
|
||||
<xs:enumeration value="Split" />
|
||||
<xs:enumeration value="Discard" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="FallbackGroup">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="CompoundTargetBase">
|
||||
@@ -961,31 +1016,32 @@
|
||||
<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="LineEndingMode" />
|
||||
<xs:element name="maxArchiveFiles" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="archiveNumbering" minOccurs="0" maxOccurs="1" type="NLog.Targets.ArchiveNumberingMode" />
|
||||
<xs:element name="archiveFileName" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="archiveEvery" minOccurs="0" maxOccurs="1" type="NLog.Targets.FileArchivePeriod" />
|
||||
<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="enableArchiveFileCompression" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="forceManaged" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="fileAttributes" minOccurs="0" maxOccurs="1" type="NLog.Targets.Win32FileAttributes" />
|
||||
<xs:element name="replaceFileContentsOnEachWrite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="cleanupFileName" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="fileName" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="archiveDateFormat" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="archiveOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="createDirs" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<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="openFileCacheTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="networkWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="maxLogFilenames" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="keepFileOpen" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="fileAttributes" minOccurs="0" maxOccurs="1" type="NLog.Targets.Win32FileAttributes" />
|
||||
<xs:element name="deleteOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="replaceFileContentsOnEachWrite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="concurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="concurrentWriteAttemptDelay" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="maxLogFilenames" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="networkWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="openFileCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="openFileCacheTimeout" 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="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="keepFileOpen" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
</xs:choice>
|
||||
<xs:attribute name="name" type="xs:string">
|
||||
<xs:annotation>
|
||||
@@ -1017,11 +1073,6 @@
|
||||
<xs:documentation>Line ending mode.</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="archiveNumbering" type="NLog.Targets.ArchiveNumberingMode">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Way file archives are numbered.</xs:documentation>
|
||||
@@ -1039,7 +1090,12 @@
|
||||
</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:documentation>Size in bytes above which log files will be automatically archived. Warning: combining this with isn't supported. We cannot create multiple archive files, if they should have the same name. Choose: </xs:documentation>
|
||||
</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="enableArchiveFileCompression" type="xs:boolean">
|
||||
@@ -1049,17 +1105,12 @@
|
||||
</xs:attribute>
|
||||
<xs:attribute name="forceManaged" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Gets ors set a value indicating whether a managed file stream is forced, instead of used the native implementation.</xs:documentation>
|
||||
<xs:documentation>Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="fileAttributes" type="NLog.Targets.Win32FileAttributes">
|
||||
<xs:attribute name="cleanupFileName" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>File attributes (Windows only).</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:documentation>Cleanup invalid values in a filename, e.g. slashes in a filename. If set to true, this can impact the performance of massive writes. If set to false, nothing gets written when the filename is wrong.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="fileName" type="SimpleLayoutAttribute">
|
||||
@@ -1069,7 +1120,7 @@
|
||||
</xs:attribute>
|
||||
<xs:attribute name="archiveDateFormat" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Value specifying the date format to use when archving files.</xs:documentation>
|
||||
<xs:documentation>Value specifying the date format to use when archiving files.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="archiveOldFileOnStartup" type="xs:boolean">
|
||||
@@ -1082,34 +1133,24 @@
|
||||
<xs:documentation>Indicates whether to create directories if they do not exist.</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="openFileCacheTimeout" type="xs:integer">
|
||||
<xs:attribute name="fileAttributes" type="NLog.Targets.Win32FileAttributes">
|
||||
<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:documentation>File attributes (Windows only).</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="networkWrites" type="xs:boolean">
|
||||
<xs:attribute name="deleteOldFileOnStartup" 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:documentation>Indicates whether to delete old log file on startup.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="maxLogFilenames" type="xs:integer">
|
||||
<xs:attribute name="replaceFileContentsOnEachWrite" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Maximum number of log filenames that should be stored as existing.</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: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="concurrentWrites" type="xs:boolean">
|
||||
@@ -1117,19 +1158,19 @@
|
||||
<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="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="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="autoFlush" type="xs:boolean">
|
||||
<xs:attribute name="maxLogFilenames" type="xs:integer">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Indicates whether to automatically flush the file buffers after each log message.</xs:documentation>
|
||||
<xs:documentation>Maximum number of log filenames that should be stored as existing.</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="openFileCacheSize" type="xs:integer">
|
||||
@@ -1137,11 +1178,31 @@
|
||||
<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="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="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="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="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>
|
||||
@@ -1366,9 +1427,9 @@
|
||||
<xs:element name="html" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="addNewLines" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="bcc" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="to" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="cc" 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="body" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="subject" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="from" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
@@ -1382,6 +1443,8 @@
|
||||
<xs:element name="enableSsl" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="smtpPort" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="useSystemNetMailSettings" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="pickupDirectoryLocation" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="deliveryMethod" minOccurs="0" maxOccurs="1" type="System.Net.Mail.SmtpDeliveryMethod" />
|
||||
</xs:choice>
|
||||
<xs:attribute name="name" type="xs:string">
|
||||
<xs:annotation>
|
||||
@@ -1418,9 +1481,9 @@
|
||||
<xs:documentation>Indicates whether to add new lines between log entries.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="bcc" type="SimpleLayoutAttribute">
|
||||
<xs:attribute name="cc" type="SimpleLayoutAttribute">
|
||||
<xs:annotation>
|
||||
<xs:documentation>BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
|
||||
<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="to" type="SimpleLayoutAttribute">
|
||||
@@ -1428,9 +1491,9 @@
|
||||
<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="cc" type="SimpleLayoutAttribute">
|
||||
<xs:attribute name="bcc" type="SimpleLayoutAttribute">
|
||||
<xs:annotation>
|
||||
<xs:documentation>CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).</xs:documentation>
|
||||
<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="body" type="SimpleLayoutAttribute">
|
||||
@@ -1498,6 +1561,16 @@
|
||||
<xs:documentation>Indicates whether the default Settings from System.Net.MailSettings should be used.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="pickupDirectoryLocation" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Folder where applications save mail messages to be processed by the local SMTP server.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="deliveryMethod" type="System.Net.Mail.SmtpDeliveryMethod">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Specifies how outgoing email messages will be handled.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
@@ -1508,6 +1581,13 @@
|
||||
<xs:enumeration value="Ntlm" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="System.Net.Mail.SmtpDeliveryMethod">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Network" />
|
||||
<xs:enumeration value="SpecifiedPickupDirectory" />
|
||||
<xs:enumeration value="PickupDirectoryFromIis" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="Memory">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="Target">
|
||||
@@ -1611,7 +1691,7 @@
|
||||
</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:documentation>Method name. The method must be public and static. Use the AssemblyQualifiedName , https://msdn.microsoft.com/en-us/library/system.type.assemblyqualifiedname(v=vs.110).aspx e.g.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:extension>
|
||||
@@ -1626,10 +1706,12 @@
|
||||
<xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="onConnectionOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetConnectionsOverflowAction" />
|
||||
<xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
|
||||
<xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<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="maxConnections" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
</xs:choice>
|
||||
<xs:attribute name="name" type="xs:string">
|
||||
@@ -1657,6 +1739,11 @@
|
||||
<xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="onConnectionOverflow" type="NLog.Targets.NetworkTargetConnectionsOverflowAction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Action that should be taken if the will be more connections than .</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</xs:documentation>
|
||||
@@ -1677,6 +1764,11 @@
|
||||
<xs:documentation>Indicates whether to keep connection open whenever possible.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="maxConnections" type="xs:integer">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Maximum current connections. 0 = no maximum.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="maxQueueSize" type="xs:integer">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Maximum queue size.</xs:documentation>
|
||||
@@ -1694,18 +1786,20 @@
|
||||
<xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="maxMessageSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="newLine" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="onConnectionOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetConnectionsOverflowAction" />
|
||||
<xs:element name="onOverflow" minOccurs="0" maxOccurs="1" type="NLog.Targets.NetworkTargetOverflowAction" />
|
||||
<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="connectionCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="maxConnections" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="address" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="maxQueueSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
|
||||
<xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="includeSourceInfo" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="ndcItemSeparator" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="parameter" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.NLogViewerParameterInfo" />
|
||||
<xs:element name="includeNdc" 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="includeNdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="includeNLogData" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<xs:element name="includeMdc" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
</xs:choice>
|
||||
<xs:attribute name="name" type="xs:string">
|
||||
@@ -1733,36 +1827,41 @@
|
||||
<xs:documentation>Indicates whether to append newline at the end of log message.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="onConnectionOverflow" type="NLog.Targets.NetworkTargetConnectionsOverflowAction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Action that should be taken if the will be more connections than .</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="onOverflow" type="NLog.Targets.NetworkTargetOverflowAction">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Action that should be taken if the message is larger than maxMessageSize.</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="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="maxConnections" type="xs:integer">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Maximum current connections. 0 = no maximum.</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="maxQueueSize" type="xs:integer">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Maximum queue size.</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="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>
|
||||
@@ -1773,6 +1872,11 @@
|
||||
<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="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>
|
||||
@@ -1783,9 +1887,9 @@
|
||||
<xs:documentation>AppInfo field. By default it's the friendly name of the current AppDomain.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="includeNdc" type="xs:boolean">
|
||||
<xs:attribute name="includeNLogData" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Indicates whether to include stack contents.</xs:documentation>
|
||||
<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">
|
||||
@@ -1852,6 +1956,7 @@
|
||||
<xs:element name="counterHelp" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="counterName" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
<xs:element name="counterType" minOccurs="0" maxOccurs="1" type="System.Diagnostics.PerformanceCounterType" />
|
||||
<xs:element name="incrementValue" minOccurs="0" maxOccurs="1" type="Layout" />
|
||||
<xs:element name="instanceName" minOccurs="0" maxOccurs="1" type="xs:string" />
|
||||
</xs:choice>
|
||||
<xs:attribute name="name" type="xs:string">
|
||||
@@ -1884,6 +1989,11 @@
|
||||
<xs:documentation>Performance counter type.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="incrementValue" type="SimpleLayoutAttribute">
|
||||
<xs:annotation>
|
||||
<xs:documentation>The value by which to increment the counter.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="instanceName" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Performance counter instance name.</xs:documentation>
|
||||
@@ -2224,15 +2334,27 @@
|
||||
<xs:extension base="Layout">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="attribute" minOccurs="0" maxOccurs="unbounded" type="NLog.Layouts.JsonAttribute" />
|
||||
<xs:element name="suppressSpaces" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
</xs:choice>
|
||||
<xs:attribute name="suppressSpaces" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Option to suppress the extra spaces in the output json</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NLog.Layouts.JsonAttribute">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="encode" minOccurs="0" maxOccurs="1" type="xs:boolean" />
|
||||
<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="encode" type="xs:boolean">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Determines wether or not this attribute will be Json encoded.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="layout" type="SimpleLayoutAttribute">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Layout that will be rendered as the attribute's value.</xs:documentation>
|
||||
|
||||
Reference in New Issue
Block a user