diff --git a/app/BrainpoolXmlParser.sln b/app/BrainpoolXmlParser.sln
deleted file mode 100644
index 76ebbac..0000000
--- a/app/BrainpoolXmlParser.sln
+++ /dev/null
@@ -1,22 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2013
-VisualStudioVersion = 12.0.21005.1
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "BrainpoolXmlParser", "BrainpoolXmlParser\BrainpoolXmlParser.vbproj", "{4CE2A124-9683-4949-BEF5-8594D022BE8F}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {4CE2A124-9683-4949-BEF5-8594D022BE8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4CE2A124-9683-4949-BEF5-8594D022BE8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4CE2A124-9683-4949-BEF5-8594D022BE8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4CE2A124-9683-4949-BEF5-8594D022BE8F}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/app/BrainpoolXmlParser/My Project/Application.Designer.vb b/app/BrainpoolXmlParser/My Project/Application.Designer.vb
deleted file mode 100644
index 9faf70b..0000000
--- a/app/BrainpoolXmlParser/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.34014
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/app/BrainpoolXmlParser/My Project/Resources.Designer.vb b/app/BrainpoolXmlParser/My Project/Resources.Designer.vb
deleted file mode 100644
index ae795b9..0000000
--- a/app/BrainpoolXmlParser/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,62 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.34014
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My.Resources
-
- 'This class was auto-generated by the StronglyTypedResourceBuilder
- 'class via a tool like ResGen or Visual Studio.
- 'To add or remove a member, edit your .ResX file then rerun ResGen
- 'with the /str option, or rebuild your VS project.
- '''
- ''' A strongly-typed resource class, for looking up localized strings, etc.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Returns the cached ResourceManager instance used by this class.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("BrainpoolXmlParser.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Overrides the current thread's CurrentUICulture property for all
- ''' resource lookups using this strongly typed resource class.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set(ByVal value As Global.System.Globalization.CultureInfo)
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/app/BrainpoolXmlParser/My Project/Settings.Designer.vb b/app/BrainpoolXmlParser/My Project/Settings.Designer.vb
deleted file mode 100644
index 5407585..0000000
--- a/app/BrainpoolXmlParser/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.34014
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
-
-#Region "My.Settings Auto-Save Functionality"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.BrainpoolXmlParser.My.MySettings
- Get
- Return Global.BrainpoolXmlParser.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/app/BrainpoolXmlParser/packages.config b/app/BrainpoolXmlParser/packages.config
deleted file mode 100644
index b50a379..0000000
--- a/app/BrainpoolXmlParser/packages.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/Config.vb b/app/DpmaXmlParser/Config.vb
similarity index 61%
rename from app/BrainpoolXmlParser/Config.vb
rename to app/DpmaXmlParser/Config.vb
index 4cf8006..1400e94 100644
--- a/app/BrainpoolXmlParser/Config.vb
+++ b/app/DpmaXmlParser/Config.vb
@@ -10,13 +10,16 @@ Public Class AppConfig
Dim appsettings As AppSettingsSection = appconfig.AppSettings
Dim settings As KeyValueConfigurationCollection = appsettings.Settings
- Dim username As String = settings.Item("dpma_username").Value
- Dim password As String = settings.Item("dpma_password").Value
- Dim query As String = settings.Item("dpma_query").Value
- Dim connstring As String = settings.Item("sql_connstring").Value
- Dim database As String = settings.Item("sql_database").Value
+ Dim values As New ConfigValues()
- Return New ConfigValues(username, password, query, connstring, database)
+ values.username = settings.Item("dpma_username").Value
+ values.password = settings.Item("dpma_password").Value
+ values.query = settings.Item("dpma_query").Value
+ values.queryIgnore = settings.Item("dpma_query_ignore").Value
+ values.connstring = settings.Item("sql_connstring").Value
+ values.database = settings.Item("sql_database").Value
+
+ Return values
End Function
Public Shared Function GetVersion()
@@ -32,14 +35,10 @@ Public Class ConfigValues
Public username As String
Public password As String
Public query As String
+ Public queryIgnore As String
Public connstring As String
Public database As String
- Public Sub New(_username, _password, _query, _connstring, _database)
- username = _username
- password = _password
- query = _query
- connstring = _connstring
- database = _database
+ Public Sub New()
End Sub
End Class
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/DB.vb b/app/DpmaXmlParser/DB.vb
similarity index 100%
rename from app/BrainpoolXmlParser/DB.vb
rename to app/DpmaXmlParser/DB.vb
diff --git a/app/BrainpoolXmlParser/DPMAConnect.vb b/app/DpmaXmlParser/DPMAConnect.vb
similarity index 97%
rename from app/BrainpoolXmlParser/DPMAConnect.vb
rename to app/DpmaXmlParser/DPMAConnect.vb
index aad9adc..bc9329c 100644
--- a/app/BrainpoolXmlParser/DPMAConnect.vb
+++ b/app/DpmaXmlParser/DPMAConnect.vb
@@ -1,4 +1,4 @@
-Imports BrainpoolXmlParser.DPMA.Marke
+Imports DpmaXmlParser.DPMA.Marke
Imports System.Xml
Public Class DPMAConnect
diff --git a/app/BrainpoolXmlParser/BrainpoolXmlParser.exe.config b/app/DpmaXmlParser/DpmaXmlParser.exe.config
similarity index 73%
rename from app/BrainpoolXmlParser/BrainpoolXmlParser.exe.config
rename to app/DpmaXmlParser/DpmaXmlParser.exe.config
index 1c5d5b0..337ede8 100644
--- a/app/BrainpoolXmlParser/BrainpoolXmlParser.exe.config
+++ b/app/DpmaXmlParser/DpmaXmlParser.exe.config
@@ -21,7 +21,8 @@
-
+
+
diff --git a/app/BrainpoolXmlParser/BrainpoolXmlParser.vbproj b/app/DpmaXmlParser/DpmaXmlParser.vbproj
similarity index 81%
rename from app/BrainpoolXmlParser/BrainpoolXmlParser.vbproj
rename to app/DpmaXmlParser/DpmaXmlParser.vbproj
index fff9dd9..a7f1523 100644
--- a/app/BrainpoolXmlParser/BrainpoolXmlParser.vbproj
+++ b/app/DpmaXmlParser/DpmaXmlParser.vbproj
@@ -6,9 +6,9 @@
AnyCPU
{4CE2A124-9683-4949-BEF5-8594D022BE8F}
Exe
- BrainpoolXmlParser.Main
- BrainpoolXmlParser
- BrainpoolXmlParser
+ DpmaXmlParser.Main
+ DpmaXmlParser
+ DpmaXmlParser
512
Console
v4.5
@@ -35,7 +35,7 @@
true
true
bin\Debug\
- BrainpoolXmlParser.xml
+ DpmaXmlParser.xml
42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
@@ -45,7 +45,7 @@
true
true
bin\Release\
- BrainpoolXmlParser.xml
+ DpmaXmlParser.xml
42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
@@ -60,9 +60,13 @@
On
+
+ ExtendedStoredProcedure_8284.ico
+
-
- ..\..\3rdparty\NLog.4.1.2\lib\net45\NLog.dll
+
+ False
+ ..\packages\NLog.4.2.3\lib\net45\NLog.dll
@@ -124,6 +128,10 @@
+
+ Designer
+ Always
+
MyApplicationCodeGenerator
Application.Designer.vb
@@ -133,10 +141,11 @@
My
Settings.Designer.vb
-
+
Always
Designer
+
Always
@@ -146,30 +155,6 @@
Designer
-
- Reference.svcmap
-
-
- Reference.svcmap
-
-
- Reference.svcmap
-
-
- Reference.svcmap
-
-
- Reference.svcmap
-
-
- Reference.svcmap
-
-
- Reference.svcmap
-
-
- Reference.svcmap
-
@@ -185,6 +170,30 @@
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
WCF Proxy Generator
Reference.vb
diff --git a/app/BrainpoolXmlParser/Main.vb b/app/DpmaXmlParser/Main.vb
similarity index 99%
rename from app/BrainpoolXmlParser/Main.vb
rename to app/DpmaXmlParser/Main.vb
index 346fbd3..fa5662c 100644
--- a/app/BrainpoolXmlParser/Main.vb
+++ b/app/DpmaXmlParser/Main.vb
@@ -95,6 +95,8 @@ Module Main
For Each m As Mark In marks
+ Console.WriteLine("Mark Verbal Element: {1}", m.MarkVerbalElementText)
+
Dim mainControlId As Integer
' Das eindeutige Control suchen
diff --git a/app/BrainpoolXmlParser/Mark.vb b/app/DpmaXmlParser/Mark.vb
similarity index 100%
rename from app/BrainpoolXmlParser/Mark.vb
rename to app/DpmaXmlParser/Mark.vb
diff --git a/app/BrainpoolXmlParser/My Project/Application.myapp b/app/DpmaXmlParser/My Project/Application.myapp
similarity index 100%
rename from app/BrainpoolXmlParser/My Project/Application.myapp
rename to app/DpmaXmlParser/My Project/Application.myapp
diff --git a/app/BrainpoolXmlParser/My Project/AssemblyInfo.vb b/app/DpmaXmlParser/My Project/AssemblyInfo.vb
similarity index 77%
rename from app/BrainpoolXmlParser/My Project/AssemblyInfo.vb
rename to app/DpmaXmlParser/My Project/AssemblyInfo.vb
index 3981740..d2b3110 100644
--- a/app/BrainpoolXmlParser/My Project/AssemblyInfo.vb
+++ b/app/DpmaXmlParser/My Project/AssemblyInfo.vb
@@ -8,11 +8,11 @@ Imports System.Runtime.InteropServices
' Die Werte der Assemblyattribute überprüfen
-
+
-
-
-
+
+
+
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
'
-
-
+
+
diff --git a/app/BrainpoolXmlParser/My Project/Resources.resx b/app/DpmaXmlParser/My Project/Resources.resx
similarity index 100%
rename from app/BrainpoolXmlParser/My Project/Resources.resx
rename to app/DpmaXmlParser/My Project/Resources.resx
diff --git a/app/DpmaXmlParser/My Project/Settings.Designer.vb b/app/DpmaXmlParser/My Project/Settings.Designer.vb
new file mode 100644
index 0000000..77701bb
--- /dev/null
+++ b/app/DpmaXmlParser/My Project/Settings.Designer.vb
@@ -0,0 +1,73 @@
+'------------------------------------------------------------------------------
+'
+' Dieser Code wurde von einem Tool generiert.
+' Laufzeitversion:4.0.30319.34209
+'
+' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+' der Code erneut generiert wird.
+'
+'------------------------------------------------------------------------------
+
+Option Strict On
+Option Explicit On
+
+
+Namespace My
+
+ _
+ Partial Friend NotInheritable Class MySettings
+ Inherits Global.System.Configuration.ApplicationSettingsBase
+
+ Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
+
+#Region "Funktion zum automatischen Speichern von My.Settings"
+#If _MyType = "WindowsForms" Then
+ Private Shared addedHandler As Boolean
+
+ Private Shared addedHandlerLockObject As New Object
+
+ _
+ Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
+ If My.Application.SaveMySettingsOnExit Then
+ My.Settings.Save()
+ End If
+ End Sub
+#End If
+#End Region
+
+ Public Shared ReadOnly Property [Default]() As MySettings
+ Get
+
+#If _MyType = "WindowsForms" Then
+ If Not addedHandler Then
+ SyncLock addedHandlerLockObject
+ If Not addedHandler Then
+ AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
+ addedHandler = True
+ End If
+ End SyncLock
+ End If
+#End If
+ Return defaultInstance
+ End Get
+ End Property
+ End Class
+End Namespace
+
+Namespace My
+
+ _
+ Friend Module MySettingsProperty
+
+ _
+ Friend ReadOnly Property Settings() As Global.DpmaXmlParser.My.MySettings
+ Get
+ Return Global.DpmaXmlParser.My.MySettings.Default
+ End Get
+ End Property
+ End Module
+End Namespace
diff --git a/app/BrainpoolXmlParser/My Project/Settings.settings b/app/DpmaXmlParser/My Project/Settings.settings
similarity index 100%
rename from app/BrainpoolXmlParser/My Project/Settings.settings
rename to app/DpmaXmlParser/My Project/Settings.settings
diff --git a/app/BrainpoolXmlParser/NLog.config b/app/DpmaXmlParser/NLog.config
similarity index 100%
rename from app/BrainpoolXmlParser/NLog.config
rename to app/DpmaXmlParser/NLog.config
diff --git a/app/BrainpoolXmlParser/NLog.xsd b/app/DpmaXmlParser/NLog.xsd
similarity index 95%
rename from app/BrainpoolXmlParser/NLog.xsd
rename to app/DpmaXmlParser/NLog.xsd
index 85019de..a719741 100644
--- a/app/BrainpoolXmlParser/NLog.xsd
+++ b/app/DpmaXmlParser/NLog.xsd
@@ -366,18 +366,20 @@
+
-
-
+
+
+
-
+
-
+
@@ -405,36 +407,41 @@
Indicates whether to append newline at the end of log message.
+
+
+ Action that should be taken if the will be more connections than .
+
+
Action that should be taken if the message is larger than maxMessageSize.
-
-
- Size of the connection cache (number of connections which are kept alive).
-
-
-
-
- Network address.
-
-
Indicates whether to keep connection open whenever possible.
+
+
+ Size of the connection cache (number of connections which are kept alive).
+
+
+
+
+ Maximum current connections. 0 = no maximum.
+
+
+
+
+ Network address.
+
+
Maximum queue size.
-
-
- Indicates whether to include NLog-specific extensions to log4j schema.
-
-
Indicates whether to include source info (file name and line number) in the information sent over the network.
@@ -445,6 +452,11 @@
NDC item separator.
+
+
+ Indicates whether to include stack contents.
+
+
Indicates whether to include call site (class and method name) in the information sent over the network.
@@ -455,9 +467,9 @@
AppInfo field. By default it's the friendly name of the current AppDomain.
-
+
- Indicates whether to include stack contents.
+ Indicates whether to include NLog-specific extensions to log4j schema.
@@ -468,6 +480,13 @@
+
+
+
+
+
+
+
@@ -683,6 +702,7 @@
+
@@ -735,6 +755,11 @@
Indicates whether to keep the database connection open between the log events.
+
+
+ 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.
+
+
Connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.
@@ -961,31 +986,32 @@
-
+
-
-
+
-
-
-
-
-
+
+
+
-
-
+
+
+
+
+
+
@@ -1017,11 +1043,6 @@
Line ending mode.
-
-
- Maximum number of archive files that should be kept.
-
-
Way file archives are numbered.
@@ -1039,7 +1060,12 @@
- Size in bytes above which log files will be automatically archived.
+ 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:
+
+
+
+
+ Maximum number of archive files that should be kept.
@@ -1049,17 +1075,12 @@
- Gets ors set a value indicating whether a managed file stream is forced, instead of used the native implementation.
+ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
-
+
- File attributes (Windows only).
-
-
-
-
- Indicates whether to replace file contents on each write instead of appending log message at the end.
+ 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.
@@ -1082,34 +1103,24 @@
Indicates whether to create directories if they do not exist.
-
-
- Indicates whether to delete old log file on startup.
-
-
Indicates whether to enable log file(s) to be deleted.
-
+
- 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.
+ File attributes (Windows only).
-
+
- Indicates whether concurrent writes to the log file by multiple processes on different network hosts.
+ Indicates whether to delete old log file on startup.
-
+
- Maximum number of log filenames that should be stored as existing.
-
-
-
-
- Indicates whether to keep log file open instead of opening and closing it on each logging event.
+ Indicates whether to replace file contents on each write instead of appending log message at the end.
@@ -1117,19 +1128,19 @@
Indicates whether concurrent writes to the log file by multiple processes on the same host.
-
-
- Number of times the write is appended on the file before NLog discards the log message.
-
-
Delay in milliseconds to wait before attempting to write to the file again.
-
+
- Indicates whether to automatically flush the file buffers after each log message.
+ Maximum number of log filenames that should be stored as existing.
+
+
+
+
+ Indicates whether concurrent writes to the log file by multiple processes on different network hosts.
@@ -1137,11 +1148,31 @@
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).
+
+
+ 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.
+
+
Log file buffer size in bytes.
+
+
+ Indicates whether to automatically flush the file buffers after each log message.
+
+
+
+
+ Number of times the write is appended on the file before NLog discards the log message.
+
+
+
+
+ Indicates whether to keep log file open instead of opening and closing it on each logging event.
+
+
@@ -1366,9 +1397,9 @@
-
-
+
+
@@ -1382,6 +1413,8 @@
+
+
@@ -1418,9 +1451,9 @@
Indicates whether to add new lines between log entries.
-
+
- BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
+ CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
@@ -1428,9 +1461,9 @@
Recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
+
- CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
+ BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
@@ -1498,6 +1531,16 @@
Indicates whether the default Settings from System.Net.MailSettings should be used.
+
+
+ Folder where applications save mail messages to be processed by the local SMTP server.
+
+
+
+
+ Specifies how outgoing email messages will be handled.
+
+
@@ -1508,6 +1551,13 @@
+
+
+
+
+
+
+
@@ -1626,10 +1676,12 @@
+
+
@@ -1657,6 +1709,11 @@
Indicates whether to append newline at the end of log message.
+
+
+ Action that should be taken if the will be more connections than .
+
+
Action that should be taken if the message is larger than maxMessageSize.
@@ -1677,6 +1734,11 @@
Indicates whether to keep connection open whenever possible.
+
+
+ Maximum current connections. 0 = no maximum.
+
+
Maximum queue size.
@@ -1694,18 +1756,20 @@
+
-
-
+
+
+
-
+
-
+
@@ -1733,36 +1797,41 @@
Indicates whether to append newline at the end of log message.
+
+
+ Action that should be taken if the will be more connections than .
+
+
Action that should be taken if the message is larger than maxMessageSize.
-
-
- Size of the connection cache (number of connections which are kept alive).
-
-
-
-
- Network address.
-
-
Indicates whether to keep connection open whenever possible.
+
+
+ Size of the connection cache (number of connections which are kept alive).
+
+
+
+
+ Maximum current connections. 0 = no maximum.
+
+
+
+
+ Network address.
+
+
Maximum queue size.
-
-
- Indicates whether to include NLog-specific extensions to log4j schema.
-
-
Indicates whether to include source info (file name and line number) in the information sent over the network.
@@ -1773,6 +1842,11 @@
NDC item separator.
+
+
+ Indicates whether to include stack contents.
+
+
Indicates whether to include call site (class and method name) in the information sent over the network.
@@ -1783,9 +1857,9 @@
AppInfo field. By default it's the friendly name of the current AppDomain.
-
+
- Indicates whether to include stack contents.
+ Indicates whether to include NLog-specific extensions to log4j schema.
@@ -1852,6 +1926,7 @@
+
@@ -1884,6 +1959,11 @@
Performance counter type.
+
+
+ The value by which to increment the counter.
+
+
Performance counter instance name.
@@ -2224,15 +2304,27 @@
+
+
+
+ Option to suppress the extra spaces in the output json
+
+
+
+
+
+ Determines wether or not this attribute will be Json encoded.
+
+
Layout that will be rendered as the attribute's value.
diff --git a/app/BrainpoolXmlParser/Parser.vb b/app/DpmaXmlParser/Parser.vb
similarity index 100%
rename from app/BrainpoolXmlParser/Parser.vb
rename to app/DpmaXmlParser/Parser.vb
diff --git a/app/BrainpoolXmlParser/Querybuilder.vb b/app/DpmaXmlParser/Querybuilder.vb
similarity index 67%
rename from app/BrainpoolXmlParser/Querybuilder.vb
rename to app/DpmaXmlParser/Querybuilder.vb
index 2fc2c8f..b1f8fc4 100644
--- a/app/BrainpoolXmlParser/Querybuilder.vb
+++ b/app/DpmaXmlParser/Querybuilder.vb
@@ -3,28 +3,34 @@
Public Shared Function Build(config As ConfigValues, db As DB)
Dim mainQuery As String
Dim companies As List(Of String)
+ Dim stringsToIgnore As New List(Of String)
' searchvalues ist entweder eine SQL Abfrage oder eine Kommagetrennte Liste
If config.query.ToUpper.StartsWith("SELECT") Then
companies = GetLiveQueryResult(config.query, db)
Else
- companies = New List(Of String)(config.query.Split(","))
+ companies = New List(Of String)(config.query.Split(";"))
+ End If
+
+ If config.queryIgnore.Count > 0 And config.queryIgnore.Contains(";") Then
+ stringsToIgnore = New List(Of String)(config.queryIgnore.Split(";"))
End If
mainQuery = BuildMainQuery(companies)
+ mainQuery &= BuildIgnoreQuery(stringsToIgnore)
Return mainQuery
End Function
Public Shared Function BuildMainQuery(companies As List(Of String)) As String
- Dim query As String = ""
+ Dim query As String = String.Empty
For Each company As String In companies
Dim querypart As String = String.Format("(INH=""{0}"" OR ANM=""{0}"")", company.Trim())
query &= querypart
- ' Bei alles bis auf das letzte Unternehmen einen OR Operator einfügen
+ ' Bei allen bis auf das letzte Unternehmen einen OR Operator einfügen
If (companies.IndexOf(company) + 1) < companies.Count Then
query &= " OR "
End If
@@ -33,6 +39,18 @@
Return query
End Function
+ Public Shared Function BuildIgnoreQuery(stringsToIgnore As List(Of String))
+ Dim query As String = String.Empty
+
+ For Each stringToIgnore In stringsToIgnore
+ Dim querypart As String = String.Format(" NOT (INH=""{0}"" OR ANM=""{0}"")", stringToIgnore)
+
+ query &= querypart
+ Next
+
+ Return query
+ End Function
+
Public Shared Function GetLiveQueryResult(query As String, db As DB) As List(Of String)
Dim result As New List(Of String)
Dim SQL As String = query
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/DPMAregisterMarkeService.wsdl b/app/DpmaXmlParser/Service References/DPMA.Marke/DPMAregisterMarkeService.wsdl
similarity index 100%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/DPMAregisterMarkeService.wsdl
rename to app/DpmaXmlParser/Service References/DPMA.Marke/DPMAregisterMarkeService.wsdl
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterFullImageBySt13AkzResponse.datasource b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterFullImageBySt13AkzResponse.datasource
similarity index 68%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterFullImageBySt13AkzResponse.datasource
rename to app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterFullImageBySt13AkzResponse.datasource
index 1e7604c..be09985 100644
--- a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterFullImageBySt13AkzResponse.datasource
+++ b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterFullImageBySt13AkzResponse.datasource
@@ -6,5 +6,5 @@
cause the file to be unrecognizable by the program.
-->
- BrainpoolXmlParser.DPMA.Marke.getRegisterFullImageBySt13AkzResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ DpmaXmlParser.DPMA.Marke.getRegisterFullImageBySt13AkzResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterFullImageResponse.datasource b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterFullImageResponse.datasource
similarity index 68%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterFullImageResponse.datasource
rename to app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterFullImageResponse.datasource
index b065678..26ace78 100644
--- a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterFullImageResponse.datasource
+++ b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterFullImageResponse.datasource
@@ -6,5 +6,5 @@
cause the file to be unrecognizable by the program.
-->
- BrainpoolXmlParser.DPMA.Marke.getRegisterFullImageResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ DpmaXmlParser.DPMA.Marke.getRegisterFullImageResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterInfoBySt13AkzResponse.datasource b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterInfoBySt13AkzResponse.datasource
similarity index 68%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterInfoBySt13AkzResponse.datasource
rename to app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterInfoBySt13AkzResponse.datasource
index 740ff2e..e9530a6 100644
--- a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterInfoBySt13AkzResponse.datasource
+++ b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterInfoBySt13AkzResponse.datasource
@@ -6,5 +6,5 @@
cause the file to be unrecognizable by the program.
-->
- BrainpoolXmlParser.DPMA.Marke.getRegisterInfoBySt13AkzResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ DpmaXmlParser.DPMA.Marke.getRegisterInfoBySt13AkzResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterInfoResponse.datasource b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterInfoResponse.datasource
similarity index 69%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterInfoResponse.datasource
rename to app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterInfoResponse.datasource
index 0ea7e40..a37cbd2 100644
--- a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterInfoResponse.datasource
+++ b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterInfoResponse.datasource
@@ -6,5 +6,5 @@
cause the file to be unrecognizable by the program.
-->
- BrainpoolXmlParser.DPMA.Marke.getRegisterInfoResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ DpmaXmlParser.DPMA.Marke.getRegisterInfoResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterThumbnailImageBySt13AkzResponse.datasource b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterThumbnailImageBySt13AkzResponse.datasource
similarity index 68%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterThumbnailImageBySt13AkzResponse.datasource
rename to app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterThumbnailImageBySt13AkzResponse.datasource
index 088751f..0936ff0 100644
--- a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterThumbnailImageBySt13AkzResponse.datasource
+++ b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterThumbnailImageBySt13AkzResponse.datasource
@@ -6,5 +6,5 @@
cause the file to be unrecognizable by the program.
-->
- BrainpoolXmlParser.DPMA.Marke.getRegisterThumbnailImageBySt13AkzResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ DpmaXmlParser.DPMA.Marke.getRegisterThumbnailImageBySt13AkzResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterThumbnailImageResponse.datasource b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterThumbnailImageResponse.datasource
similarity index 68%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterThumbnailImageResponse.datasource
rename to app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterThumbnailImageResponse.datasource
index 753f5a2..6e60e2d 100644
--- a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.getRegisterThumbnailImageResponse.datasource
+++ b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.getRegisterThumbnailImageResponse.datasource
@@ -6,5 +6,5 @@
cause the file to be unrecognizable by the program.
-->
- BrainpoolXmlParser.DPMA.Marke.getRegisterThumbnailImageResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ DpmaXmlParser.DPMA.Marke.getRegisterThumbnailImageResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.searchResponse.datasource b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.searchResponse.datasource
similarity index 69%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.searchResponse.datasource
rename to app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.searchResponse.datasource
index 7b29d66..4992239 100644
--- a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.searchResponse.datasource
+++ b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.searchResponse.datasource
@@ -6,5 +6,5 @@
cause the file to be unrecognizable by the program.
-->
- BrainpoolXmlParser.DPMA.Marke.searchResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ DpmaXmlParser.DPMA.Marke.searchResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.versionResponse.datasource b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.versionResponse.datasource
similarity index 69%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.versionResponse.datasource
rename to app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.versionResponse.datasource
index 3b8b1c4..833fbfa 100644
--- a/app/BrainpoolXmlParser/Service References/DPMA.Marke/BrainpoolXmlParser.DPMA.Marke.versionResponse.datasource
+++ b/app/DpmaXmlParser/Service References/DPMA.Marke/DpmaXmlParser.DPMA.Marke.versionResponse.datasource
@@ -6,5 +6,5 @@
cause the file to be unrecognizable by the program.
-->
- BrainpoolXmlParser.DPMA.Marke.versionResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+ DpmaXmlParser.DPMA.Marke.versionResponse, Service References.DPMA.Marke.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/Reference.svcmap b/app/DpmaXmlParser/Service References/DPMA.Marke/Reference.svcmap
similarity index 100%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/Reference.svcmap
rename to app/DpmaXmlParser/Service References/DPMA.Marke/Reference.svcmap
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/Reference.vb b/app/DpmaXmlParser/Service References/DPMA.Marke/Reference.vb
similarity index 99%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/Reference.vb
rename to app/DpmaXmlParser/Service References/DPMA.Marke/Reference.vb
index 3db2793..15c86c4 100644
--- a/app/BrainpoolXmlParser/Service References/DPMA.Marke/Reference.vb
+++ b/app/DpmaXmlParser/Service References/DPMA.Marke/Reference.vb
@@ -1,7 +1,7 @@
'------------------------------------------------------------------------------
'
' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.34014
+' Laufzeitversion:4.0.30319.34209
'
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
' der Code erneut generiert wird.
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/configuration.svcinfo b/app/DpmaXmlParser/Service References/DPMA.Marke/configuration.svcinfo
similarity index 100%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/configuration.svcinfo
rename to app/DpmaXmlParser/Service References/DPMA.Marke/configuration.svcinfo
diff --git a/app/BrainpoolXmlParser/Service References/DPMA.Marke/configuration91.svcinfo b/app/DpmaXmlParser/Service References/DPMA.Marke/configuration91.svcinfo
similarity index 100%
rename from app/BrainpoolXmlParser/Service References/DPMA.Marke/configuration91.svcinfo
rename to app/DpmaXmlParser/Service References/DPMA.Marke/configuration91.svcinfo
diff --git a/app/DpmaXmlParser/packages.config b/app/DpmaXmlParser/packages.config
new file mode 100644
index 0000000..4afab05
--- /dev/null
+++ b/app/DpmaXmlParser/packages.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/packages/NLog.4.1.2/NLog.4.1.2.nupkg b/app/packages/NLog.4.1.2/NLog.4.1.2.nupkg
deleted file mode 100644
index b57bdcb..0000000
Binary files a/app/packages/NLog.4.1.2/NLog.4.1.2.nupkg and /dev/null differ
diff --git a/app/packages/NLog.4.1.2/lib/net35/NLog.dll b/app/packages/NLog.4.1.2/lib/net35/NLog.dll
deleted file mode 100644
index b82b85e..0000000
Binary files a/app/packages/NLog.4.1.2/lib/net35/NLog.dll and /dev/null differ
diff --git a/app/packages/NLog.4.1.2/lib/net40/NLog.dll b/app/packages/NLog.4.1.2/lib/net40/NLog.dll
deleted file mode 100644
index 336dc00..0000000
Binary files a/app/packages/NLog.4.1.2/lib/net40/NLog.dll and /dev/null differ
diff --git a/app/packages/NLog.4.1.2/lib/net45/NLog.dll b/app/packages/NLog.4.1.2/lib/net45/NLog.dll
deleted file mode 100644
index 5d69327..0000000
Binary files a/app/packages/NLog.4.1.2/lib/net45/NLog.dll and /dev/null differ
diff --git a/app/packages/NLog.4.1.2/lib/sl4/NLog.dll b/app/packages/NLog.4.1.2/lib/sl4/NLog.dll
deleted file mode 100644
index 7ba330f..0000000
Binary files a/app/packages/NLog.4.1.2/lib/sl4/NLog.dll and /dev/null differ
diff --git a/app/packages/NLog.4.1.2/lib/sl5/NLog.dll b/app/packages/NLog.4.1.2/lib/sl5/NLog.dll
deleted file mode 100644
index 639e5f3..0000000
Binary files a/app/packages/NLog.4.1.2/lib/sl5/NLog.dll and /dev/null differ
diff --git a/app/packages/NLog.4.1.2/NLog.4.1.2.nuspec b/app/packages/NLog.4.2.3/NLog.4.2.3.nuspec
similarity index 62%
rename from app/packages/NLog.4.1.2/NLog.4.1.2.nuspec
rename to app/packages/NLog.4.2.3/NLog.4.2.3.nuspec
index a13878d..c2a81fc 100644
--- a/app/packages/NLog.4.1.2/NLog.4.1.2.nuspec
+++ b/app/packages/NLog.4.2.3/NLog.4.2.3.nuspec
@@ -2,7 +2,7 @@
NLog
- 4.1.2
+ 4.2.3
NLog
Kim Christensen, Julian Verdurmen
Kim Christensen, Julian Verdurmen
@@ -14,15 +14,14 @@
This package installs NLog.dll with includes core logging functionality.
For your main project also need to install "NLog Configuration" package.
NLog - Advanced .NET and Silverlight Logging
- Features:
-- Fluent API: Added `.Properties` for easier adding of multiple (event)properties.
+ Performance improvements (CPU & Memory) for the FileTarget.
-Bug fixes:
-- `AllEventPropertiesLayoutRenderer` was not `ThreadAgnostic`.
-- Possible "Collection was modified" exception with `ReconfigExistingLoggers`.
+Changes:
-Other:
-- AssemblyFileVersion was wrong and could lead to issues with installers.
+- Improve file writing when file name has fixed name: no layout renderer in file name. 10 secs instead of 34 sec for 10 million. Sync writing with keepFileOpen="true", AutoFlush="false" and ConcurrentWrites="false".
+- Improved `CleanupFileName` by @epignosisx (https://github.com/NLog/NLog/pull/1063)
+- Changes the performance of GDC toString
+- Added option `CleanupFileName` on filetarget for faster writing when using dynamic (=non-fixed) file name. Default `true` (=backwards-compatible)
en-US
logging log tracing logfiles NLog
diff --git a/app/packages/NLog.4.2.3/lib/net35/NLog.dll b/app/packages/NLog.4.2.3/lib/net35/NLog.dll
new file mode 100644
index 0000000..cd09791
Binary files /dev/null and b/app/packages/NLog.4.2.3/lib/net35/NLog.dll differ
diff --git a/app/packages/NLog.4.1.2/lib/net45/NLog.xml b/app/packages/NLog.4.2.3/lib/net35/NLog.xml
similarity index 96%
rename from app/packages/NLog.4.1.2/lib/net45/NLog.xml
rename to app/packages/NLog.4.2.3/lib/net35/NLog.xml
index 76e4ca8..6487025 100644
--- a/app/packages/NLog.4.1.2/lib/net45/NLog.xml
+++ b/app/packages/NLog.4.2.3/lib/net35/NLog.xml
@@ -621,6 +621,12 @@
Log message.
+
+
+ Logs the assembly version and file version of the given Assembly.
+
+ The assembly to log.
+
Gets or sets the internal log level.
@@ -1486,11 +1492,6 @@
Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog.
-
-
- Initializes static members of the class.
-
-
Initializes a new instance of the class.
@@ -1537,6 +1538,10 @@
Gets or sets default singleton instance of .
+
+ This property implements lazy instantiation so that the is not built before
+ the internal logger is configured.
+
@@ -1914,6 +1919,15 @@
Closes all targets and releases any unmanaged resources.
+
+
+ Log to the internal (NLog) logger the information about the and associated with this instance.
+
+
+ The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
+ recorded.
+
+
Flushes any pending log messages on all appenders.
@@ -2750,61 +2764,6 @@
-
-
- A global logging class using caller info to find the logger.
-
-
-
-
- Starts building a log event with the specified .
-
- The log level.
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Starts building a log event at the Trace level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Starts building a log event at the Debug level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Starts building a log event at the Info level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Starts building a log event at the Warn level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Starts building a log event at the Error level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
-
-
- Starts building a log event at the Fatal level.
-
- The full path of the source file that contains the caller. This is the file path at the time of compile.
- An instance of the fluent .
-
A fluent class to build log events for NLog.
@@ -2936,31 +2895,22 @@
Index of the first user stack frame within the stack trace.
-
+
Writes the log event to the underlying logger.
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
+
- Writes the log event to the underlying logger if the condition delegate is true.
+ Writes the log event to the underlying logger.
If condition is true, write log event; otherwise ignore event.
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
-
+
- Writes the log event to the underlying logger if the condition is true.
+ Writes the log event to the underlying logger.
If condition is true, write log event; otherwise ignore event.
- The method or property name of the caller to the method. This is set at by the compiler.
- The full path of the source file that contains the caller. This is set at by the compiler.
- The line number in the source file at which the method is called. This is set at by the compiler.
@@ -3142,6 +3092,9 @@
+
+ Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
+
Auto-generated Logger members for binary compatibility with NLog 1.0.
@@ -3598,63 +3551,27 @@
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
Action to execute.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
Return type of the provided function.
Function to run.
- Result returned by the provided function or fallback value in case of exception.
+ Result returned by the provided function or the default value of type in case of exception.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
Return type of the provided function.
Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
- Result returned by the provided function or fallback value in case of exception.
-
-
-
- If the task causes an exception or is canceled, the exception is logged at Error level. Exception is not propagated outside of this method.
-
- Task for which to log an exception or cancellation.
- A task that completes when after completes.
-
- This task returned by this method does not include a return value, even if is of type because the value is not present if the task causes an exception or is canceled.
- If your code requires the return value, do not use this method to swallow the exception; instead, await the task normally and catch the exception to handle the case of no return value.
-
-
-
-
- Runs async action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
-
- Async action to execute.
-
-
-
- Runs the provided async function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
-
- Return type of the provided function.
- Async function to run.
- Result returned by the provided function or fallback value in case of exception.
-
-
-
- Runs the provided async function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
-
- Return type of the provided function.
- Async function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
+ Fallback value to return in case of exception.
Result returned by the provided function or fallback value in case of exception.
@@ -6281,7 +6198,7 @@
Gets the file info.
The last file write time. The value must be of UTC kind.
- Length of the file.
+ Length of the file in bytes.
True if the operation succeeded, false otherwise.
@@ -6315,7 +6232,7 @@
- Gets the name of the file.
+ Gets the path of the file, including file extension.
The name of the file.
@@ -6402,6 +6319,92 @@
Instance of which can be used to write to the file.
+
+
+ Maintains a collection of file appenders usually associated with file targets.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The size of the list should be positive. No validations are performed during initialisation as it is an
+ intenal class.
+
+ Total number of appenders allowed in list.
+ Factory used to create each appender.
+ Parameters used for creating a file.
+
+
+
+ It allocates the first slot in the list when the file name does not already in the list and clean up any
+ unused slots.
+
+ File name associated with a single appender.
+ The allocated appender.
+
+ Thrown when is called on an Empty instance.
+
+
+
+
+ Close all the allocated appenders.
+
+
+
+
+ Close the allocated appenders initialised before the supplied time.
+
+ The time which prior the appenders considered expired
+
+
+
+ Fluch all the allocated appenders.
+
+
+
+
+ Gets the file info for a particular appender.
+
+ The file name associated with a particular appender.
+ The last file write time. The value must be of UTC kind.
+ Length of the file.
+ when the operation succeeded; otherwise.
+
+
+
+ Closes the specified appender and removes it from the list.
+
+ File name of the appender to be closed.
+
+
+
+ Gets the parameters which will be used for creating a file.
+
+
+
+
+ Gets the file appender factory used by all the appenders in this list.
+
+
+
+
+ Gets the number of appenders which the list can hold.
+
+
Interface that provides parameters for create file function.
@@ -6670,6 +6673,45 @@
Supports mocking of SMTP Client code.
+
+
+ Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted.
+
+
+ System.Net.Mail.MailMessage
+ MailMessage
+ A MailMessage that contains the message to send.
+
+
+
+ Specifies how outgoing email messages will be handled.
+
+
+
+
+ Gets or sets the name or IP address of the host used for SMTP transactions.
+
+
+
+
+ Gets or sets the port used for SMTP transactions.
+
+
+
+
+ Gets or sets a value that specifies the amount of time after which a synchronous Send call times out.
+
+
+
+
+ Gets or sets the credentials used to authenticate the sender.
+
+
+
+
+ Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
+
+
Supports object initialization and termination.
@@ -6762,6 +6804,11 @@
Supports mocking of SMTP Client code.
+
+
+ Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, and releases all resources used by the current instance of the class.
+
+
Network sender which uses HTTP or HTTPS POST.
@@ -7160,11 +7207,6 @@
The instance.
-
-
- Gets current thread ID.
-
-
Gets current process ID.
@@ -7190,12 +7232,6 @@
Gets the name of the process.
-
-
- Gets current thread ID.
-
-
-
Gets current process ID.
@@ -7232,6 +7268,16 @@
Usable types from the given assembly.
Types which cannot be loaded are skipped.
+
+
+ Is this a static class?
+
+
+
+ This is a work around, as Type doesn't have this property.
+ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
+
+
Supported operating systems.
@@ -7282,6 +7328,36 @@
The text to be tokenized.
+
+
+ Check current char while not changing the position.
+
+
+
+
+
+ Read the current char and change position
+
+
+
+
+
+ Get the substring of the
+
+
+
+
+
+
+
+ Current position in
+
+
+
+
+ Full text to be parsed
+
+
Implements a single-call guard around given continuation function.
@@ -7456,12 +7532,6 @@
Initializes a new instance of the class.
-
-
- Gets current thread ID.
-
-
-
Gets current process ID.
@@ -7617,33 +7687,12 @@
The to append the rendered data to.
Logging event.
-
-
- The names of caller information attributes.
- https://msdn.microsoft.com/en-us/library/hh534540.aspx
-
-
-
-
- Also render the call attributes? (,
- , ).
-
-
-
Gets or sets string that will be used to separate key/value pairs.
-
-
- Also render the caller information attributes? (,
- , ).
-
- See https://msdn.microsoft.com/en-us/library/hh534540.aspx
-
-
Gets or sets how key/value pairs will be formatted.
@@ -8540,24 +8589,6 @@
-
-
- Mapped Diagnostic Logical Context item (based on CallContext).
-
-
-
-
- Renders the specified MDLC item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the item.
-
-
-
The formatted log message.
@@ -9429,6 +9460,25 @@
+
+
+ Gets or sets a value indicating when the cache is cleared.
+
+
+
+
+ A value indicating when the cache is cleared.
+
+
+
+ Never clear the cache.
+
+
+ Clear the cache whenever the is initialized.
+
+
+ Clear the cache whenever the is closed.
+
Filters characters not allowed in the file names by replacing them with safe character.
@@ -10635,7 +10685,7 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -10643,11 +10693,11 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
The type of the logger to create. The type must inherit from
NLog.Logger.
- The logger.
+ The logger of type .
This is a slow-running method. Make sure you are not calling this method in a
loop.
@@ -10661,11 +10711,11 @@
- Gets the specified named logger.
+ Gets the specified named logger. Use to pass the type of the needed Logger.
Name of the logger.
- The type of the logger to create. The type must inherit from NLog.Logger.
- The logger reference. Multiple calls to GetLogger with the
+ The type of the logger to create. The type must inherit from .
+ The logger of type . Multiple calls to GetLogger with the
same argument aren't guaranteed to return the same logger reference.
@@ -10803,7 +10853,9 @@
- Gets or sets the current logging configuration.
+ Gets or sets the current logging configuration. After setting this property all
+ existing loggers will be re-configured, so that there is no need to call
+ manually.
@@ -10882,16 +10934,16 @@
- Gets the logger.
+ Gets the logger with type .
The logger name.
An instance of .
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class and type .
- The logger.
+ An instance of .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -11099,65 +11151,27 @@
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
Action to execute.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
Return type of the provided function.
Function to run.
- Result returned by the provided function or fallback value in case of exception.
+ Result returned by the provided function or the default value of type in case of exception.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
Return type of the provided function.
Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
- Result returned by the provided function or fallback value in case of exception.
-
-
-
- If the task causes an exception or is canceled, the exception is logged at Error level. Exception is not propagated outside of this method.
-
- Task for which to log an exception or cancellation.
- A task that completes when after completes.
-
- This task returned by this method does not include a return value, even if is of type because the value is not present if the task causes an exception or is canceled.
- If your code requires the return value, do not use this method to swallow the exception; instead, await the task normally and catch the exception to handle the case of no return value.
-
-
-
-
- Runs async action. If the action causes an exception, or the task it returns causes an exception or is canceled, the exception is logged at Error level. Exception is not propagated outside of this method.
-
- Async action to execute.
-
-
-
- Runs the provided async function and returns its result.
- If the function causes an exception, or the task it returns causes an exception or is canceled, the exception is logged at Error level.
- Exception is not propagated outside of this method.
-
- Return type of the provided function.
- Async function to run.
- Result returned by the provided task or a default value in case of exception.
-
-
-
- Runs the provided async function and returns its result.
- If the function causes an exception, or the task it returns causes an exception or is canceled, the exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
-
- Return type of the provided function.
- Async function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
+ Fallback value to return in case of exception.
Result returned by the provided function or fallback value in case of exception.
@@ -14286,7 +14300,7 @@
or its declaring type is or one of its subtypes.
-
+
Gets the filter result.
@@ -14486,7 +14500,7 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -14501,10 +14515,10 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
The logger class. The class must inherit from .
- The logger.
+ The logger of type .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -14523,11 +14537,12 @@
- Gets the specified named logger.
+ Gets the specified named custom logger. Use to pass the type of the needed Logger.
Name of the logger.
The logger class. The class must inherit from .
- The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The generic way for this method is
@@ -14628,6 +14643,7 @@
Gets or sets the current logging configuration.
+
@@ -14860,12 +14876,6 @@
Gets the target endpoint for the service to which the WCF client can connect.
-
-
- Gets or sets the cookie container.
-
- The cookie container.
-
Implementation of which forwards received logs through or a given .
@@ -15133,12 +15143,6 @@
Occurs when Close operation has completed.
-
-
- Gets or sets the cookie container.
-
- The cookie container.
-
Initializes a new instance of the class.
@@ -15407,12 +15411,6 @@
Occurs when the communication object first enters the closing state.
-
-
- Gets or sets the cookie container.
-
- The cookie container.
-
Gets the target endpoint for the service to which the WCF client can connect.
@@ -15625,71 +15623,6 @@
Clears the content of current thread MDC.
-
-
- Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary
- of strings and provides methods to output them in layouts. Allows for maintaining state across
- asynchronous tasks and call contexts.
-
-
- Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original
- NLog library so that state can be maintained for multiple threads in asynchronous situations.
-
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The value of , if defined; otherwise .
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The to use when converting a value to a string.
- The value of , if defined; otherwise .
-
-
-
- Gets the current logical context named item, as .
-
- Item name.
- The value of , if defined; otherwise null.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the current logical context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Checks whether the specified exists in current logical context.
-
- Item name.
- A boolean indicating whether the specified exists in current logical context.
-
-
-
- Removes the specified from current logical context.
-
- Item name.
-
-
-
- Clears the content of current logical context.
-
-
Mapped Diagnostics Context - used for log4net compatibility.
@@ -16449,6 +16382,15 @@
The logging event.
+
+
+ Try to remove.
+
+
+
+
+ removed something?
+
Gets the bytes to be written.
@@ -16500,6 +16442,18 @@
+
+
+ Gets or sets the maximum current connections. 0 = no maximum.
+
+
+
+
+
+ Gets or sets the action that should be taken if the will be more connections than .
+
+
+
Gets or sets the maximum queue size.
@@ -17235,6 +17189,19 @@
+
+
+ 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.
+
+
+
+ This option was removed in NLog 4.0 because the logging code always runs outside of transaction.
+ This ensures that the log gets written to the database if you rollback the main transaction because of an error and want to log the error.
+
+
Gets or sets the database host name. If the ConnectionString is not provided
@@ -17585,6 +17552,81 @@
Documentation on NLog Wiki
+
+
+ Default clean up period of the initilized files. When a file exceeds the clean up period is removed from the list.
+
+ Clean up period is defined in days.
+
+
+
+ The maximum number of initialised files at any one time. Once this number is exceeded clean up procedures
+ are initiated to reduce the number of initialised files.
+
+
+
+
+ This value disables file archiving based on the size.
+
+
+
+
+ Gets or sets a value indicating whether to compress archive files into the zip archive format.
+
+
+
+
+ Cached directory separator char array to avoid memory allocation on each method call.
+
+
+
+
+ Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called.
+
+
+
+
+ Holds the initialised files each given time by the instance. Against each file, the last write time is stored.
+
+ Last write time is store in local time (no UTC).
+
+
+
+ Factory used to create the file appeanders in the instance.
+
+ File appenders are stored in an instance of .
+
+
+
+ List of the associated file appenders with the instance.
+
+
+
+
+ The number of initialised files at any one time.
+
+
+
+
+ The maximum number of archive files that should be kept.
+
+
+
+
+ It holds the file names of existing archives in order for the oldest archives to be removed when the list of
+ filenames becomes too long.
+
+
+
+
+ The filename as target
+
+
+
+
+ The filename if is a fixed string
+
+
Initializes a new instance of the class.
@@ -17622,6 +17664,15 @@
the needed functionality.
+
+
+ Returns the suitable appender factory ( ) to be used to generate the file
+ appenders associated with the instance.
+
+ The type of the file appender factory returned depends on the values of various properties.
+
+ suitable for this instance.
+
Initializes file logging by creating data structures that
@@ -17673,18 +17724,93 @@
The byte array.
The modified byte array. The function can do the modification in-place.
+
+
+ Replaces the numeric pattern i.e. {#} in a file name with the parameter value.
+
+ File name which contains the numeric pattern.
+ Value which will replace the numeric pattern.
+ File name with the value of in the position of the numberic pattern.
+
+
+
+ Determines if the file name as contains a numeric pattern i.e. {#} in it.
+
+ Example:
+ trace{#}.log Contains the numeric pattern.
+ trace{###}.log Contains the numeric pattern.
+ trace{#X#}.log Contains the numeric pattern (See remarks).
+ trace.log Does not contain the pattern.
+
+ Occationally, this method can identify the existance of the {#} pattern incorrectly.
+ File name to be checked.
+ when the pattern is found; otherwise.
+
+
+
+ Archives the using a rolling style numbering (the most recent is always #0 then
+ #1, ..., #N. When the number of archive files exceed the obsolete archives
+ are deleted.
+
+
+ This method is called recursively. This is the reason the is required.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Value which will replace the numeric pattern.
+
+
+
+ Archives the using a sequence style numbering. The most recent archive has the
+ highest number. When the number of archive files exceed the obsolete
+ archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
+
+ Creates an archive copy of source file either by compressing it or moving to a new location in the file
+ system. Which action will be used is determined by the value of parameter.
+
+ File name to be archived.
+ Name of the archive file.
+ Enables file compression
+
+
+
+
+ Archives the using a date and sequence style numbering. Archives will be stamped
+ with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in
+ combination with the date).
+
+
+ When the number of archive files exceed the obsolete archives are deleted.
+
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Log event that the instance is currently processing.
+
- Determines whether a file with a different name from is needed to receive .
+ Determines whether a file with a different name from is needed to receive the
+ . This is determined based on the last date and time which the file has been
+ written compared to the time the log event was initiated.
+
+ when log event time is "different" than the last write time; otherwise.
+
- Deletes files among a given list, and stops as soon as the remaining files are fewer than the MaxArchiveFiles setting.
+ Deletes files among a given list, and stops as soon as the remaining files are fewer than the setting.
+ List of the file archives.
- Items are deleted in the same order as in .
- No file is deleted if MaxArchiveFile is equal to zero.
+ Items are deleted in the same order as in . No file is deleted if property is zero.
@@ -17693,21 +17819,180 @@
An enumeration of archive infos, ordered by their file creation date.
-
+
+
+ Gets the collection of files in the specified directory which they match the .
+
+ Directory to searched.
+ Pattern whihc the files will be searched against.
+ Lisf of files matching the pattern.
+
+
+
+ Replaces the string-based pattern i.e. {#} in a file name with the value passed in parameter.
+
+ File name which contains the string-based pattern.
+ Value which will replace the string-based pattern.
+
+ File name with the value of in the position of the string-based pattern.
+
+
+
+
+ Archives the using a date style numbering. Archives will be stamped with the
+ prior period (Year, Month, Day, Hour, Minute) datetime. When the number of archive files exceed the obsolete archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
Deletes archive files in reverse chronological order until only the
MaxArchiveFiles number of archive files remain.
The pattern that archive filenames will match
+
+
+ Gets the correct formating to be used based on the value of for converting values which will be inserting into file
+ names during archiving.
+
+ This value will be computed only when a empty value or is passed into
+
+ Date format to used irrespectively of value.
+ Formatting for dates.
+
+
+
+ Invokes the archiving process after determining when and which type of archiving is required.
+
+ File name to be checked and archived.
+ Log event that the instance is currently processing.
+
Gets the pattern that archive files will match
Filename of the log file
- Log event info of the log that is currently been written
+ Log event that the instance is currently processing.
A string with a pattern that will match the archive filenames
+
+
+ Indicates if the automatic archiving process should be executed.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on file size constrains.
+
+ File name to be written.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on date/time constrains.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ when archiving should be executed; otherwise.
+
+
+
+ The sequence of to be written for the file header.
+
+ Sequence of to be written.
+
+
+
+ The sequence of to be written for the file footer.
+
+ Sequence of to be written.
+
+
+
+ Evaluates which parts of a file should be written (header, content, footer) based on various properties of
+ instance and writes them.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Raw sequence of to be written into the content part of the file.
+ Indicates that only content section should be written in the file.
+
+
+
+ Initialise a file to be used by the instance. Based on the number of initialised
+ files and the values of various instance properties clean up and/or archiving processes can be invoked.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Indicates that only content section should be written in the file.
+ when file header should be written; otherwise.
+
+
+
+ Writes the file footer and uninitialise the file in instance internal structures.
+
+ File name to be written.
+
+
+
+ Invokes the archiving and clean up of older archive file based on the values of and properties respectively.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+
+
+
+ Creates the file specified in and writes the file content in each entirety i.e.
+ Header, Content and Footer.
+
+ The name of the file to be written.
+ Sequence of to be written in the content section of the file.
+ This method is used when the content of the log file is re-written on every write.
+
+
+
+ Writes the header information to a file.
+
+ File appender associated with the file.
+
+
+
+ Returns the length of a specified file and the last time it has been written. File appender is queried before the file system.
+
+ File which the information are requested.
+ The last time the file has been written is returned.
+ The length of the file is returned.
+ when file details returned; otherwise.
+
+
+
+ The sequence of to be written in a file after applying any formating and any
+ transformations required from the .
+
+ The layout used to render output message.
+ Sequence of to be written.
+ Usually it is used to render the header and hooter of the files.
+
+
+
+ Replaces any invalid characters found in the with underscore i.e _ character.
+ Invalid characters are defined by .NET framework and they returned by method.
+ Note: not implemented in Silverlight
+
+ The original file name which might contain invalid characters.
+ The cleaned up file name without any invalid characters.
+
Gets or sets the name of the file to write to.
@@ -17725,6 +18010,12 @@
+
+
+ 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.
+
+
Gets or sets a value indicating whether to create directories if they do not exist.
@@ -17744,16 +18035,6 @@
-
-
- Gets or sets a value indicating whether to archive old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
- After archiving the old file, the current log file will be empty.
-
-
-
Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
@@ -17785,15 +18066,6 @@
-
-
- Gets or sets a value specifying the date format to use when archving files.
-
-
- This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
-
-
-
Gets or sets the file attributes (Windows only).
@@ -17892,6 +18164,25 @@
+
+
+ Gets or sets a value indicating whether to archive old log file on startup.
+
+
+ This option works only when the "FileName" parameter denotes a single file.
+ After archiving the old file, the current log file will be empty.
+
+
+
+
+
+ Gets or sets a value specifying the date format to use when archving files.
+
+
+ This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
+
+
+
Gets or sets the size in bytes above which log files will be automatically archived.
@@ -17942,28 +18233,28 @@
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
-
-
Gets or sets the way file archives are numbered.
-
+
- Gets or sets a value indicating whether to compress archive files into the zip archive format.
+ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
-
Gets the characters that are appended after each line.
+
+
+ Creates an instance of class.
+
+ Maximum number of archive files to be kept.
+
Adds a file into archive.
@@ -17972,21 +18263,25 @@
Original file name
Create a directory, if it does not exist
Enables file compression
- true if the file has been moved successfully; false otherwise
+ if the file has been moved successfully; otherwise.
+
+
+
+ Creates an instance of class.
+
-
+ Archives the file, either by copying it to a new file system location or by compressing it, and add the file name into the list of archives.
-
-
-
-
+ Target file name.
+ Original file name.
+ Create a directory, if it does not exist.
+ Enables file compression.
- Remove old archive files when the files on the queue are more than the
- MaxArchiveFilesToKeep.
+ Remove old archive files when the files on the queue are more than the .
@@ -18002,10 +18297,15 @@
Original Filename trace.log
Target Filename trace.15.log
- Original filename
+ Original file name.
Number starting point
File name suitable for archiving
+
+
+ Gets or sets the maximum number of archive files that should be kept.
+
+
Characters determining the start of the .
@@ -18229,6 +18529,7 @@
service configuration - binding and endpoint address
+ virtual is used by endusers
@@ -18353,7 +18654,7 @@
- Set propertes of
+ Set properties of
last event for username/password
client to set properties on
@@ -18471,7 +18772,7 @@
Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server.
-
+ .
@@ -18485,6 +18786,18 @@
+
+
+ Specifies how outgoing email messages will be handled.
+
+
+
+
+
+ Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
+
+
+
Gets or sets the priority used for sending mails.
@@ -18673,6 +18986,26 @@
+
+
+ The action to be taken when there are more connections then the max.
+
+
+
+
+ Just allow it.
+
+
+
+
+ Discard the connection item.
+
+
+
+
+ Block until there's more room in the queue.
+
+
Action that should be taken if the message overflows.
@@ -18883,6 +19216,12 @@
+
+
+ The value by which to increment the counter.
+
+
+
SMTP authentication modes.
diff --git a/app/packages/NLog.4.2.3/lib/net40/NLog.dll b/app/packages/NLog.4.2.3/lib/net40/NLog.dll
new file mode 100644
index 0000000..e3747be
Binary files /dev/null and b/app/packages/NLog.4.2.3/lib/net40/NLog.dll differ
diff --git a/app/packages/NLog.4.1.2/lib/net40/NLog.xml b/app/packages/NLog.4.2.3/lib/net40/NLog.xml
similarity index 96%
rename from app/packages/NLog.4.1.2/lib/net40/NLog.xml
rename to app/packages/NLog.4.2.3/lib/net40/NLog.xml
index 99b8561..21bbb99 100644
--- a/app/packages/NLog.4.1.2/lib/net40/NLog.xml
+++ b/app/packages/NLog.4.2.3/lib/net40/NLog.xml
@@ -621,6 +621,12 @@
Log message.
+
+
+ Logs the assembly version and file version of the given Assembly.
+
+ The assembly to log.
+
Gets or sets the internal log level.
@@ -1486,11 +1492,6 @@
Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog.
-
-
- Initializes static members of the class.
-
-
Initializes a new instance of the class.
@@ -1537,6 +1538,10 @@
Gets or sets default singleton instance of .
+
+ This property implements lazy instantiation so that the is not built before
+ the internal logger is configured.
+
@@ -1914,6 +1919,15 @@
Closes all targets and releases any unmanaged resources.
+
+
+ Log to the internal (NLog) logger the information about the and associated with this instance.
+
+
+ The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
+ recorded.
+
+
Flushes any pending log messages on all appenders.
@@ -3078,6 +3092,9 @@
+
+ Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
+
Auto-generated Logger members for binary compatibility with NLog 1.0.
@@ -3534,27 +3551,27 @@
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
Action to execute.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
Return type of the provided function.
Function to run.
- Result returned by the provided function or fallback value in case of exception.
+ Result returned by the provided function or the default value of type in case of exception.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
Return type of the provided function.
Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
+ Fallback value to return in case of exception.
Result returned by the provided function or fallback value in case of exception.
@@ -6181,7 +6198,7 @@
Gets the file info.
The last file write time. The value must be of UTC kind.
- Length of the file.
+ Length of the file in bytes.
True if the operation succeeded, false otherwise.
@@ -6215,7 +6232,7 @@
- Gets the name of the file.
+ Gets the path of the file, including file extension.
The name of the file.
@@ -6302,6 +6319,92 @@
Instance of which can be used to write to the file.
+
+
+ Maintains a collection of file appenders usually associated with file targets.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The size of the list should be positive. No validations are performed during initialisation as it is an
+ intenal class.
+
+ Total number of appenders allowed in list.
+ Factory used to create each appender.
+ Parameters used for creating a file.
+
+
+
+ It allocates the first slot in the list when the file name does not already in the list and clean up any
+ unused slots.
+
+ File name associated with a single appender.
+ The allocated appender.
+
+ Thrown when is called on an Empty instance.
+
+
+
+
+ Close all the allocated appenders.
+
+
+
+
+ Close the allocated appenders initialised before the supplied time.
+
+ The time which prior the appenders considered expired
+
+
+
+ Fluch all the allocated appenders.
+
+
+
+
+ Gets the file info for a particular appender.
+
+ The file name associated with a particular appender.
+ The last file write time. The value must be of UTC kind.
+ Length of the file.
+ when the operation succeeded; otherwise.
+
+
+
+ Closes the specified appender and removes it from the list.
+
+ File name of the appender to be closed.
+
+
+
+ Gets the parameters which will be used for creating a file.
+
+
+
+
+ Gets the file appender factory used by all the appenders in this list.
+
+
+
+
+ Gets the number of appenders which the list can hold.
+
+
Interface that provides parameters for create file function.
@@ -6570,6 +6673,45 @@
Supports mocking of SMTP Client code.
+
+
+ Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted.
+
+
+ System.Net.Mail.MailMessage
+ MailMessage
+ A MailMessage that contains the message to send.
+
+
+
+ Specifies how outgoing email messages will be handled.
+
+
+
+
+ Gets or sets the name or IP address of the host used for SMTP transactions.
+
+
+
+
+ Gets or sets the port used for SMTP transactions.
+
+
+
+
+ Gets or sets a value that specifies the amount of time after which a synchronous Send call times out.
+
+
+
+
+ Gets or sets the credentials used to authenticate the sender.
+
+
+
+
+ Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
+
+
Supports object initialization and termination.
@@ -7060,11 +7202,6 @@
The instance.
-
-
- Gets current thread ID.
-
-
Gets current process ID.
@@ -7090,12 +7227,6 @@
Gets the name of the process.
-
-
- Gets current thread ID.
-
-
-
Gets current process ID.
@@ -7132,6 +7263,16 @@
Usable types from the given assembly.
Types which cannot be loaded are skipped.
+
+
+ Is this a static class?
+
+
+
+ This is a work around, as Type doesn't have this property.
+ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
+
+
Supported operating systems.
@@ -7182,6 +7323,36 @@
The text to be tokenized.
+
+
+ Check current char while not changing the position.
+
+
+
+
+
+ Read the current char and change position
+
+
+
+
+
+ Get the substring of the
+
+
+
+
+
+
+
+ Current position in
+
+
+
+
+ Full text to be parsed
+
+
Implements a single-call guard around given continuation function.
@@ -7356,12 +7527,6 @@
Initializes a new instance of the class.
-
-
- Gets current thread ID.
-
-
-
Gets current process ID.
@@ -9308,6 +9473,25 @@
+
+
+ Gets or sets a value indicating when the cache is cleared.
+
+
+
+
+ A value indicating when the cache is cleared.
+
+
+
+ Never clear the cache.
+
+
+ Clear the cache whenever the is initialized.
+
+
+ Clear the cache whenever the is closed.
+
Filters characters not allowed in the file names by replacing them with safe character.
@@ -10514,7 +10698,7 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -10522,11 +10706,11 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
The type of the logger to create. The type must inherit from
NLog.Logger.
- The logger.
+ The logger of type .
This is a slow-running method. Make sure you are not calling this method in a
loop.
@@ -10540,11 +10724,11 @@
- Gets the specified named logger.
+ Gets the specified named logger. Use to pass the type of the needed Logger.
Name of the logger.
- The type of the logger to create. The type must inherit from NLog.Logger.
- The logger reference. Multiple calls to GetLogger with the
+ The type of the logger to create. The type must inherit from .
+ The logger of type . Multiple calls to GetLogger with the
same argument aren't guaranteed to return the same logger reference.
@@ -10682,7 +10866,9 @@
- Gets or sets the current logging configuration.
+ Gets or sets the current logging configuration. After setting this property all
+ existing loggers will be re-configured, so that there is no need to call
+ manually.
@@ -10761,16 +10947,16 @@
- Gets the logger.
+ Gets the logger with type .
The logger name.
An instance of .
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class and type .
- The logger.
+ An instance of .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -10978,27 +11164,27 @@
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
Action to execute.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
Return type of the provided function.
Function to run.
- Result returned by the provided function or fallback value in case of exception.
+ Result returned by the provided function or the default value of type in case of exception.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
Return type of the provided function.
Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
+ Fallback value to return in case of exception.
Result returned by the provided function or fallback value in case of exception.
@@ -14127,7 +14313,7 @@
or its declaring type is or one of its subtypes.
-
+
Gets the filter result.
@@ -14327,7 +14513,7 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -14342,10 +14528,10 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
The logger class. The class must inherit from .
- The logger.
+ The logger of type .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -14364,11 +14550,12 @@
- Gets the specified named logger.
+ Gets the specified named custom logger. Use to pass the type of the needed Logger.
Name of the logger.
The logger class. The class must inherit from .
- The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The generic way for this method is
@@ -14469,6 +14656,7 @@
Gets or sets the current logging configuration.
+
@@ -16272,6 +16460,15 @@
The logging event.
+
+
+ Try to remove.
+
+
+
+
+ removed something?
+
Gets the bytes to be written.
@@ -16323,6 +16520,18 @@
+
+
+ Gets or sets the maximum current connections. 0 = no maximum.
+
+
+
+
+
+ Gets or sets the action that should be taken if the will be more connections than .
+
+
+
Gets or sets the maximum queue size.
@@ -17058,6 +17267,19 @@
+
+
+ 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.
+
+
+
+ This option was removed in NLog 4.0 because the logging code always runs outside of transaction.
+ This ensures that the log gets written to the database if you rollback the main transaction because of an error and want to log the error.
+
+
Gets or sets the database host name. If the ConnectionString is not provided
@@ -17408,11 +17630,81 @@
Documentation on NLog Wiki
+
+
+ Default clean up period of the initilized files. When a file exceeds the clean up period is removed from the list.
+
+ Clean up period is defined in days.
+
+
+
+ The maximum number of initialised files at any one time. Once this number is exceeded clean up procedures
+ are initiated to reduce the number of initialised files.
+
+
+
+
+ This value disables file archiving based on the size.
+
+
Gets or sets a value indicating whether to compress archive files into the zip archive format.
+
+
+ Cached directory separator char array to avoid memory allocation on each method call.
+
+
+
+
+ Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called.
+
+
+
+
+ Holds the initialised files each given time by the instance. Against each file, the last write time is stored.
+
+ Last write time is store in local time (no UTC).
+
+
+
+ Factory used to create the file appeanders in the instance.
+
+ File appenders are stored in an instance of .
+
+
+
+ List of the associated file appenders with the instance.
+
+
+
+
+ The number of initialised files at any one time.
+
+
+
+
+ The maximum number of archive files that should be kept.
+
+
+
+
+ It holds the file names of existing archives in order for the oldest archives to be removed when the list of
+ filenames becomes too long.
+
+
+
+
+ The filename as target
+
+
+
+
+ The filename if is a fixed string
+
+
Initializes a new instance of the class.
@@ -17450,6 +17742,15 @@
the needed functionality.
+
+
+ Returns the suitable appender factory ( ) to be used to generate the file
+ appenders associated with the instance.
+
+ The type of the file appender factory returned depends on the values of various properties.
+
+ suitable for this instance.
+
Initializes file logging by creating data structures that
@@ -17501,18 +17802,93 @@
The byte array.
The modified byte array. The function can do the modification in-place.
+
+
+ Replaces the numeric pattern i.e. {#} in a file name with the parameter value.
+
+ File name which contains the numeric pattern.
+ Value which will replace the numeric pattern.
+ File name with the value of in the position of the numberic pattern.
+
+
+
+ Determines if the file name as contains a numeric pattern i.e. {#} in it.
+
+ Example:
+ trace{#}.log Contains the numeric pattern.
+ trace{###}.log Contains the numeric pattern.
+ trace{#X#}.log Contains the numeric pattern (See remarks).
+ trace.log Does not contain the pattern.
+
+ Occationally, this method can identify the existance of the {#} pattern incorrectly.
+ File name to be checked.
+ when the pattern is found; otherwise.
+
+
+
+ Archives the using a rolling style numbering (the most recent is always #0 then
+ #1, ..., #N. When the number of archive files exceed the obsolete archives
+ are deleted.
+
+
+ This method is called recursively. This is the reason the is required.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Value which will replace the numeric pattern.
+
+
+
+ Archives the using a sequence style numbering. The most recent archive has the
+ highest number. When the number of archive files exceed the obsolete
+ archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
+
+ Creates an archive copy of source file either by compressing it or moving to a new location in the file
+ system. Which action will be used is determined by the value of parameter.
+
+ File name to be archived.
+ Name of the archive file.
+ Enables file compression
+
+
+
+
+ Archives the using a date and sequence style numbering. Archives will be stamped
+ with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in
+ combination with the date).
+
+
+ When the number of archive files exceed the obsolete archives are deleted.
+
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Log event that the instance is currently processing.
+
- Determines whether a file with a different name from is needed to receive .
+ Determines whether a file with a different name from is needed to receive the
+ . This is determined based on the last date and time which the file has been
+ written compared to the time the log event was initiated.
+
+ when log event time is "different" than the last write time; otherwise.
+
- Deletes files among a given list, and stops as soon as the remaining files are fewer than the MaxArchiveFiles setting.
+ Deletes files among a given list, and stops as soon as the remaining files are fewer than the setting.
+ List of the file archives.
- Items are deleted in the same order as in .
- No file is deleted if MaxArchiveFile is equal to zero.
+ Items are deleted in the same order as in . No file is deleted if property is zero.
@@ -17521,21 +17897,180 @@
An enumeration of archive infos, ordered by their file creation date.
-
+
+
+ Gets the collection of files in the specified directory which they match the .
+
+ Directory to searched.
+ Pattern whihc the files will be searched against.
+ Lisf of files matching the pattern.
+
+
+
+ Replaces the string-based pattern i.e. {#} in a file name with the value passed in parameter.
+
+ File name which contains the string-based pattern.
+ Value which will replace the string-based pattern.
+
+ File name with the value of in the position of the string-based pattern.
+
+
+
+
+ Archives the using a date style numbering. Archives will be stamped with the
+ prior period (Year, Month, Day, Hour, Minute) datetime. When the number of archive files exceed the obsolete archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
Deletes archive files in reverse chronological order until only the
MaxArchiveFiles number of archive files remain.
The pattern that archive filenames will match
+
+
+ Gets the correct formating to be used based on the value of for converting values which will be inserting into file
+ names during archiving.
+
+ This value will be computed only when a empty value or is passed into
+
+ Date format to used irrespectively of value.
+ Formatting for dates.
+
+
+
+ Invokes the archiving process after determining when and which type of archiving is required.
+
+ File name to be checked and archived.
+ Log event that the instance is currently processing.
+
Gets the pattern that archive files will match
Filename of the log file
- Log event info of the log that is currently been written
+ Log event that the instance is currently processing.
A string with a pattern that will match the archive filenames
+
+
+ Indicates if the automatic archiving process should be executed.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on file size constrains.
+
+ File name to be written.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on date/time constrains.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ when archiving should be executed; otherwise.
+
+
+
+ The sequence of to be written for the file header.
+
+ Sequence of to be written.
+
+
+
+ The sequence of to be written for the file footer.
+
+ Sequence of to be written.
+
+
+
+ Evaluates which parts of a file should be written (header, content, footer) based on various properties of
+ instance and writes them.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Raw sequence of to be written into the content part of the file.
+ Indicates that only content section should be written in the file.
+
+
+
+ Initialise a file to be used by the instance. Based on the number of initialised
+ files and the values of various instance properties clean up and/or archiving processes can be invoked.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Indicates that only content section should be written in the file.
+ when file header should be written; otherwise.
+
+
+
+ Writes the file footer and uninitialise the file in instance internal structures.
+
+ File name to be written.
+
+
+
+ Invokes the archiving and clean up of older archive file based on the values of and properties respectively.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+
+
+
+ Creates the file specified in and writes the file content in each entirety i.e.
+ Header, Content and Footer.
+
+ The name of the file to be written.
+ Sequence of to be written in the content section of the file.
+ This method is used when the content of the log file is re-written on every write.
+
+
+
+ Writes the header information to a file.
+
+ File appender associated with the file.
+
+
+
+ Returns the length of a specified file and the last time it has been written. File appender is queried before the file system.
+
+ File which the information are requested.
+ The last time the file has been written is returned.
+ The length of the file is returned.
+ when file details returned; otherwise.
+
+
+
+ The sequence of to be written in a file after applying any formating and any
+ transformations required from the .
+
+ The layout used to render output message.
+ Sequence of to be written.
+ Usually it is used to render the header and hooter of the files.
+
+
+
+ Replaces any invalid characters found in the with underscore i.e _ character.
+ Invalid characters are defined by .NET framework and they returned by method.
+ Note: not implemented in Silverlight
+
+ The original file name which might contain invalid characters.
+ The cleaned up file name without any invalid characters.
+
Gets or sets the name of the file to write to.
@@ -17553,6 +18088,12 @@
+
+
+ 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.
+
+
Gets or sets a value indicating whether to create directories if they do not exist.
@@ -17572,16 +18113,6 @@
-
-
- Gets or sets a value indicating whether to archive old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
- After archiving the old file, the current log file will be empty.
-
-
-
Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
@@ -17613,15 +18144,6 @@
-
-
- Gets or sets a value specifying the date format to use when archving files.
-
-
- This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
-
-
-
Gets or sets the file attributes (Windows only).
@@ -17720,6 +18242,25 @@
+
+
+ Gets or sets a value indicating whether to archive old log file on startup.
+
+
+ This option works only when the "FileName" parameter denotes a single file.
+ After archiving the old file, the current log file will be empty.
+
+
+
+
+
+ Gets or sets a value specifying the date format to use when archving files.
+
+
+ This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
+
+
+
Gets or sets the size in bytes above which log files will be automatically archived.
@@ -17770,22 +18311,28 @@
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
-
-
Gets or sets the way file archives are numbered.
+
+
+ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
+
+
Gets the characters that are appended after each line.
+
+
+ Creates an instance of class.
+
+ Maximum number of archive files to be kept.
+
Adds a file into archive.
@@ -17794,21 +18341,25 @@
Original file name
Create a directory, if it does not exist
Enables file compression
- true if the file has been moved successfully; false otherwise
+ if the file has been moved successfully; otherwise.
+
+
+
+ Creates an instance of class.
+
-
+ Archives the file, either by copying it to a new file system location or by compressing it, and add the file name into the list of archives.
-
-
-
-
+ Target file name.
+ Original file name.
+ Create a directory, if it does not exist.
+ Enables file compression.
- Remove old archive files when the files on the queue are more than the
- MaxArchiveFilesToKeep.
+ Remove old archive files when the files on the queue are more than the .
@@ -17824,10 +18375,15 @@
Original Filename trace.log
Target Filename trace.15.log
- Original filename
+ Original file name.
Number starting point
File name suitable for archiving
+
+
+ Gets or sets the maximum number of archive files that should be kept.
+
+
Characters determining the start of the .
@@ -18051,6 +18607,7 @@
service configuration - binding and endpoint address
+ virtual is used by endusers
@@ -18175,7 +18732,7 @@
- Set propertes of
+ Set properties of
last event for username/password
client to set properties on
@@ -18293,7 +18850,7 @@
Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server.
-
+ .
@@ -18307,6 +18864,18 @@
+
+
+ Specifies how outgoing email messages will be handled.
+
+
+
+
+
+ Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
+
+
+
Gets or sets the priority used for sending mails.
@@ -18495,6 +19064,26 @@
+
+
+ The action to be taken when there are more connections then the max.
+
+
+
+
+ Just allow it.
+
+
+
+
+ Discard the connection item.
+
+
+
+
+ Block until there's more room in the queue.
+
+
Action that should be taken if the message overflows.
@@ -18705,6 +19294,12 @@
+
+
+ The value by which to increment the counter.
+
+
+
SMTP authentication modes.
diff --git a/app/packages/NLog.4.2.3/lib/net45/NLog.dll b/app/packages/NLog.4.2.3/lib/net45/NLog.dll
new file mode 100644
index 0000000..4f801d7
Binary files /dev/null and b/app/packages/NLog.4.2.3/lib/net45/NLog.dll differ
diff --git a/app/packages/NLog.4.1.2/lib/net35/NLog.xml b/app/packages/NLog.4.2.3/lib/net45/NLog.xml
similarity index 94%
rename from app/packages/NLog.4.1.2/lib/net35/NLog.xml
rename to app/packages/NLog.4.2.3/lib/net45/NLog.xml
index f614ba3..74fbf6c 100644
--- a/app/packages/NLog.4.1.2/lib/net35/NLog.xml
+++ b/app/packages/NLog.4.2.3/lib/net45/NLog.xml
@@ -621,6 +621,12 @@
Log message.
+
+
+ Logs the assembly version and file version of the given Assembly.
+
+ The assembly to log.
+
Gets or sets the internal log level.
@@ -1486,11 +1492,6 @@
Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog.
-
-
- Initializes static members of the class.
-
-
Initializes a new instance of the class.
@@ -1537,6 +1538,10 @@
Gets or sets default singleton instance of .
+
+ This property implements lazy instantiation so that the is not built before
+ the internal logger is configured.
+
@@ -1914,6 +1919,15 @@
Closes all targets and releases any unmanaged resources.
+
+
+ Log to the internal (NLog) logger the information about the and associated with this instance.
+
+
+ The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
+ recorded.
+
+
Flushes any pending log messages on all appenders.
@@ -2750,6 +2764,61 @@
+
+
+ A global logging class using caller info to find the logger.
+
+
+
+
+ Starts building a log event with the specified .
+
+ The log level.
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Trace level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Debug level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Info level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Warn level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Error level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Fatal level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
A fluent class to build log events for NLog.
@@ -2881,22 +2950,31 @@
Index of the first user stack frame within the stack trace.
-
+
Writes the log event to the underlying logger.
+ The method or property name of the caller to the method. This is set at by the compiler.
+ The full path of the source file that contains the caller. This is set at by the compiler.
+ The line number in the source file at which the method is called. This is set at by the compiler.
-
+
- Writes the log event to the underlying logger.
+ Writes the log event to the underlying logger if the condition delegate is true.
If condition is true, write log event; otherwise ignore event.
+ The method or property name of the caller to the method. This is set at by the compiler.
+ The full path of the source file that contains the caller. This is set at by the compiler.
+ The line number in the source file at which the method is called. This is set at by the compiler.
-
+
- Writes the log event to the underlying logger.
+ Writes the log event to the underlying logger if the condition is true.
If condition is true, write log event; otherwise ignore event.
+ The method or property name of the caller to the method. This is set at by the compiler.
+ The full path of the source file that contains the caller. This is set at by the compiler.
+ The line number in the source file at which the method is called. This is set at by the compiler.
@@ -3078,6 +3156,9 @@
+
+ Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
+
Auto-generated Logger members for binary compatibility with NLog 1.0.
@@ -3534,29 +3615,61 @@
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
Action to execute.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
Return type of the provided function.
Function to run.
- Result returned by the provided function or fallback value in case of exception.
+ Result returned by the provided function or the default value of type in case of exception.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
Return type of the provided function.
Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
+ Fallback value to return in case of exception.
Result returned by the provided function or fallback value in case of exception.
+
+
+ Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion.
+
+ The task for which to log an error if it does not run to completion.
+ A task that completes in the state when when completes.
+
+
+
+ Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Async action to execute.
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type .
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ Fallback value to return if the task does not end in the state.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value.
+
Writes the diagnostic message at the Trace level using the specified format provider and format parameters.
@@ -6181,7 +6294,7 @@
Gets the file info.
The last file write time. The value must be of UTC kind.
- Length of the file.
+ Length of the file in bytes.
True if the operation succeeded, false otherwise.
@@ -6215,7 +6328,7 @@
- Gets the name of the file.
+ Gets the path of the file, including file extension.
The name of the file.
@@ -6302,6 +6415,92 @@
Instance of which can be used to write to the file.
+
+
+ Maintains a collection of file appenders usually associated with file targets.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The size of the list should be positive. No validations are performed during initialisation as it is an
+ intenal class.
+
+ Total number of appenders allowed in list.
+ Factory used to create each appender.
+ Parameters used for creating a file.
+
+
+
+ It allocates the first slot in the list when the file name does not already in the list and clean up any
+ unused slots.
+
+ File name associated with a single appender.
+ The allocated appender.
+
+ Thrown when is called on an Empty instance.
+
+
+
+
+ Close all the allocated appenders.
+
+
+
+
+ Close the allocated appenders initialised before the supplied time.
+
+ The time which prior the appenders considered expired
+
+
+
+ Fluch all the allocated appenders.
+
+
+
+
+ Gets the file info for a particular appender.
+
+ The file name associated with a particular appender.
+ The last file write time. The value must be of UTC kind.
+ Length of the file.
+ when the operation succeeded; otherwise.
+
+
+
+ Closes the specified appender and removes it from the list.
+
+ File name of the appender to be closed.
+
+
+
+ Gets the parameters which will be used for creating a file.
+
+
+
+
+ Gets the file appender factory used by all the appenders in this list.
+
+
+
+
+ Gets the number of appenders which the list can hold.
+
+
Interface that provides parameters for create file function.
@@ -6570,6 +6769,45 @@
Supports mocking of SMTP Client code.
+
+
+ Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted.
+
+
+ System.Net.Mail.MailMessage
+ MailMessage
+ A MailMessage that contains the message to send.
+
+
+
+ Specifies how outgoing email messages will be handled.
+
+
+
+
+ Gets or sets the name or IP address of the host used for SMTP transactions.
+
+
+
+
+ Gets or sets the port used for SMTP transactions.
+
+
+
+
+ Gets or sets a value that specifies the amount of time after which a synchronous Send call times out.
+
+
+
+
+ Gets or sets the credentials used to authenticate the sender.
+
+
+
+
+ Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
+
+
Supports object initialization and termination.
@@ -6662,11 +6900,6 @@
Supports mocking of SMTP Client code.
-
-
- Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, and releases all resources used by the current instance of the class.
-
-
Network sender which uses HTTP or HTTPS POST.
@@ -7065,11 +7298,6 @@
The instance.
-
-
- Gets current thread ID.
-
-
Gets current process ID.
@@ -7095,12 +7323,6 @@
Gets the name of the process.
-
-
- Gets current thread ID.
-
-
-
Gets current process ID.
@@ -7137,6 +7359,16 @@
Usable types from the given assembly.
Types which cannot be loaded are skipped.
+
+
+ Is this a static class?
+
+
+
+ This is a work around, as Type doesn't have this property.
+ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
+
+
Supported operating systems.
@@ -7187,6 +7419,36 @@
The text to be tokenized.
+
+
+ Check current char while not changing the position.
+
+
+
+
+
+ Read the current char and change position
+
+
+
+
+
+ Get the substring of the
+
+
+
+
+
+
+
+ Current position in
+
+
+
+
+ Full text to be parsed
+
+
Implements a single-call guard around given continuation function.
@@ -7361,12 +7623,6 @@
Initializes a new instance of the class.
-
-
- Gets current thread ID.
-
-
-
Gets current process ID.
@@ -7522,12 +7778,33 @@
The to append the rendered data to.
Logging event.
+
+
+ The names of caller information attributes.
+ https://msdn.microsoft.com/en-us/library/hh534540.aspx
+
+
+
+
+ Also render the call attributes? (,
+ , ).
+
+
+
Gets or sets string that will be used to separate key/value pairs.
+
+
+ Also render the caller information attributes? (,
+ , ).
+
+ See https://msdn.microsoft.com/en-us/library/hh534540.aspx
+
+
Gets or sets how key/value pairs will be formatted.
@@ -8424,6 +8701,24 @@
+
+
+ Mapped Diagnostic Logical Context item (based on CallContext).
+
+
+
+
+ Renders the specified MDLC item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Gets or sets the name of the item.
+
+
+
The formatted log message.
@@ -9295,6 +9590,25 @@
+
+
+ Gets or sets a value indicating when the cache is cleared.
+
+
+
+
+ A value indicating when the cache is cleared.
+
+
+
+ Never clear the cache.
+
+
+ Clear the cache whenever the is initialized.
+
+
+ Clear the cache whenever the is closed.
+
Filters characters not allowed in the file names by replacing them with safe character.
@@ -10501,7 +10815,7 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -10509,11 +10823,11 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
The type of the logger to create. The type must inherit from
NLog.Logger.
- The logger.
+ The logger of type .
This is a slow-running method. Make sure you are not calling this method in a
loop.
@@ -10527,11 +10841,11 @@
- Gets the specified named logger.
+ Gets the specified named logger. Use to pass the type of the needed Logger.
Name of the logger.
- The type of the logger to create. The type must inherit from NLog.Logger.
- The logger reference. Multiple calls to GetLogger with the
+ The type of the logger to create. The type must inherit from .
+ The logger of type . Multiple calls to GetLogger with the
same argument aren't guaranteed to return the same logger reference.
@@ -10669,7 +10983,9 @@
- Gets or sets the current logging configuration.
+ Gets or sets the current logging configuration. After setting this property all
+ existing loggers will be re-configured, so that there is no need to call
+ manually.
@@ -10748,16 +11064,16 @@
- Gets the logger.
+ Gets the logger with type .
The logger name.
An instance of .
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class and type .
- The logger.
+ An instance of .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -10965,29 +11281,61 @@
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
Action to execute.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
Return type of the provided function.
Function to run.
- Result returned by the provided function or fallback value in case of exception.
+ Result returned by the provided function or the default value of type in case of exception.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
Return type of the provided function.
Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
+ Fallback value to return in case of exception.
Result returned by the provided function or fallback value in case of exception.
+
+
+ Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion.
+
+ The task for which to log an error if it does not run to completion.
+ A task that completes in the state when when completes.
+
+
+
+ Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Async action to execute.
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type .
+
+
+
+ Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ Fallback value to return if the task does not end in the state.
+ A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value.
+
Writes the diagnostic message at the Trace level using the specified format provider and format parameters.
@@ -14114,7 +14462,7 @@
or its declaring type is or one of its subtypes.
-
+
Gets the filter result.
@@ -14314,7 +14662,7 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -14329,10 +14677,10 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
The logger class. The class must inherit from .
- The logger.
+ The logger of type .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -14351,11 +14699,12 @@
- Gets the specified named logger.
+ Gets the specified named custom logger. Use to pass the type of the needed Logger.
Name of the logger.
The logger class. The class must inherit from .
- The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The generic way for this method is
@@ -14456,6 +14805,7 @@
Gets or sets the current logging configuration.
+
@@ -14688,6 +15038,12 @@
Gets the target endpoint for the service to which the WCF client can connect.
+
+
+ Gets or sets the cookie container.
+
+ The cookie container.
+
Implementation of which forwards received logs through or a given .
@@ -14955,6 +15311,12 @@
Occurs when Close operation has completed.
+
+
+ Gets or sets the cookie container.
+
+ The cookie container.
+
Initializes a new instance of the class.
@@ -15223,6 +15585,12 @@
Occurs when the communication object first enters the closing state.
+
+
+ Gets or sets the cookie container.
+
+ The cookie container.
+
Gets the target endpoint for the service to which the WCF client can connect.
@@ -15435,6 +15803,71 @@
Clears the content of current thread MDC.
+
+
+ Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary
+ of strings and provides methods to output them in layouts. Allows for maintaining state across
+ asynchronous tasks and call contexts.
+
+
+ Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original
+ NLog library so that state can be maintained for multiple threads in asynchronous situations.
+
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The to use when converting a value to a string.
+ The value of , if defined; otherwise .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise null.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Checks whether the specified exists in current logical context.
+
+ Item name.
+ A boolean indicating whether the specified exists in current logical context.
+
+
+
+ Removes the specified from current logical context.
+
+ Item name.
+
+
+
+ Clears the content of current logical context.
+
+
Mapped Diagnostics Context - used for log4net compatibility.
@@ -16194,6 +16627,15 @@
The logging event.
+
+
+ Try to remove.
+
+
+
+
+ removed something?
+
Gets the bytes to be written.
@@ -16245,6 +16687,18 @@
+
+
+ Gets or sets the maximum current connections. 0 = no maximum.
+
+
+
+
+
+ Gets or sets the action that should be taken if the will be more connections than .
+
+
+
Gets or sets the maximum queue size.
@@ -16980,6 +17434,19 @@
+
+
+ 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.
+
+
+
+ This option was removed in NLog 4.0 because the logging code always runs outside of transaction.
+ This ensures that the log gets written to the database if you rollback the main transaction because of an error and want to log the error.
+
+
Gets or sets the database host name. If the ConnectionString is not provided
@@ -17330,9 +17797,74 @@
Documentation on NLog Wiki
-
+
- Gets or sets a value indicating whether to compress archive files into the zip archive format.
+ Default clean up period of the initilized files. When a file exceeds the clean up period is removed from the list.
+
+ Clean up period is defined in days.
+
+
+
+ The maximum number of initialised files at any one time. Once this number is exceeded clean up procedures
+ are initiated to reduce the number of initialised files.
+
+
+
+
+ This value disables file archiving based on the size.
+
+
+
+
+ Cached directory separator char array to avoid memory allocation on each method call.
+
+
+
+
+ Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called.
+
+
+
+
+ Holds the initialised files each given time by the instance. Against each file, the last write time is stored.
+
+ Last write time is store in local time (no UTC).
+
+
+
+ Factory used to create the file appeanders in the instance.
+
+ File appenders are stored in an instance of .
+
+
+
+ List of the associated file appenders with the instance.
+
+
+
+
+ The number of initialised files at any one time.
+
+
+
+
+ The maximum number of archive files that should be kept.
+
+
+
+
+ It holds the file names of existing archives in order for the oldest archives to be removed when the list of
+ filenames becomes too long.
+
+
+
+
+ The filename as target
+
+
+
+
+ The filename if is a fixed string
@@ -17372,6 +17904,15 @@
the needed functionality.
+
+
+ Returns the suitable appender factory ( ) to be used to generate the file
+ appenders associated with the instance.
+
+ The type of the file appender factory returned depends on the values of various properties.
+
+ suitable for this instance.
+
Initializes file logging by creating data structures that
@@ -17423,18 +17964,93 @@
The byte array.
The modified byte array. The function can do the modification in-place.
+
+
+ Replaces the numeric pattern i.e. {#} in a file name with the parameter value.
+
+ File name which contains the numeric pattern.
+ Value which will replace the numeric pattern.
+ File name with the value of in the position of the numberic pattern.
+
+
+
+ Determines if the file name as contains a numeric pattern i.e. {#} in it.
+
+ Example:
+ trace{#}.log Contains the numeric pattern.
+ trace{###}.log Contains the numeric pattern.
+ trace{#X#}.log Contains the numeric pattern (See remarks).
+ trace.log Does not contain the pattern.
+
+ Occationally, this method can identify the existance of the {#} pattern incorrectly.
+ File name to be checked.
+ when the pattern is found; otherwise.
+
+
+
+ Archives the using a rolling style numbering (the most recent is always #0 then
+ #1, ..., #N. When the number of archive files exceed the obsolete archives
+ are deleted.
+
+
+ This method is called recursively. This is the reason the is required.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Value which will replace the numeric pattern.
+
+
+
+ Archives the using a sequence style numbering. The most recent archive has the
+ highest number. When the number of archive files exceed the obsolete
+ archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
+
+ Creates an archive copy of source file either by compressing it or moving to a new location in the file
+ system. Which action will be used is determined by the value of parameter.
+
+ File name to be archived.
+ Name of the archive file.
+ Enables file compression
+
+
+
+
+ Archives the using a date and sequence style numbering. Archives will be stamped
+ with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in
+ combination with the date).
+
+
+ When the number of archive files exceed the obsolete archives are deleted.
+
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Log event that the instance is currently processing.
+
- Determines whether a file with a different name from is needed to receive .
+ Determines whether a file with a different name from is needed to receive the
+ . This is determined based on the last date and time which the file has been
+ written compared to the time the log event was initiated.
+
+ when log event time is "different" than the last write time; otherwise.
+
- Deletes files among a given list, and stops as soon as the remaining files are fewer than the MaxArchiveFiles setting.
+ Deletes files among a given list, and stops as soon as the remaining files are fewer than the setting.
+ List of the file archives.
- Items are deleted in the same order as in .
- No file is deleted if MaxArchiveFile is equal to zero.
+ Items are deleted in the same order as in . No file is deleted if property is zero.
@@ -17443,21 +18059,180 @@
An enumeration of archive infos, ordered by their file creation date.
-
+
+
+ Gets the collection of files in the specified directory which they match the .
+
+ Directory to searched.
+ Pattern whihc the files will be searched against.
+ Lisf of files matching the pattern.
+
+
+
+ Replaces the string-based pattern i.e. {#} in a file name with the value passed in parameter.
+
+ File name which contains the string-based pattern.
+ Value which will replace the string-based pattern.
+
+ File name with the value of in the position of the string-based pattern.
+
+
+
+
+ Archives the using a date style numbering. Archives will be stamped with the
+ prior period (Year, Month, Day, Hour, Minute) datetime. When the number of archive files exceed the obsolete archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
Deletes archive files in reverse chronological order until only the
MaxArchiveFiles number of archive files remain.
The pattern that archive filenames will match
+
+
+ Gets the correct formating to be used based on the value of for converting values which will be inserting into file
+ names during archiving.
+
+ This value will be computed only when a empty value or is passed into
+
+ Date format to used irrespectively of value.
+ Formatting for dates.
+
+
+
+ Invokes the archiving process after determining when and which type of archiving is required.
+
+ File name to be checked and archived.
+ Log event that the instance is currently processing.
+
Gets the pattern that archive files will match
Filename of the log file
- Log event info of the log that is currently been written
+ Log event that the instance is currently processing.
A string with a pattern that will match the archive filenames
+
+
+ Indicates if the automatic archiving process should be executed.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on file size constrains.
+
+ File name to be written.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on date/time constrains.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ when archiving should be executed; otherwise.
+
+
+
+ The sequence of to be written for the file header.
+
+ Sequence of to be written.
+
+
+
+ The sequence of to be written for the file footer.
+
+ Sequence of to be written.
+
+
+
+ Evaluates which parts of a file should be written (header, content, footer) based on various properties of
+ instance and writes them.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Raw sequence of to be written into the content part of the file.
+ Indicates that only content section should be written in the file.
+
+
+
+ Initialise a file to be used by the instance. Based on the number of initialised
+ files and the values of various instance properties clean up and/or archiving processes can be invoked.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Indicates that only content section should be written in the file.
+ when file header should be written; otherwise.
+
+
+
+ Writes the file footer and uninitialise the file in instance internal structures.
+
+ File name to be written.
+
+
+
+ Invokes the archiving and clean up of older archive file based on the values of and properties respectively.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+
+
+
+ Creates the file specified in and writes the file content in each entirety i.e.
+ Header, Content and Footer.
+
+ The name of the file to be written.
+ Sequence of to be written in the content section of the file.
+ This method is used when the content of the log file is re-written on every write.
+
+
+
+ Writes the header information to a file.
+
+ File appender associated with the file.
+
+
+
+ Returns the length of a specified file and the last time it has been written. File appender is queried before the file system.
+
+ File which the information are requested.
+ The last time the file has been written is returned.
+ The length of the file is returned.
+ when file details returned; otherwise.
+
+
+
+ The sequence of to be written in a file after applying any formating and any
+ transformations required from the .
+
+ The layout used to render output message.
+ Sequence of to be written.
+ Usually it is used to render the header and hooter of the files.
+
+
+
+ Replaces any invalid characters found in the with underscore i.e _ character.
+ Invalid characters are defined by .NET framework and they returned by method.
+ Note: not implemented in Silverlight
+
+ The original file name which might contain invalid characters.
+ The cleaned up file name without any invalid characters.
+
Gets or sets the name of the file to write to.
@@ -17475,6 +18250,12 @@
+
+
+ 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.
+
+
Gets or sets a value indicating whether to create directories if they do not exist.
@@ -17494,16 +18275,6 @@
-
-
- Gets or sets a value indicating whether to archive old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
- After archiving the old file, the current log file will be empty.
-
-
-
Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
@@ -17535,15 +18306,6 @@
-
-
- Gets or sets a value specifying the date format to use when archving files.
-
-
- This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
-
-
-
Gets or sets the file attributes (Windows only).
@@ -17642,6 +18404,25 @@
+
+
+ Gets or sets a value indicating whether to archive old log file on startup.
+
+
+ This option works only when the "FileName" parameter denotes a single file.
+ After archiving the old file, the current log file will be empty.
+
+
+
+
+
+ Gets or sets a value specifying the date format to use when archving files.
+
+
+ This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
+
+
+
Gets or sets the size in bytes above which log files will be automatically archived.
@@ -17692,22 +18473,34 @@
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
-
-
Gets or sets the way file archives are numbered.
+
+
+ Gets or sets a value indicating whether to compress archive files into the zip archive format.
+
+
+
+
+
+ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
+
+
Gets the characters that are appended after each line.
+
+
+ Creates an instance of class.
+
+ Maximum number of archive files to be kept.
+
Adds a file into archive.
@@ -17716,21 +18509,25 @@
Original file name
Create a directory, if it does not exist
Enables file compression
- true if the file has been moved successfully; false otherwise
+ if the file has been moved successfully; otherwise.
+
+
+
+ Creates an instance of class.
+
-
+ Archives the file, either by copying it to a new file system location or by compressing it, and add the file name into the list of archives.
-
-
-
-
+ Target file name.
+ Original file name.
+ Create a directory, if it does not exist.
+ Enables file compression.
- Remove old archive files when the files on the queue are more than the
- MaxArchiveFilesToKeep.
+ Remove old archive files when the files on the queue are more than the .
@@ -17746,10 +18543,15 @@
Original Filename trace.log
Target Filename trace.15.log
- Original filename
+ Original file name.
Number starting point
File name suitable for archiving
+
+
+ Gets or sets the maximum number of archive files that should be kept.
+
+
Characters determining the start of the .
@@ -17973,6 +18775,7 @@
service configuration - binding and endpoint address
+ virtual is used by endusers
@@ -18097,7 +18900,7 @@
- Set propertes of
+ Set properties of
last event for username/password
client to set properties on
@@ -18215,7 +19018,7 @@
Gets or sets a value indicating whether SSL (secure sockets layer) should be used when communicating with SMTP server.
-
+ .
@@ -18229,6 +19032,18 @@
+
+
+ Specifies how outgoing email messages will be handled.
+
+
+
+
+
+ Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
+
+
+
Gets or sets the priority used for sending mails.
@@ -18417,6 +19232,26 @@
+
+
+ The action to be taken when there are more connections then the max.
+
+
+
+
+ Just allow it.
+
+
+
+
+ Discard the connection item.
+
+
+
+
+ Block until there's more room in the queue.
+
+
Action that should be taken if the message overflows.
@@ -18627,6 +19462,12 @@
+
+
+ The value by which to increment the counter.
+
+
+
SMTP authentication modes.
diff --git a/app/packages/NLog.4.2.3/lib/sl4/NLog.dll b/app/packages/NLog.4.2.3/lib/sl4/NLog.dll
new file mode 100644
index 0000000..ce8f011
Binary files /dev/null and b/app/packages/NLog.4.2.3/lib/sl4/NLog.dll differ
diff --git a/app/packages/NLog.4.1.2/lib/sl4/NLog.xml b/app/packages/NLog.4.2.3/lib/sl4/NLog.xml
similarity index 94%
rename from app/packages/NLog.4.1.2/lib/sl4/NLog.xml
rename to app/packages/NLog.4.2.3/lib/sl4/NLog.xml
index 9309641..6d84e01 100644
--- a/app/packages/NLog.4.1.2/lib/sl4/NLog.xml
+++ b/app/packages/NLog.4.2.3/lib/sl4/NLog.xml
@@ -475,6 +475,16 @@
The log event.
The continuation.
+
+
+ Gets the log event.
+
+
+
+
+ Gets the continuation.
+
+
Implements the operator ==.
@@ -508,16 +518,6 @@
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
- Gets the log event.
-
-
-
-
- Gets the continuation.
-
-
NLog internal logger.
@@ -528,6 +528,67 @@
Initializes static members of the InternalLogger class.
+
+
+ Gets or sets the internal log level.
+
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console output stream.
+
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console error stream.
+
+
+
+
+ Gets or sets the file path of the internal log file.
+
+ A value of value disables internal logging to a file.
+
+
+
+ Gets or sets the text writer that will receive internal logs.
+
+
+
+
+ Gets or sets a value indicating whether timestamp should be included in internal log output.
+
+
+
+
+ Gets a value indicating whether internal log includes Trace messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Debug messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Info messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Warn messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Error messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Fatal messages.
+
+
Logs the specified message at the specified level.
@@ -621,66 +682,11 @@
Log message.
-
+
- Gets or sets the internal log level.
-
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console output stream.
-
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console error stream.
-
-
-
-
- Gets or sets the file path of the internal log file.
-
- A value of value disables internal logging to a file.
-
-
-
- Gets or sets the text writer that will receive internal logs.
-
-
-
-
- Gets or sets a value indicating whether timestamp should be included in internal log output.
-
-
-
-
- Gets a value indicating whether internal log includes Trace messages.
-
-
-
-
- Gets a value indicating whether internal log includes Debug messages.
-
-
-
-
- Gets a value indicating whether internal log includes Info messages.
-
-
-
-
- Gets a value indicating whether internal log includes Warn messages.
-
-
-
-
- Gets a value indicating whether internal log includes Error messages.
-
-
-
-
- Gets a value indicating whether internal log includes Fatal messages.
+ Logs the assembly version and file version of the given Assembly.
+ The assembly to log.
@@ -689,12 +695,17 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Buffer size.
Whether buffer should grow as it becomes full.
The maximum number of items that the buffer can grow to.
+
+
+ Gets the number of items in the array.
+
+
Adds the specified log event to the buffer.
@@ -708,16 +719,64 @@
Events in the buffer.
-
-
- Gets the number of items in the array.
-
-
Condition and expression.
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the AND expression.
+ Right hand side of the AND expression.
+
+
+
+ Gets the left hand side of the AND expression.
+
+
+
+
+ Gets the right hand side of the AND expression.
+
+
+
+
+ Returns a string representation of this expression.
+
+ A concatenated '(Left) and (Right)' string.
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the conjunction operator.
+
+
+
+ Exception during evaluation of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
Base class for representing nodes in condition expression trees.
@@ -752,59 +811,6 @@
Evaluation context.
Expression result.
-
-
- Initializes a new instance of the class.
-
- Left hand side of the AND expression.
- Right hand side of the AND expression.
-
-
-
- Returns a string representation of this expression.
-
- A concatenated '(Left) and (Right)' string.
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the conjunction operator.
-
-
-
- Gets the left hand side of the AND expression.
-
-
-
-
- Gets the right hand side of the AND expression.
-
-
-
-
- Exception during evaluation of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
Condition layout expression (represented by a string literal
@@ -813,10 +819,16 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The layout.
+
+
+ Gets the layout.
+
+ The layout.
+
Returns a string representation of this expression.
@@ -831,12 +843,6 @@
Evaluation context.
The value of the layout.
-
-
- Gets the layout.
-
- The layout.
-
Condition level expression (represented by the level keyword).
@@ -862,10 +868,16 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Literal value.
+
+
+ Gets the literal value.
+
+ The literal value.
+
Returns a string representation of the expression.
@@ -879,12 +891,6 @@
Evaluation context.
The literal value as passed in the constructor.
-
-
- Gets the literal value.
-
- The literal value.
-
Condition logger name expression (represented by the logger keyword).
@@ -926,27 +932,9 @@
Marks class as a log event Condition and assigns a name to it.
-
-
- Attaches a simple name to an item (such as ,
- , , etc.).
-
-
-
-
- Initializes a new instance of the class.
-
- The name of the item.
-
-
-
- Gets the name of the item.
-
- The name of the item.
-
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Condition method name.
@@ -957,12 +945,23 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the condition method.
of the condition method.
The method parameters.
+
+
+ Gets the method info.
+
+
+
+
+ Gets the method parameters.
+
+ The method parameters.
+
Returns a string representation of the expression.
@@ -978,17 +977,6 @@
Evaluation context.
Expression result.
-
-
- Gets the method info.
-
-
-
-
- Gets the method parameters.
-
- The method parameters.
-
A bunch of utility methods (mostly predicates) which can be used in
@@ -1058,10 +1046,16 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The expression.
+
+
+ Gets the expression to be negated.
+
+ The expression.
+
Returns a string representation of the expression.
@@ -1077,12 +1071,6 @@
Evaluation context.
Expression result.
-
-
- Gets the expression to be negated.
-
- The expression.
-
Condition or expression.
@@ -1090,11 +1078,23 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Left hand side of the OR expression.
Right hand side of the OR expression.
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
Returns a string representation of the expression.
@@ -1110,18 +1110,6 @@
Evaluation context.
The value of the alternative operator.
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
Exception during parsing of condition expression.
@@ -1129,18 +1117,18 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
The inner exception.
@@ -1194,12 +1182,30 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The left expression.
The right expression.
The relational operator.
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+ Gets the relational operator.
+
+ The operator.
+
Returns a string representation of the expression.
@@ -1224,24 +1230,6 @@
The relational operator.
Result of the given relational operator.
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
- Gets the relational operator.
-
- The operator.
-
Relational operators used in conditions.
@@ -1288,6 +1276,30 @@
The string reader.
+
+
+ Gets the token position.
+
+ The token position.
+
+
+
+ Gets the type of the token.
+
+ The type of the token.
+
+
+
+ Gets the token value.
+
+ The token value.
+
+
+
+ Gets the value of a string token.
+
+ The string token value.
+
Asserts current token type and advances to the next token.
@@ -1354,30 +1366,6 @@
current char
is match
-
-
- Gets the token position.
-
- The token position.
-
-
-
- Gets the type of the token.
-
- The type of the token.
-
-
-
- Gets the token value.
-
- The token value.
-
-
-
- Gets the value of a string token.
-
- The string token value.
-
Mapping between characters and token types for punctuations.
@@ -1403,7 +1391,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
@@ -1419,7 +1407,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The type of the array item.
The XML element name that represents the item.
@@ -1446,57 +1434,20 @@
Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog.
-
-
- Initializes static members of the class.
-
-
Initializes a new instance of the class.
The assemblies to scan for named items.
-
-
- Registers named items from the assembly.
-
- The assembly.
-
-
-
- Registers named items from the assembly.
-
- The assembly.
- Item name prefix.
-
-
-
- Clears the contents of all factories.
-
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Builds the default configuration item factory.
-
- Default factory.
-
-
-
- Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll.
-
-
Gets or sets default singleton instance of .
+
+ This property implements lazy instantiation so that the is not built before
+ the internal logger is configured.
+
@@ -1548,6 +1499,42 @@
The condition method factory.
+
+
+ Registers named items from the assembly.
+
+ The assembly.
+
+
+
+ Registers named items from the assembly.
+
+ The assembly.
+ Item name prefix.
+
+
+
+ Clears the contents of all factories.
+
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Builds the default configuration item factory.
+
+ Default factory.
+
+
+
+ Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll.
+
+
Attribute used to mark the default parameters for layout renderers.
@@ -1555,7 +1542,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
@@ -1565,48 +1552,6 @@
The base type of each item.
The type of the attribute used to annotate items.
-
-
- Represents a factory of named items (such as targets, layouts, layout renderers, etc.).
-
- Base type for each item instance.
- Item definition type (typically or ).
-
-
-
- Registers new item definition.
-
- Name of the item.
- Item definition.
-
-
-
- Tries to get registered item definition.
-
- Name of the item.
- Reference to a variable which will store the item definition.
- Item definition.
-
-
-
- Creates item instance.
-
- Name of the item.
- Newly created item instance.
-
-
-
- Tries to create an item instance.
-
- Name of the item.
- The result.
- True if instance was created successfully, false otherwise.
-
-
-
- Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.).
-
-
Scans the assembly.
@@ -1663,6 +1608,11 @@
The name of the item.
Created item.
+
+
+ Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.).
+
+
Implemented by objects which support installation and uninstallation.
@@ -1689,6 +1639,43 @@
Value indicating whether the item is installed or null if it is not possible to determine.
+
+
+ Represents a factory of named items (such as targets, layouts, layout renderers, etc.).
+
+ Base type for each item instance.
+ Item definition type (typically or ).
+
+
+
+ Registers new item definition.
+
+ Name of the item.
+ Item definition.
+
+
+
+ Tries to get registered item definition.
+
+ Name of the item.
+ Reference to a variable which will store the item definition.
+ Item definition.
+
+
+
+ Creates item instance.
+
+ Name of the item.
+ Newly created item instance.
+
+
+
+ Tries to create an item instance.
+
+ Name of the item.
+ The result.
+ True if instance was created successfully, false otherwise.
+
Provides context for install/uninstall operations.
@@ -1705,6 +1692,26 @@
The log output.
+
+
+ Gets or sets the installation log level.
+
+
+
+
+ Gets or sets a value indicating whether to ignore failures during installation.
+
+
+
+
+ Gets the installation parameters.
+
+
+
+
+ Gets or sets the log output.
+
+
Logs the specified trace message.
@@ -1751,26 +1758,6 @@
Log event info object.
-
-
- Gets or sets the installation log level.
-
-
-
-
- Gets or sets a value indicating whether to ignore failures during installation.
-
-
-
-
- Gets the installation parameters.
-
-
-
-
- Gets or sets the log output.
-
-
Keeps logging configuration and provides simple API
@@ -1784,7 +1771,51 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+
+
+ Use the old exception log handling of NLog 3.0?
+
+
+
+
+ Gets the variables defined in the configuration.
+
+
+
+
+ Gets a collection of named targets specified in the configuration.
+
+
+ A list of named targets.
+
+
+ Unnamed targets (such as those wrapped by other targets) are not returned.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+
+
+
+
+ Gets the collection of logging rules.
+
+
+
+
+ Gets or sets the default culture info to use as .
+
+
+ Specific culture info or null to use
+
+
+
+
+ Gets all targets.
@@ -1869,6 +1900,16 @@
Closes all targets and releases any unmanaged resources.
+
+
+ Log to the internal (NLog) logger the information about the and associated with this instance.
+
+
+ The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
+ recorded.
+
+
Flushes any pending log messages on all appenders.
@@ -1880,50 +1921,6 @@
Validates the configuration.
-
-
- Use the old exception log handling of NLog 3.0?
-
-
-
-
- Gets the variables defined in the configuration.
-
-
-
-
- Gets a collection of named targets specified in the configuration.
-
-
- A list of named targets.
-
-
- Unnamed targets (such as those wrapped by other targets) are not returned.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
-
-
-
-
- Gets the collection of logging rules.
-
-
-
-
- Gets or sets the default culture info to use as .
-
-
- Specific culture info or null to use
-
-
-
-
- Gets all targets.
-
-
Arguments for events.
@@ -1931,7 +1928,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The old configuration.
The new configuration.
@@ -1955,12 +1952,12 @@
- Create an empty .
+ Create an empty .
- Create a new with a which writes to .
+ Create a new with a which writes to .
Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
Minimum log level needed to trigger this rule.
@@ -1968,11 +1965,44 @@
- Create a (disabled) . You should call to enable logging.
+ Create a (disabled) . You should call to enable logging.
Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
Target to be written to when the rule matches.
+
+
+ Gets a collection of targets that should be written to when this rule matches.
+
+
+
+
+ Gets a collection of child rules to be evaluated when this rule matches.
+
+
+
+
+ Gets a collection of filters to be checked before writing to targets.
+
+
+
+
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+
+ Gets or sets logger name pattern.
+
+
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends but not anywhere else.
+
+
+
+
+ Gets the collection of log levels enabled by this rule.
+
+
Enables logging for a particular level.
@@ -2007,39 +2037,6 @@
String to be matched.
A value of when the name matches, otherwise.
-
-
- Gets a collection of targets that should be written to when this rule matches.
-
-
-
-
- Gets a collection of child rules to be evaluated when this rule matches.
-
-
-
-
- Gets a collection of filters to be checked before writing to targets.
-
-
-
-
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
-
- Gets or sets logger name pattern.
-
-
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends but not anywhere else.
-
-
-
-
- Gets the collection of log levels enabled by this rule.
-
-
Factory for locating methods.
@@ -2047,6 +2044,16 @@
The type of the class marker attribute.
The type of the method marker attribute.
+
+
+ Gets a collection of all registered items in the factory.
+
+
+ Sequence of key/value pairs where each key represents the name
+ of the item and value is the of
+ the item.
+
+
Scans the assembly for classes marked with
@@ -2098,15 +2105,23 @@
The result.
A value of true if the method was found, false otherwise.
-
+
- Gets a collection of all registered items in the factory.
+ Attaches a simple name to an item (such as ,
+ , , etc.).
-
- Sequence of key/value pairs where each key represents the name
- of the item and value is the of
- the item.
-
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the item.
+
+
+
+ Gets the name of the item.
+
+ The name of the item.
@@ -2150,6 +2165,26 @@
Prevents a default instance of the class from being created.
+
+
+ Gets the element name.
+
+
+
+
+ Gets the dictionary of attribute values.
+
+
+
+
+ Gets the collection of child elements.
+
+
+
+
+ Gets the value of the element.
+
+
Returns children elements with the specified element name.
@@ -2187,26 +2222,6 @@
The allowed names.
-
-
- Gets the element name.
-
-
-
-
- Gets the dictionary of attribute values.
-
-
-
-
- Gets the collection of child elements.
-
-
-
-
- Gets the value of the element.
-
-
Attribute used to mark the required parameters for targets,
@@ -2295,37 +2310,55 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Configuration file to be read.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Configuration file to be read.
Ignore any errors during configuration.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
containing the configuration section.
Name of the file that contains the element (to be used as a base for including other files).
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
containing the configuration section.
Name of the file that contains the element (to be used as a base for including other files).
Ignore any errors during configuration.
+
+
+ Did the Succeeded? true= success, false= error, null = initialize not started yet.
+
+
+
+
+ Gets or sets a value indicating whether the configuration files
+ should be watched for changes and reloaded automatically when changed.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+ This is the list of configuration files processed.
+ If the autoReload attribute is not set it returns empty collection.
+
+
- Re-reads the original configuration file and returns the new object.
+ Re-reads the original configuration file and returns the new object.
- The new object.
+ The new object.
@@ -2397,24 +2430,6 @@
-
-
- Did the Succeeded? true= success, false= error, null = initialize not started yet.
-
-
-
-
- Gets or sets a value indicating whether the configuration files
- should be watched for changes and reloaded automatically when changed.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
- This is the list of configuration files processed.
- If the autoReload attribute is not set it returns empty collection.
-
-
Matches when the specified condition is met.
@@ -2424,6 +2439,23 @@
described here.
+
+
+ Gets or sets the condition expression.
+
+
+
+
+
+ Checks whether log event should be logged or not.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
An abstract filter class. Provides a way to eliminate log messages
@@ -2432,9 +2464,15 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+ Gets or sets the action to be taken when filter matches.
+
+
+
Gets the result of evaluating filter against given log event.
@@ -2453,29 +2491,6 @@
- if the log event should be logged
.
-
-
- Gets or sets the action to be taken when filter matches.
-
-
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Gets or sets the condition expression.
-
-
-
Marks class as a layout renderer and assigns a name to it.
@@ -2483,7 +2498,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the filter.
@@ -2524,7 +2539,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
@@ -2540,17 +2555,6 @@
This filter is deprecated in favor of <when /> which is based on conditions.
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
Gets or sets a value indicating whether to ignore case when comparing strings.
@@ -2563,13 +2567,7 @@
-
-
- Matches when the calculated layout is equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
+
Checks whether log event should be logged or not.
@@ -2580,6 +2578,12 @@
- if the log event should be logged
.
+
+
+ Matches when the calculated layout is equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
Gets or sets a value indicating whether to ignore case when comparing strings.
@@ -2592,13 +2596,7 @@
-
-
- Matches when the calculated layout does NOT contain the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
+
Checks whether log event should be logged or not.
@@ -2609,6 +2607,12 @@
- if the log event should be logged
.
+
+
+ Matches when the calculated layout does NOT contain the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
Gets or sets the substring to be matched.
@@ -2621,18 +2625,7 @@
-
-
- Matches when the calculated layout is NOT equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
+
Checks whether log event should be logged or not.
@@ -2643,6 +2636,17 @@
- if the log event should be logged
.
+
+
+ Matches when the calculated layout is NOT equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+
Gets or sets a string to compare the layout to.
@@ -2655,6 +2659,17 @@
+
+
+ Checks whether log event should be logged or not.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
A fluent class to build log events for NLog.
@@ -2673,6 +2688,11 @@
The to send the log event.
The for the log event.
+
+
+ Gets the created by the builder.
+
+
Sets the information of the logging event.
@@ -2803,11 +2823,6 @@
If condition is true, write log event; otherwise ignore event.
-
-
- Gets the created by the builder.
-
-
Extension methods for NLog .
@@ -2979,225 +2994,41 @@
Provides logging interface and utility functions.
-
+
- Gets a value indicating whether logging is enabled for the specified level.
+ Gets a value indicating whether logging is enabled for the Trace level.
- Log level to be checked.
- A value of if logging is enabled for the specified level, otherwise it returns .
+ A value of if logging is enabled for the Trace level, otherwise it returns .
-
+
- Writes the specified diagnostic message.
+ Gets a value indicating whether logging is enabled for the Debug level.
- Log event.
+ A value of if logging is enabled for the Debug level, otherwise it returns .
-
+
- Writes the specified diagnostic message.
+ Gets a value indicating whether logging is enabled for the Info level.
- The name of the type that wraps Logger.
- Log event.
+ A value of if logging is enabled for the Info level, otherwise it returns .
-
-
- Writes the diagnostic message at the specified level using the specified format provider and format parameters.
-
+
- Writes the diagnostic message at the specified level.
+ Gets a value indicating whether logging is enabled for the Warn level.
- Type of the value.
- The log level.
- The value to be written.
+ A value of if logging is enabled for the Warn level, otherwise it returns .
-
+
- Writes the diagnostic message at the specified level.
+ Gets a value indicating whether logging is enabled for the Error level.
- Type of the value.
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- The value to be written.
+ A value of if logging is enabled for the Error level, otherwise it returns .
-
+
- Writes the diagnostic message at the specified level.
+ Gets a value indicating whether logging is enabled for the Fatal level.
- The log level.
- A function returning message to be written. Function is not evaluated if logging is not enabled.
-
-
-
- Writes the diagnostic message and exception at the specified level.
-
- The log level.
- A to be written.
- An exception to be logged.
-
-
-
- Writes the diagnostic message and exception at the specified level.
-
- The log level.
- A to be written.
- Arguments to format.
- An exception to be logged.
-
-
-
- Writes the diagnostic message and exception at the specified level.
-
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A to be written.
- Arguments to format.
- An exception to be logged.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider.
-
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A containing format items.
- Arguments to format.
-
-
-
- Writes the diagnostic message at the specified level.
-
- The log level.
- Log message.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameters.
-
- The log level.
- A containing format items.
- Arguments to format.
-
-
-
- Writes the diagnostic message and exception at the specified level.
-
- The log level.
- A to be written.
- An exception to be logged.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider.
-
- The type of the argument.
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A containing one format item.
- The argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameter.
-
- The type of the argument.
- The log level.
- A containing one format item.
- The argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
-
- The type of the first argument.
- The type of the second argument.
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A containing one format item.
- The first argument to format.
- The second argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameters.
-
- The type of the first argument.
- The type of the second argument.
- The log level.
- A containing one format item.
- The first argument to format.
- The second argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A containing one format item.
- The first argument to format.
- The second argument to format.
- The third argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameters.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- The log level.
- A containing one format item.
- The first argument to format.
- The second argument to format.
- The third argument to format.
-
-
-
- Occurs when logger configuration changes.
-
-
-
-
- Gets the name of the logger.
-
-
-
-
- Gets the factory that created this logger.
-
-
-
-
- Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
-
-
-
-
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
-
- Action to execute.
-
-
-
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Result returned by the provided function or fallback value in case of exception.
-
-
-
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
- Result returned by the provided function or fallback value in case of exception.
+ A value of if logging is enabled for the Fatal level, otherwise it returns .
@@ -4033,41 +3864,200 @@
The second argument to format.
The third argument to format.
-
+
- Gets a value indicating whether logging is enabled for the Trace level.
+ Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
- A value of if logging is enabled for the Trace level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Debug level.
+ Occurs when logger configuration changes.
- A value of if logging is enabled for the Debug level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Info level.
+ Gets the name of the logger.
- A value of if logging is enabled for the Info level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Warn level.
+ Gets the factory that created this logger.
- A value of if logging is enabled for the Warn level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Error level.
+ Gets a value indicating whether logging is enabled for the specified level.
- A value of if logging is enabled for the Error level, otherwise it returns .
+ Log level to be checked.
+ A value of if logging is enabled for the specified level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Fatal level.
+ Writes the specified diagnostic message.
- A value of if logging is enabled for the Fatal level, otherwise it returns .
+ Log event.
+
+
+
+ Writes the specified diagnostic message.
+
+ The name of the type that wraps Logger.
+ Log event.
+
+
+
+ Writes the diagnostic message at the specified level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the specified level.
+
+ Type of the value.
+ The log level.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ Type of the value.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ The log level.
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ Arguments to format.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ Arguments to format.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ The log level.
+ Log message.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The log level.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider.
+
+ The type of the argument.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameter.
+
+ The type of the argument.
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The log level.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ The log level.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
@@ -4082,56 +4072,6 @@
The implementation.
-
-
- Adds an element with the provided key and value to the object.
-
- The to use as the key of the element to add.
- The to use as the value of the element to add.
-
-
-
- Removes all elements from the object.
-
-
-
-
- Determines whether the object contains an element with the specified key.
-
- The key to locate in the object.
-
- True if the contains an element with the key; otherwise, false.
-
-
-
-
- Returns an object for the object.
-
-
- An object for the object.
-
-
-
-
- Removes the element with the specified key from the object.
-
- The key of the element to remove.
-
-
-
- Copies the elements of the to an , starting at a particular index.
-
- The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
- The zero-based index in at which copying begins.
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
Gets an object containing the values in the object.
@@ -4199,6 +4139,56 @@
Dictionary key.
Value corresponding to key or null if not found
+
+
+ Adds an element with the provided key and value to the object.
+
+ The to use as the key of the element to add.
+ The to use as the value of the element to add.
+
+
+
+ Removes all elements from the object.
+
+
+
+
+ Determines whether the object contains an element with the specified key.
+
+ The key to locate in the object.
+
+ True if the contains an element with the key; otherwise, false.
+
+
+
+
+ Returns an object for the object.
+
+
+ An object for the object.
+
+
+
+
+ Removes the element with the specified key from the object.
+
+ The key of the element to remove.
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
Wrapper IDictionaryEnumerator.
@@ -4206,23 +4196,10 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped.
-
-
- Advances the enumerator to the next element of the collection.
-
-
- True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
-
-
-
-
- Sets the enumerator to its initial position, which is before the first element in the collection.
-
-
Gets both the key and the value of the current dictionary entry.
@@ -4259,6 +4236,19 @@
The current element in the collection.
+
+
+ Advances the enumerator to the next element of the collection.
+
+
+ True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
+
+
+
+
+ Sets the enumerator to its initial position, which is before the first element in the collection.
+
+
UTF-8 BOM 239, 187, 191
@@ -4327,11 +4317,6 @@
Adapter for to
-
-
- Interface for fakeable the current . Not fully implemented, please methods/properties as necessary.
-
-
Initializes a new instance of the class.
@@ -4343,6 +4328,11 @@
Gets a the current wrappered in a .
+
+
+ Interface for fakeable the current . Not fully implemented, please methods/properties as necessary.
+
+
Base class for optimized file appenders.
@@ -4350,11 +4340,35 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the file.
The create parameters.
+
+
+ Gets the path of the file, including file extension.
+
+ The name of the file.
+
+
+
+ Gets the last write time.
+
+ The last write time. DateTime value must be of UTC kind.
+
+
+
+ Gets the open time of the file.
+
+ The open time. DateTime value must be of UTC kind.
+
+
+
+ Gets the file creation parameters.
+
+ The file creation parameters.
+
Writes the specified bytes.
@@ -4376,7 +4390,7 @@
Gets the file info.
The last file write time. The value must be of UTC kind.
- Length of the file.
+ Length of the file in bytes.
True if the operation succeeded, false otherwise.
@@ -4408,30 +4422,6 @@
If set to true sets the file stream to allow shared writing.
A object which can be used to write to the file.
-
-
- Gets the name of the file.
-
- The name of the file.
-
-
-
- Gets the last write time.
-
- The last write time. DateTime value must be of UTC kind.
-
-
-
- Gets the open time of the file.
-
- The open time. DateTime value must be of UTC kind.
-
-
-
- Gets the file creation parameters.
-
- The file creation parameters.
-
Implementation of which caches
@@ -4440,7 +4430,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the file.
The parameters.
@@ -4474,19 +4464,6 @@
Factory class which creates objects.
-
-
- Interface implemented by all factories capable of creating file appenders.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
- Instance of which can be used to write to the file.
-
Opens the appender for given file name and parameters.
@@ -4497,6 +4474,92 @@
Instance of which can be used to write to the file.
+
+
+ Maintains a collection of file appenders usually associated with file targets.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The size of the list should be positive. No validations are performed during initialisation as it is an
+ intenal class.
+
+ Total number of appenders allowed in list.
+ Factory used to create each appender.
+ Parameters used for creating a file.
+
+
+
+ Gets the parameters which will be used for creating a file.
+
+
+
+
+ Gets the file appender factory used by all the appenders in this list.
+
+
+
+
+ Gets the number of appenders which the list can hold.
+
+
+
+
+ It allocates the first slot in the list when the file name does not already in the list and clean up any
+ unused slots.
+
+ File name associated with a single appender.
+ The allocated appender.
+
+ Thrown when is called on an Empty instance.
+
+
+
+
+ Close all the allocated appenders.
+
+
+
+
+ Close the allocated appenders initialised before the supplied time.
+
+ The time which prior the appenders considered expired
+
+
+
+ Fluch all the allocated appenders.
+
+
+
+
+ Gets the file info for a particular appender.
+
+ The file name associated with a particular appender.
+ The last file write time. The value must be of UTC kind.
+ Length of the file.
+ when the operation succeeded; otherwise.
+
+
+
+ Closes the specified appender and removes it from the list.
+
+ File name of the appender to be closed.
+
Interface that provides parameters for create file function.
@@ -4546,6 +4609,19 @@
Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
+
+
+ Interface implemented by all factories capable of creating file appenders.
+
+
+
+
+ Opens the appender for given file name and parameters.
+
+ Name of the file.
+ Creation parameters.
+ Instance of which can be used to write to the file.
+
Multi-process and multi-host file appender which attempts
@@ -4554,7 +4630,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the file.
The parameters.
@@ -4607,7 +4683,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the file.
The parameters.
@@ -4720,22 +4796,6 @@
Gets the level of stack trace information required by the implementing class.
-
-
- Define Localizable attribute for platforms that don't have it.
-
-
-
-
- Initializes a new instance of the class.
-
- Determines whether the target is localizable.
-
-
-
- Gets or sets a value indicating whether the target is localizable.
-
-
Logger configuration.
@@ -4743,12 +4803,17 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets by level.
Use the old exception log handling of NLog 3.0?
+
+
+ Use the old exception log handling of NLog 3.0?
+
+
Gets targets for the specified level.
@@ -4765,16 +4830,51 @@
A value of true if the specified level is enabled; otherwise, false.
-
-
- Use the old exception log handling of NLog 3.0?
-
-
Network sender which uses HTTP or HTTPS POST.
+
+
+ Initializes a new instance of the class.
+
+ The network URL.
+
+
+
+ Actually sends the given text over the specified protocol.
+
+ The bytes to be sent.
+ Offset in buffer.
+ Number of bytes to send.
+ The async continuation to be invoked after the buffer has been sent.
+ To be overridden in inheriting classes.
+
+
+
+ Creates instances of objects for given URLs.
+
+
+
+
+ Creates a new instance of the network sender based on a network URL.
+
+
+ URL that determines the network sender to be created.
+
+
+ The maximum queue size.
+
+
+ A newly created network sender.
+
+
+
+
+ Interface for mocking socket calls.
+
+
A base class for all network senders. Supports one-way sending of messages
@@ -4783,7 +4883,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The network URL.
@@ -4792,6 +4892,16 @@
Finalizes an instance of the NetworkSender class.
+
+
+ Gets the address of the network endpoint.
+
+
+
+
+ Gets the last send time.
+
+
Initializes this network sender.
@@ -4858,56 +4968,6 @@
The address family.
Parsed endpoint.
-
-
- Gets the address of the network endpoint.
-
-
-
-
- Gets the last send time.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Actually sends the given text over the specified protocol.
-
- The bytes to be sent.
- Offset in buffer.
- Number of bytes to send.
- The async continuation to be invoked after the buffer has been sent.
- To be overridden in inheriting classes.
-
-
-
- Creates instances of objects for given URLs.
-
-
-
-
- Creates a new instance of the network sender based on a network URL.
-
-
- URL that determines the network sender to be created.
-
-
- The maximum queue size.
-
-
- A newly created network sender.
-
-
-
-
- Interface for mocking socket calls.
-
-
Default implementation of .
@@ -4940,6 +5000,11 @@
Type of the socket.
Type of the protocol.
+
+
+ Gets underlying socket instance.
+
+
Closes the wrapped socket.
@@ -4964,11 +5029,6 @@
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
- Gets underlying socket instance.
-
-
Sends messages over a TCP network connection.
@@ -4988,7 +5048,7 @@
The address family.
Type of the socket.
Type of the protocol.
- Instance of which represents the socket.
+ Instance of which represents the socket.
@@ -5115,6 +5175,16 @@
Usable types from the given assembly.
Types which cannot be loaded are skipped.
+
+
+ Is this a static class?
+
+
+
+ This is a work around, as Type doesn't have this property.
+ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
+
+
Supported operating systems.
@@ -5161,10 +5231,40 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The text to be tokenized.
+
+
+ Current position in
+
+
+
+
+ Full text to be parsed
+
+
+
+
+ Check current char while not changing the position.
+
+
+
+
+
+ Read the current char and change position
+
+
+
+
+
+ Get the substring of the
+
+
+
+
+
Implements a single-call guard around given continuation function.
@@ -5187,6 +5287,15 @@
Provides helpers to sort log events and associated continuations.
+
+
+ Key selector delegate.
+
+ The type of the value.
+ The type of the key.
+ Value to extract key information from.
+ Key selected from log event.
+
Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set.
@@ -5199,15 +5308,6 @@
Dictionary where keys are unique input keys, and values are lists of .
-
-
- Key selector delegate.
-
- The type of the value.
- The type of the key.
- Value to extract key information from.
- Key selected from log event.
-
Utilities for dealing with values.
@@ -5234,17 +5334,11 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The target.
The filter chain.
-
-
- Gets the stack trace usage.
-
- A value that determines stack trace handling.
-
Gets the target.
@@ -5263,6 +5357,12 @@
The next item in the chain.
+
+
+ Gets the stack trace usage.
+
+ A value that determines stack trace handling.
+
Helper for dealing with thread-local storage.
@@ -5357,16 +5457,533 @@
+
+
+ Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
+
+
+
+
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Action to execute.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Result returned by the provided function or the default value of type in case of exception.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Fallback value to return in case of exception.
+ Result returned by the provided function or fallback value in case of exception.
+
Log event context data.
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets string that will be used to separate key/value pairs.
+
+
+
+
+
+ Gets or sets how key/value pairs will be formatted.
+
+
+
+
+
+ Renders all log event's properties and appends them to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Designates a property of the class as an ambient property.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Ambient property name.
+
+
+
+ Assembly version.
+
+
+
+
+ Renders assembly version and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ The call site (class name, method name and source information).
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a value indicating whether to render the class name.
+
+
+
+
+
+ Gets or sets a value indicating whether to render the method name.
+
+
+
+
+
+ Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
+
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+
+
+
+ Gets the level of stack trace information required by the implementing class.
+
+
+
+
+ Renders the call site and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ A counter value (increases on each layout rendering).
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the initial value of the counter.
+
+
+
+
+
+ Gets or sets the value to be added to the counter after each layout rendering.
+
+
+
+
+
+ Gets or sets the name of the sequence. Different named sequences can have individual values.
+
+
+
+
+
+ Renders the specified counter value and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Current date and time.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+ Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
+
+
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+
+
+
+ Renders the current date and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ URI of the HTML page which hosts the current Silverlight application.
+
+
+
+
+ Renders the specified environmental information and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Log event context data.
+
+
+
+
+ Gets or sets the name of the item.
+
+
+
+
+
+ Renders the specified log event context item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Log event context data. See .
+
+
+
+
+ Log event context data with default options.
+
+
+
+
+ Gets or sets the name of the item.
+
+
+
+
+
+ Format string for conversion from object to string.
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+ Renders the specified log event context item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Exception information provided through
+ a call to one of the Logger.*Exception() methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the format of the output. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+
+
+
+
+ Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+
+
+
+
+ Gets or sets the separator used to concatenate parts specified in the Format.
+
+
+
+
+
+ Gets or sets the maximum number of inner exceptions to include in the output.
+ By default inner exceptions are not enabled for compatibility with NLog 1.0.
+
+
+
+
+
+ Gets or sets the separator between inner exceptions.
+
+
+
+
+
+ Renders the specified exception information and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Appends the Message of an Exception to the specified .
+
+ The to append the rendered data to.
+ The exception containing the Message to append.
+
+
+
+ Appends the method name from Exception's stack trace to the specified .
+
+ The to append the rendered data to.
+ The Exception whose method name should be appended.
+
+
+
+ Appends the stack trace from an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose stack trace should be appended.
+
+
+
+ Appends the result of calling ToString() on an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose call to ToString() should be appended.
+
+
+
+ Appends the type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose type should be appended.
+
+
+
+ Appends the short type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose short type should be appended.
+
+
+
+ Appends the contents of an Exception's Data property to the specified .
+
+ The to append the rendered data to.
+ The Exception whose Data property elements should be appended.
+
+
+
+ Find name of method on stracktrace.
+
+ Full stracktrace
+
+
+
+
+ Renders contents of the specified file.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the name of the file.
+
+
+
+
+
+ Gets or sets the encoding used in the file.
+
+ The encoding.
+
+
+
+
+ Renders the contents of the specified file and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ The information about the garbage collector.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the property to retrieve.
+
+
+
+
+
+ Renders the selected process information.
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Gets or sets the property of System.GC to retrieve.
+
+
+
+
+ Total memory allocated.
+
+
+
+
+ Total memory allocated (perform full garbage collection first).
+
+
+
+
+ Gets the number of Gen0 collections.
+
+
+
+
+ Gets the number of Gen1 collections.
+
+
+
+
+ Gets the number of Gen2 collections.
+
+
+
+
+ Maximum generation number supported by GC.
+
+
+
+
+ Global Diagnostics Context item. Provided for compatibility with log4net.
+
+
+
+
+ Gets or sets the name of the item.
+
+
+
+
+
+ Renders the specified Global Diagnostics Context item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Globally-unique identifier (GUID).
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the GUID format as accepted by Guid.ToString() method.
+
+
+
+
+
+ Renders a newly generated GUID string and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Installation parameter (passed to InstallNLogConfig).
+
+
+
+
+ Gets or sets the name of the parameter.
+
+
+
+
+
+ Renders the specified installation parameter and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Render environmental information related to logging events.
+
+
+ Gets the logging configuration this target is part of.
+
+
Returns a that represents this instance.
@@ -5411,7 +6028,7 @@
- Renders the specified environmental information and appends it to the specified .
+ Renders the specified environmental information and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -5432,486 +6049,6 @@
True to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
- Gets the logging configuration this target is part of.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders all log event's properties and appends them to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets string that will be used to separate key/value pairs.
-
-
-
-
-
- Gets or sets how key/value pairs will be formatted.
-
-
-
-
-
- Designates a property of the class as an ambient property.
-
-
-
-
- Initializes a new instance of the class.
-
- Ambient property name.
-
-
-
- Assembly version.
-
-
-
-
- Renders assembly version and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- The call site (class name, method name and source information).
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the call site and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets a value indicating whether to render the class name.
-
-
-
-
-
- Gets or sets a value indicating whether to render the method name.
-
-
-
-
-
- Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
- Gets the level of stack trace information required by the implementing class.
-
-
-
-
- A counter value (increases on each layout rendering).
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the specified counter value and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the initial value of the counter.
-
-
-
-
-
- Gets or sets the value to be added to the counter after each layout rendering.
-
-
-
-
-
- Gets or sets the name of the sequence. Different named sequences can have individual values.
-
-
-
-
-
- Current date and time.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the current date and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
- Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
-
-
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
- URI of the HTML page which hosts the current Silverlight application.
-
-
-
-
- Renders the specified environmental information and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Log event context data.
-
-
-
-
- Renders the specified log event context item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Log event context data. See .
-
-
-
-
- Log event context data with default options.
-
-
-
-
- Renders the specified log event context item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
- Exception information provided through
- a call to one of the Logger.*Exception() methods.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the specified exception information and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Appends the Message of an Exception to the specified .
-
- The to append the rendered data to.
- The exception containing the Message to append.
-
-
-
- Appends the method name from Exception's stack trace to the specified .
-
- The to append the rendered data to.
- The Exception whose method name should be appended.
-
-
-
- Appends the stack trace from an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose stack trace should be appended.
-
-
-
- Appends the result of calling ToString() on an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose call to ToString() should be appended.
-
-
-
- Appends the type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose type should be appended.
-
-
-
- Appends the short type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose short type should be appended.
-
-
-
- Appends the contents of an Exception's Data property to the specified .
-
- The to append the rendered data to.
- The Exception whose Data property elements should be appended.
-
-
-
- Gets or sets the format of the output. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
- Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
- Gets or sets the separator used to concatenate parts specified in the Format.
-
-
-
-
-
- Gets or sets the maximum number of inner exceptions to include in the output.
- By default inner exceptions are not enabled for compatibility with NLog 1.0.
-
-
-
-
-
- Gets or sets the separator between inner exceptions.
-
-
-
-
-
- Renders contents of the specified file.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the contents of the specified file and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the file.
-
-
-
-
-
- Gets or sets the encoding used in the file.
-
- The encoding.
-
-
-
-
- The information about the garbage collector.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the selected process information.
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the property to retrieve.
-
-
-
-
-
- Gets or sets the property of System.GC to retrieve.
-
-
-
-
- Total memory allocated.
-
-
-
-
- Total memory allocated (perform full garbage collection first).
-
-
-
-
- Gets the number of Gen0 collections.
-
-
-
-
- Gets the number of Gen1 collections.
-
-
-
-
- Gets the number of Gen2 collections.
-
-
-
-
- Maximum generation number supported by GC.
-
-
-
-
- Global Diagnostics Context item. Provided for compatibility with log4net.
-
-
-
-
- Renders the specified Global Diagnostics Context item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Globally-unique identifier (GUID).
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders a newly generated GUID string and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the GUID format as accepted by Guid.ToString() method.
-
-
-
-
-
- Installation parameter (passed to InstallNLogConfig).
-
-
-
-
- Renders the specified installation parameter and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the parameter.
-
-
-
Marks class as a layout renderer and assigns a format string to it.
@@ -5919,7 +6056,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the layout renderer.
@@ -5930,7 +6067,7 @@
- Renders the current log level and appends it to the specified .
+ Renders the current log level and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -5946,29 +6083,29 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The literal text value.
This is used by the layout compiler.
-
-
- Renders the specified string literal and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the literal text.
+
+
+ Renders the specified string literal and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
XML event description compatible with log4j, Chainsaw and NLogViewer.
@@ -5976,21 +6113,14 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Renders the XML logging event and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
@@ -6025,13 +6155,13 @@
Gets or sets a value indicating whether to include contents of the dictionary.
-
+
Gets or sets a value indicating whether to include contents of the stack.
-
+
@@ -6044,60 +6174,67 @@
Gets the level of stack trace information required by the implementing class.
+
+
+ Renders the XML logging event and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
The logger name.
-
-
- Renders the logger name and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character).
+
+
+ Renders the logger name and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.mmm.
-
-
- Renders the date in the long format (yyyy-MM-dd HH:mm:ss.mmm) and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+ Renders the date in the long format (yyyy-MM-dd HH:mm:ss.mmm) and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Mapped Diagnostic Context item. Provided for compatibility with log4net.
-
-
- Renders the specified MDC item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the name of the item.
+
+
+ Renders the specified MDC item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
The formatted log message.
@@ -6105,16 +6242,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Renders the log message including any positional parameters and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to log exception along with message.
@@ -6127,6 +6257,13 @@
+
+
+ Renders the log message including any positional parameters and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Nested Diagnostic Context item. Provided for compatibility with log4net.
@@ -6134,16 +6271,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Renders the specified Nested Diagnostics Context item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the number of top stack frames to be rendered.
@@ -6162,6 +6292,13 @@
+
+
+ Renders the specified Nested Diagnostics Context item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
A newline literal.
@@ -6169,7 +6306,7 @@
- Renders the specified string literal and appends it to the specified .
+ Renders the specified string literal and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6181,7 +6318,7 @@
- Renders the current process running time and appends it to the specified .
+ Renders the current process running time and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6191,19 +6328,19 @@
The short date in a sortable format yyyy-MM-dd.
-
-
- Renders the current short date string (yyyy-MM-dd) and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+ Renders the current short date string (yyyy-MM-dd) and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Information about Silverlight application.
@@ -6214,6 +6351,12 @@
Initializes a new instance of the class.
+
+
+ Gets or sets specific information to display.
+
+
+
Renders the specified environmental information and appends it to the specified .
@@ -6221,12 +6364,6 @@
The to append the rendered data to.
Logging event.
-
-
- Gets or sets specific information to display.
-
-
-
Specifies application information to display in ${sl-appinfo} renderer.
@@ -6257,13 +6394,6 @@
System special folder path (includes My Documents, My Music, Program Files, Desktop, and more).
-
-
- Renders the directory where NLog is located and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the system special folder to use.
@@ -6295,6 +6425,13 @@
+
+
+ Renders the directory where NLog is located and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Format of the ${stacktrace} layout renderer output.
@@ -6322,16 +6459,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Renders the call site and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the output format of the stack trace.
@@ -6362,18 +6492,18 @@
+
+
+ Renders the call site and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
A temporary directory.
-
-
- Renders the directory where NLog is located and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the name of the file to be Path.Combine()'d with the directory name.
@@ -6386,6 +6516,13 @@
+
+
+ Renders the directory where NLog is located and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
The identifier of the current thread.
@@ -6393,7 +6530,7 @@
- Renders the current thread identifier and appends it to the specified .
+ Renders the current thread identifier and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6405,7 +6542,7 @@
- Renders the current thread name and appends it to the specified .
+ Renders the current thread name and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6417,7 +6554,7 @@
- Renders the ticks value of current time and appends it to the specified .
+ Renders the ticks value of current time and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6427,31 +6564,24 @@
The time in a 24-hour, sortable format HH:mm:ss.mmm.
-
-
- Renders time in the 24-h format (HH:mm:ss.mmm) and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+ Renders time in the 24-h format (HH:mm:ss.mmm) and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Render a NLog variable (xml or config)
-
-
- Renders the specified variable and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the name of the NLog variable.
@@ -6465,6 +6595,13 @@
Not used if Name is null
+
+
+ Renders the specified variable and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Applies caching to another layout output.
@@ -6473,46 +6610,36 @@
The value of the inner layout will be rendered only once and reused subsequently.
-
+
- Decodes text "encrypted" with ROT-13.
+ A value indicating when the cache is cleared.
-
- See http://en.wikipedia.org/wiki/ROT13.
-
-
-
- Renders the inner message, processes it and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
+
+ Never clear the cache.
-
-
- Transforms the output of another layout.
-
- Output to be transform.
- Transformed text.
+
+ Clear the cache whenever the is initialized.
-
-
- Renders the inner layout contents.
-
- The log event.
- Contents of inner layout.
-
-
-
- Gets or sets the wrapped layout.
-
-
+
+ Clear the cache whenever the is closed.
Initializes a new instance of the class.
+
+
+ Gets or sets a value indicating whether this is enabled.
+
+
+
+
+
+ Gets or sets a value indicating when the cache is cleared.
+
+
Initializes the layout renderer.
@@ -6537,12 +6664,6 @@
The log event.
Contents of inner layout.
-
-
- Gets or sets a value indicating whether this is enabled.
-
-
-
Filters characters not allowed in the file names by replacing them with safe character.
@@ -6550,16 +6671,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Padded and trimmed string.
-
Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path
@@ -6567,6 +6681,13 @@
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Padded and trimmed string.
+
Escapes output of another layout using JSON rules.
@@ -6574,9 +6695,15 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+ Gets or sets a value indicating whether to apply JSON encoding.
+
+
+
Post-processes the rendered message.
@@ -6584,12 +6711,6 @@
The text to be post-processed.
JSON-encoded string.
-
-
- Gets or sets a value indicating whether to apply JSON encoding.
-
-
-
Converts the result of another layout output to lower case.
@@ -6597,16 +6718,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Padded and trimmed string.
-
Gets or sets a value indicating whether lower case conversion should be applied.
@@ -6620,6 +6734,13 @@
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Padded and trimmed string.
+
Only outputs the inner layout when exception has been defined for log message.
@@ -6665,16 +6786,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Transforms the output of another layout.
-
- Output to be transform.
- Transformed text.
-
Gets or sets the number of characters to pad the output to.
@@ -6701,39 +6815,24 @@
Gets or sets a value indicating whether a value that has
- been truncated (when is true)
+ been truncated (when is true)
will be left-aligned (characters removed from the right)
or right-aligned (characters removed from the left). The
default is left alignment.
+
+
+ Transforms the output of another layout.
+
+ Output to be transform.
+ Transformed text.
+
Replaces a string in the output of another layout with another string.
-
-
- Initializes the layout renderer.
-
-
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Post-processed text.
-
-
-
- A match evaluator for Regular Expression based replacing
-
-
-
-
-
-
-
Gets or sets the text to search for.
@@ -6777,11 +6876,33 @@
A value of true if whole words should be searched for; otherwise, false.
+
+
+ Initializes the layout renderer.
+
+
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Post-processed text.
+
This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass
+
+
+ A match evaluator for Regular Expression based replacing
+
+
+
+
+
+
+
Replaces newline characters from the result of another layout renderer with spaces.
@@ -6789,7 +6910,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a value indicating the string that should be used for separating lines.
@@ -6799,11 +6925,6 @@
The text to be post-processed.
String with newline characters replaced with spaces.
-
-
- Gets or sets a value indicating the string that should be used for separating lines.
-
-
Decodes text "encrypted" with ROT-13.
@@ -6812,6 +6933,14 @@
See http://en.wikipedia.org/wiki/ROT13.
+
+
+ Gets or sets the layout to be wrapped.
+
+ The layout to be wrapped.
+ This variable is for backwards compatibility
+
+
Encodes/Decodes ROT-13-encoded string.
@@ -6826,14 +6955,6 @@
Output to be transform.
Transformed text.
-
-
- Gets or sets the layout to be wrapped.
-
- The layout to be wrapped.
- This variable is for backwards compatibility
-
-
Trims the whitespace from the result of another layout renderer.
@@ -6841,16 +6962,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Trimmed string.
-
Gets or sets a value indicating whether lower case conversion should be applied.
@@ -6858,6 +6972,13 @@
A value of true if lower case conversion should be applied; otherwise, false.
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Trimmed string.
+
Converts the result of another layout output to upper case.
@@ -6865,16 +6986,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Padded and trimmed string.
-
Gets or sets a value indicating whether upper case conversion should be applied.
@@ -6888,6 +7002,13 @@
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Padded and trimmed string.
+
Encodes the result of another layout output for use with URLs.
@@ -6895,16 +7016,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Transforms the output of another layout.
-
- Output to be transform.
- Transformed text.
-
Gets or sets a value indicating whether spaces should be translated to '+' or '%20'.
@@ -6912,11 +7026,24 @@
A value of true if space should be translated to '+'; otherwise, false.
+
+
+ Transforms the output of another layout.
+
+ Output to be transform.
+ Transformed text.
+
Outputs alternative layout when the inner layout produces empty result.
+
+
+ Gets or sets the layout to be rendered when original layout produced empty result.
+
+
+
Transforms the output of another layout.
@@ -6933,17 +7060,17 @@
Contents of inner layout.
-
-
- Gets or sets the layout to be rendered when original layout produced empty result.
-
-
-
Only outputs the inner layout when the specified condition has been met.
+
+
+ Gets or sets the condition that must be met for the inner layout to be printed.
+
+
+
Transforms the output of another layout.
@@ -6960,11 +7087,40 @@
Contents of inner layout.
-
+
- Gets or sets the condition that must be met for the inner layout to be printed.
+ Decodes text "encrypted" with ROT-13.
-
+
+ See http://en.wikipedia.org/wiki/ROT13.
+
+
+
+
+ Gets or sets the wrapped layout.
+
+
+
+
+
+ Renders the inner message, processes it and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Transforms the output of another layout.
+
+ Output to be transform.
+ Transformed text.
+
+
+
+ Renders the inner layout contents.
+
+ The log event.
+ Contents of inner layout.
@@ -6973,9 +7129,15 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+ Gets or sets a value indicating whether to apply XML encoding.
+
+
+
Post-processes the rendered message.
@@ -6983,12 +7145,6 @@
The text to be post-processed.
Padded and trimmed string.
-
-
- Gets or sets a value indicating whether to apply XML encoding.
-
-
-
A column in the CSV.
@@ -6996,12 +7152,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The name of the column.
The layout of the column.
@@ -7063,19 +7219,190 @@
A specialized layout that renders CSV-formatted events.
-
+
- A specialized layout that supports header and footer.
+ Initializes a new instance of the class.
+
+
+ Gets the array of parameters to be passed.
+
+
+
+
+
+ Gets or sets a value indicating whether CVS should include header.
+
+ A value of true if CVS should include header; otherwise, false.
+
+
+
+
+ Gets or sets the column delimiter.
+
+
+
+
+
+ Gets or sets the quoting mode.
+
+
+
+
+
+ Gets or sets the quote Character.
+
+
+
+
+
+ Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom').
+
+
+
+
+
+ Initializes the layout.
+
+
+
+
+ Formats the log event for write.
+
+ The log event to be formatted.
+ A string representation of the log event.
+
+
+
+ Header for CSV layout.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The parent.
+
+
+
+ Renders the layout for the specified logging event by invoking layout renderers.
+
+ The logging event.
+ The rendered layout.
+
+
+
+ Specifies CSV quoting modes.
+
+
+
+
+ Quote all column.
+
+
+
+
+ Quote nothing.
+
+
+
+
+ Quote only whose values contain the quote symbol or
+ the separator.
+
+
+
+
+ JSON attribute.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the attribute.
+ The layout of the attribute's value.
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the attribute.
+ The layout of the attribute's value.
+ Encode value with json-encode
+
+
+
+ Gets or sets the name of the attribute.
+
+
+
+
+ Gets or sets the layout that will be rendered as the attribute's value.
+
+
+
+
+ Determines wether or not this attribute will be Json encoded.
+
+
+
+
+ A specialized layout that renders JSON-formatted events.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the array of attributes' configurations.
+
+
+
+
+
+ Gets or sets the option to suppress the extra spaces in the output json
+
+
+
+
+ Formats the log event as a JSON document for writing.
+
+ The log event to be formatted.
+ A JSON string representation of the log event.
+
Abstract interface that layouts must implement.
+
+
+ Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
+
+
+ Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
+ like that as well.
+ Thread-agnostic layouts only use contents of for its output.
+
+
+
+
+ Gets the logging configuration this target is part of.
+
+
- Converts a given text to a .
+ Converts a given text to a .
Text to be converted.
object represented by the text.
@@ -7153,27 +7480,26 @@
The logging event.
The rendered layout.
-
+
- Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
-
-
- Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
- like that as well.
- Thread-agnostic layouts only use contents of for its output.
-
-
-
-
- Gets the logging configuration this target is part of.
+ Marks class as a layout renderer and assigns a format string to it.
-
+
- Renders the layout for the specified logging event by invoking layout renderers.
+ Initializes a new instance of the class.
+
+ Layout name.
+
+
+
+ Parses layout strings.
+
+
+
+
+ A specialized layout that supports header and footer.
- The logging event.
- The rendered layout.
@@ -7193,183 +7519,13 @@
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes the layout.
-
-
-
-
- Formats the log event for write.
-
- The log event to be formatted.
- A string representation of the log event.
-
-
-
- Gets the array of parameters to be passed.
-
-
-
-
-
- Gets or sets a value indicating whether CVS should include header.
-
- A value of true if CVS should include header; otherwise, false.
-
-
-
-
- Gets or sets the column delimiter.
-
-
-
-
-
- Gets or sets the quoting mode.
-
-
-
-
-
- Gets or sets the quote Character.
-
-
-
-
-
- Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom').
-
-
-
-
-
- Header for CSV layout.
-
-
-
-
- Initializes a new instance of the class.
-
- The parent.
-
-
+
Renders the layout for the specified logging event by invoking layout renderers.
The logging event.
The rendered layout.
-
-
- Specifies CSV quoting modes.
-
-
-
-
- Quote all column.
-
-
-
-
- Quote nothing.
-
-
-
-
- Quote only whose values contain the quote symbol or
- the separator.
-
-
-
-
- JSON attribute.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The name of the attribute.
- The layout of the attribute's value.
-
-
-
- Initializes a new instance of the class.
-
- The name of the attribute.
- The layout of the attribute's value.
- Encode value with json-encode
-
-
-
- Gets or sets the name of the attribute.
-
-
-
-
- Gets or sets the layout that will be rendered as the attribute's value.
-
-
-
-
- Determines wether or not this attribute will be Json encoded.
-
-
-
-
- A specialized layout that renders JSON-formatted events.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Formats the log event as a JSON document for writing.
-
- The log event to be formatted.
- A JSON string representation of the log event.
-
-
-
- Gets the array of attributes' configurations.
-
-
-
-
-
- Gets or sets the option to suppress the extra spaces in the output json
-
-
-
-
- Marks class as a layout renderer and assigns a format string to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Layout name.
-
-
-
- Parses layout strings.
-
-
A specialized layout that renders Log4j-compatible XML events.
@@ -7380,7 +7536,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the instance that renders log events.
@@ -7390,11 +7551,6 @@
The logging event.
The rendered layout.
-
-
- Gets the instance that renders log events.
-
-
Represents a string with embedded placeholders that can render contextual information.
@@ -7406,12 +7562,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The layout string to parse.
@@ -7422,6 +7578,32 @@
The layout string to parse.
The NLog factories to use when creating references to layout renderers.
+
+
+ Original text before compile to Layout renderes
+
+
+
+
+ Gets or sets the layout text.
+
+
+
+
+
+ Is the message fixed? (no Layout renderers used)
+
+
+
+
+ Get the fixed text. Only set when is true
+
+
+
+
+ Gets a collection of objects that make up this layout.
+
+
Converts a text to a simple layout.
@@ -7455,7 +7637,7 @@
Evaluates the specified text by expanding all layout renderers
- in new context.
+ in new context.
The text to be evaluated.
The input text with all occurrences of ${} replaced with
@@ -7477,32 +7659,6 @@
The logging event.
The rendered layout.
-
-
- Original text before compile to Layout renderes
-
-
-
-
- Gets or sets the layout text.
-
-
-
-
-
- Is the message fixed? (no Layout renderers used)
-
-
-
-
- Get the fixed text. Only set when is true
-
-
-
-
- Gets a collection of objects that make up this layout.
-
-
Represents the logging event.
@@ -7515,12 +7671,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Log level.
Logger name.
@@ -7528,7 +7684,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Log level.
Logger name.
@@ -7538,7 +7694,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Log level.
Logger name.
@@ -7547,6 +7703,89 @@
Parameter array.
Exception information.
+
+
+ Gets the unique identifier of log event which is automatically generated
+ and monotonously increasing.
+
+
+
+
+ Gets or sets the timestamp of the logging event.
+
+
+
+
+ Gets or sets the level of the logging event.
+
+
+
+
+ Gets a value indicating whether stack trace has been set for this event.
+
+
+
+
+ Gets the stack frame of the method that did the logging.
+
+
+
+
+ Gets the number index of the stack frame that represents the user
+ code (not the NLog code).
+
+
+
+
+ Gets the entire stack trace.
+
+
+
+
+ Gets or sets the exception information.
+
+
+
+
+ Gets or sets the logger name.
+
+
+
+
+ Gets the logger short name.
+
+
+
+
+ Gets or sets the log message including any parameter placeholders.
+
+
+
+
+ Gets or sets the parameter values or null if no parameters have been specified.
+
+
+
+
+ Gets or sets the format provider that was provided while logging or
+ when no formatProvider was specified.
+
+
+
+
+ Gets the formatted message.
+
+
+
+
+ Gets the dictionary of per-event context properties.
+
+
+
+
+ Gets the dictionary of per-event context properties.
+
+
Creates the null event.
@@ -7636,105 +7875,59 @@
The stack trace.
Index of the first user stack frame within the stack trace.
-
-
- Gets the unique identifier of log event which is automatically generated
- and monotonously increasing.
-
-
-
-
- Gets or sets the timestamp of the logging event.
-
-
-
-
- Gets or sets the level of the logging event.
-
-
-
-
- Gets a value indicating whether stack trace has been set for this event.
-
-
-
-
- Gets the stack frame of the method that did the logging.
-
-
-
-
- Gets the number index of the stack frame that represents the user
- code (not the NLog code).
-
-
-
-
- Gets the entire stack trace.
-
-
-
-
- Gets or sets the exception information.
-
-
-
-
- Gets or sets the logger name.
-
-
-
-
- Gets the logger short name.
-
-
-
-
- Gets or sets the log message including any parameter placeholders.
-
-
-
-
- Gets or sets the parameter values or null if no parameters have been specified.
-
-
-
-
- Gets or sets the format provider that was provided while logging or
- when no formatProvider was specified.
-
-
-
-
- Gets the formatted message.
-
-
-
-
- Gets the dictionary of per-event context properties.
-
-
-
-
- Gets the dictionary of per-event context properties.
-
-
Creates and manages instances of objects.
+
+
+ Occurs when logging changes.
+
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The config.
+
+
+ Gets the current .
+
+
+
+
+ Gets or sets a value indicating whether exceptions should be thrown.
+
+ A value of true if exception should be thrown; otherwise, false.
+ By default exceptions are not thrown under any circumstances.
+
+
+
+ Gets or sets the current logging configuration. After setting this property all
+ existing loggers will be re-configured, so that there is no need to call
+ manually.
+
+
+
+
+ Gets or sets the global log threshold. Log events below this threshold are not logged.
+
+
+
+
+ Gets the default culture info to use as .
+
+
+ Specific culture info or null to use
+
+
Performs application-defined tasks associated with freeing, releasing, or resetting
@@ -7749,7 +7942,7 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -7757,11 +7950,11 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
The type of the logger to create. The type must inherit from
NLog.Logger.
- The logger.
+ The logger of type .
This is a slow-running method. Make sure you are not calling this method in a
loop.
@@ -7775,11 +7968,11 @@
- Gets the specified named logger.
+ Gets the specified named logger. Use to pass the type of the needed Logger.
Name of the logger.
- The type of the logger to create. The type must inherit from NLog.Logger.
- The logger reference. Multiple calls to GetLogger with the
+ The type of the logger to create. The type must inherit from .
+ The logger of type . Multiple calls to GetLogger with the
same argument aren't guaranteed to return the same logger reference.
@@ -7849,9 +8042,9 @@
- Returns if logging is currently enabled.
+ Returns if logging is currently enabled.
- A value of if logging is currently enabled,
+ A value of if logging is currently enabled,
otherwise.
Logging is enabled if the number of calls is greater
than or equal to calls.
@@ -7869,41 +8062,6 @@
True to release both managed and unmanaged resources;
false to release only unmanaged resources.
-
-
- Occurs when logging changes.
-
-
-
-
- Gets the current .
-
-
-
-
- Gets or sets a value indicating whether exceptions should be thrown.
-
- A value of true if exception should be thrown; otherwise, false.
- By default exceptions are not thrown under any circumstances.
-
-
-
- Gets or sets the current logging configuration.
-
-
-
-
- Gets or sets the global log threshold. Log events below this threshold are not logged.
-
-
-
-
- Gets the default culture info to use as .
-
-
- Specific culture info or null to use
-
-
Logger cache key.
@@ -7950,7 +8108,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The factory.
@@ -7967,16 +8125,16 @@
- Gets the logger.
+ Gets the logger with type .
The logger name.
An instance of .
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class and type .
- The logger.
+ An instance of .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -8004,6 +8162,21 @@
Initializes a new instance of the class.
+
+
+ Occurs when logger configuration changes.
+
+
+
+
+ Gets the name of the logger.
+
+
+
+
+ Gets the factory that created this logger.
+
+
Gets a value indicating whether logging is enabled for the specified level.
@@ -8181,29 +8354,65 @@
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
Action to execute.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
Return type of the provided function.
Function to run.
- Result returned by the provided function or fallback value in case of exception.
+ Result returned by the provided function or the default value of type in case of exception.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
Return type of the provided function.
Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
+ Fallback value to return in case of exception.
Result returned by the provided function or fallback value in case of exception.
+
+
+ Gets a value indicating whether logging is enabled for the Trace level.
+
+ A value of if logging is enabled for the Trace level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Debug level.
+
+ A value of if logging is enabled for the Debug level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Info level.
+
+ A value of if logging is enabled for the Info level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Warn level.
+
+ A value of if logging is enabled for the Warn level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Error level.
+
+ A value of if logging is enabled for the Error level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Fatal level.
+
+ A value of if logging is enabled for the Fatal level, otherwise it returns .
+
Writes the diagnostic message at the Trace level using the specified format provider and format parameters.
@@ -9648,57 +9857,6 @@
A containing one format item.
The argument to format.
-
-
- Occurs when logger configuration changes.
-
-
-
-
- Gets the name of the logger.
-
-
-
-
- Gets the factory that created this logger.
-
-
-
-
- Gets a value indicating whether logging is enabled for the Trace level.
-
- A value of if logging is enabled for the Trace level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Debug level.
-
- A value of if logging is enabled for the Debug level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Info level.
-
- A value of if logging is enabled for the Info level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Warn level.
-
- A value of if logging is enabled for the Warn level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Error level.
-
- A value of if logging is enabled for the Error level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Fatal level.
-
- A value of if logging is enabled for the Fatal level, otherwise it returns .
-
Implementation of logging engine.
@@ -9725,7 +9883,7 @@
or its declaring type is or one of its subtypes.
-
+
Gets the filter result.
@@ -9780,6 +9938,16 @@
The log level name.
The log level ordinal number.
+
+
+ Gets the name of the log level.
+
+
+
+
+ Gets the ordinal of the log level.
+
+
Compares two objects
@@ -9898,29 +10066,51 @@
other ordinal.
-
-
- Gets the name of the log level.
-
-
-
-
- Gets the ordinal of the log level.
-
-
Creates and manages instances of objects.
+
+
+ Delegate used to set/get the culture in use.
+
+
Prevents a default instance of the LogManager class from being created.
+
+
+ Occurs when logging changes.
+
+
+
+
+ Gets or sets a value indicating whether NLog should throw exceptions.
+ By default exceptions are not thrown under any circumstances.
+
+
+
+
+ Gets or sets the current logging configuration.
+
+
+
+
+
+ Gets or sets the global log threshold. Log events below this threshold are not logged.
+
+
+
+
+ Gets or sets the default culture to use.
+
+
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -9935,10 +10125,10 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
- The logger class. The class must inherit from .
- The logger.
+ The logger class. The class must inherit from .
+ The logger of type .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -9957,11 +10147,12 @@
- Gets the specified named logger.
+ Gets the specified named custom logger. Use to pass the type of the needed Logger.
Name of the logger.
- The logger class. The class must inherit from .
- The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The logger class. The class must inherit from .
+ The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The generic way for this method is
@@ -10010,7 +10201,7 @@
Checks if logging is currently enabled.
- if logging is currently enabled,
+ if logging is currently enabled,
otherwise.
Logging is enabled if the number of calls is greater
than or equal to calls.
@@ -10026,37 +10217,6 @@
namespace but not the assembly.
-
-
- Occurs when logging changes.
-
-
-
-
- Gets or sets a value indicating whether NLog should throw exceptions.
- By default exceptions are not thrown under any circumstances.
-
-
-
-
- Gets or sets the current logging configuration.
-
-
-
-
- Gets or sets the global log threshold. Log events below this threshold are not logged.
-
-
-
-
- Gets or sets the default culture to use.
-
-
-
-
- Delegate used to set/get the culture in use.
-
-
Returns a log message. Used to defer calculation of
@@ -10132,7 +10292,37 @@
- Client of
+ Client of ILogReceiverServer
+
+
+
+
+ Occurs when the log message processing has completed.
+
+
+
+
+ Occurs when Open operation has completed.
+
+
+
+
+ Occurs when Close operation has completed.
+
+
+
+
+ Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.
+
+
+
+
+ Gets the underlying implementation.
+
+
+
+
+ Gets the target endpoint for the service to which the WCF client can connect.
@@ -10187,36 +10377,6 @@
The result.
-
-
- Occurs when the log message processing has completed.
-
-
-
-
- Occurs when Open operation has completed.
-
-
-
-
- Occurs when Close operation has completed.
-
-
-
-
- Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.
-
-
-
-
- Gets the underlying implementation.
-
-
-
-
- Gets the target endpoint for the service to which the WCF client can connect.
-
-
Gets or sets the cookie container.
@@ -10238,14 +10398,6 @@
Initializes a new instance of the class.
-
-
- Converts the to .
-
- The object this is part of..
- The logger name prefix to prepend in front of the logger name.
- Converted .
-
Gets or sets the client-generated identifier of the event.
@@ -10282,28 +10434,19 @@
Gets the collection of indexes into array for each layout value.
+
+
+ Converts the to .
+
+ The object this is part of..
+ The logger name prefix to prepend in front of the logger name.
+ Converted .
+
Wire format for NLog event package.
-
-
- Converts the events to sequence of objects suitable for routing through NLog.
-
- The logger name prefix to prepend in front of each logger name.
-
- Sequence of objects.
-
-
-
-
- Converts the events to sequence of objects suitable for routing through NLog.
-
-
- Sequence of objects.
-
-
Gets or sets the name of the client.
@@ -10334,6 +10477,23 @@
The events.
+
+
+ Converts the events to sequence of objects suitable for routing through NLog.
+
+ The logger name prefix to prepend in front of each logger name.
+
+ Sequence of objects.
+
+
+
+
+ Converts the events to sequence of objects suitable for routing through NLog.
+
+
+ Sequence of objects.
+
+
List of strings annotated for more terse serialization.
@@ -10352,118 +10512,6 @@
This will be removed when ILogReceiverClient is removed.
This provides an implementation of the legacy interface.
-
-
- Abstract base class for the WcfLogReceiverXXXWay classes. It can only be
- used internally (see internal constructor). It passes off any Channel usage
- to the inheriting class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the endpoint configuration.
-
-
-
- Initializes a new instance of the class.
-
- Name of the endpoint configuration.
- The remote address.
-
-
-
- Initializes a new instance of the class.
-
- Name of the endpoint configuration.
- The remote address.
-
-
-
- Initializes a new instance of the class.
-
- The binding.
- The remote address.
-
-
-
- Opens the client asynchronously.
-
-
-
-
- Opens the client asynchronously.
-
- User-specific state.
-
-
-
- Closes the client asynchronously.
-
-
-
-
- Closes the client asynchronously.
-
- User-specific state.
-
-
-
- Processes the log messages asynchronously.
-
- The events to send.
-
-
-
- Processes the log messages asynchronously.
-
- The events to send.
- User-specific state.
-
-
-
- Begins processing of log messages.
-
- The events to send.
- The callback.
- Asynchronous state.
-
- IAsyncResult value which can be passed to .
-
-
-
-
- Ends asynchronous processing of log messages.
-
- The result.
-
-
-
- Occurs when the log message processing has completed.
-
-
-
-
- Occurs when Open operation has completed.
-
-
-
-
- Occurs when Close operation has completed.
-
-
-
-
- Gets or sets the cookie container.
-
- The cookie container.
-
Initializes a new instance of the class.
@@ -10535,6 +10583,16 @@
+
+
+ The client getting proxied
+
+
+
+
+ Do we use one-way or two-way messaging?
+
+
Initializes a new instance of the class.
@@ -10624,6 +10682,11 @@
IAsyncResult value which can be passed to .
+
+
+ Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.
+
+
Causes a communication object to transition from its current state into the closed state.
@@ -10647,6 +10710,27 @@
Closes the client asynchronously.
+
+
+ Occurs when Close operation has completed.
+
+
+
+
+ Occurs when the communication object completes its transition from the closing state into the closed state.
+
+
+
+
+ Occurs when the communication object first enters the closing state.
+
+
+
+
+ Gets or sets the cookie container.
+
+ The cookie container.
+
Completes an asynchronous operation to close a communication object.
@@ -10659,12 +10743,27 @@
The that is returned by a call to the method.The was unable to be opened and has entered the state.The timeout elapsed before the was able to enter the state and has entered the state.
+
+
+ Gets the target endpoint for the service to which the WCF client can connect.
+
+
Ends asynchronous processing of log messages.
The result.
+
+
+ Occurs when the communication object first enters the faulted state.
+
+
+
+
+ Gets the underlying implementation.
+
+
Causes a communication object to transition from the created state into the opened state.
@@ -10688,75 +10787,6 @@
User-specific state.
-
-
- Processes the log messages asynchronously.
-
- The events to send.
-
-
-
- Processes the log messages asynchronously.
-
- The events to send.
- User-specific state.
-
-
-
- Causes a communication object to transition from its current state into the closed state.
-
-
-
-
- The client getting proxied
-
-
-
-
- Do we use one-way or two-way messaging?
-
-
-
-
- Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.
-
-
-
-
- Occurs when Close operation has completed.
-
-
-
-
- Occurs when the communication object completes its transition from the closing state into the closed state.
-
-
-
-
- Occurs when the communication object first enters the closing state.
-
-
-
-
- Gets or sets the cookie container.
-
- The cookie container.
-
-
-
- Gets the target endpoint for the service to which the WCF client can connect.
-
-
-
-
- Occurs when the communication object first enters the faulted state.
-
-
-
-
- Gets the underlying implementation.
-
-
Occurs when Open operation has completed.
@@ -10772,6 +10802,19 @@
Occurs when the communication object first enters the opening state.
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+ User-specific state.
+
Occurs when the log message processing has completed.
@@ -10785,6 +10828,123 @@
The value of the of the object.
+
+
+ Causes a communication object to transition from its current state into the closed state.
+
+
+
+
+ Abstract base class for the WcfLogReceiverXXXWay classes. It can only be
+ used internally (see internal constructor). It passes off any Channel usage
+ to the inheriting class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the endpoint configuration.
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the endpoint configuration.
+ The remote address.
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the endpoint configuration.
+ The remote address.
+
+
+
+ Initializes a new instance of the class.
+
+ The binding.
+ The remote address.
+
+
+
+ Occurs when the log message processing has completed.
+
+
+
+
+ Occurs when Open operation has completed.
+
+
+
+
+ Occurs when Close operation has completed.
+
+
+
+
+ Gets or sets the cookie container.
+
+ The cookie container.
+
+
+
+ Opens the client asynchronously.
+
+
+
+
+ Opens the client asynchronously.
+
+ User-specific state.
+
+
+
+ Closes the client asynchronously.
+
+
+
+
+ Closes the client asynchronously.
+
+ User-specific state.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+ User-specific state.
+
+
+
+ Begins processing of log messages.
+
+ The events to send.
+ The callback.
+ Asynchronous state.
+
+ IAsyncResult value which can be passed to .
+
+
+
+
+ Ends asynchronous processing of log messages.
+
+ The result.
+
Log Receiver Client using WCF.
@@ -11021,6 +11181,18 @@
Nested Diagnostics Context - for log4net compatibility.
+
+
+ Gets the top NDC message but doesn't remove it.
+
+ The top message. .
+
+
+
+ Gets the top NDC object but doesn't remove it.
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
Pushes the specified text on current thread NDC.
@@ -11057,18 +11229,6 @@
Array of objects on the stack.
-
-
- Gets the top NDC message but doesn't remove it.
-
- The top message. .
-
-
-
- Gets the top NDC object but doesn't remove it.
-
- The object from the top of the NDC stack, if defined; otherwise null.
-
Nested Diagnostics Context - a thread-local structure that keeps a stack
@@ -11076,6 +11236,18 @@
Mostly for compatibility with log4net.
+
+
+ Gets the top NDC message but doesn't remove it.
+
+ The top message. .
+
+
+
+ Gets the top NDC object but doesn't remove it.
+
+ The object at the top of the NDC stack if defined; otherwise null.
+
Pushes the specified text on current thread NDC.
@@ -11133,18 +11305,6 @@
Array of objects on the stack.
-
-
- Gets the top NDC message but doesn't remove it.
-
- The top message. .
-
-
-
- Gets the top NDC object but doesn't remove it.
-
- The object at the top of the NDC stack if defined; otherwise null.
-
Resets the stack to the original count during .
@@ -11152,7 +11312,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The stack.
The previous count.
@@ -11169,18 +11329,18 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
The inner exception.
@@ -11192,25 +11352,25 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
Parameters for the message
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
The inner exception.
@@ -11270,17 +11430,22 @@
-
+
- Sends log messages to the remote instance of NLog Viewer.
+ Initializes a new instance of the class.
- Documentation on NLog Wiki
+
+
+
+ Writes log messages to the console.
+
+ Documentation on NLog Wiki
To set up the target in the configuration file,
use the following syntax:
-
+
This assumes just one target and a single rule. More configuration
options are described here.
@@ -11288,15 +11453,1384 @@
To set up the log target programmatically use code like this:
-
-
- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol
- or you'll get TCP timeouts and your application will crawl.
- Either switch to UDP transport or use AsyncWrapper target
- so that your application threads will not be blocked by the timing-out connection attempts.
-
+
+
+
+ Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output.
+
+
+
+
+
+ Initializes the target.
+
+
+
+
+ Closes the target and releases any unmanaged resources.
+
+
+
+
+ Writes the specified logging event to the Console.Out or
+ Console.Error depending on the value of the Error flag.
+
+ The logging event.
+
+ Note that the Error option is not supported on .NET Compact Framework.
+
+
+
+
+ Write to output
+
+ text to be written.
+
+
+
+ A descriptor for an archive created with the DateAndSequence numbering mode.
+
+
+
+
+ The full name of the archive file.
+
+
+
+
+ The parsed date contained in the file name.
+
+
+
+
+ The parsed sequence number contained in the file name.
+
+
+
+
+ Determines whether produces the same string as the current instance's date once formatted with the current instance's date format.
+
+ The date to compare the current object's date to.
+ True if the formatted dates are equal, otherwise False.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Writes log messages to the attached managed debugger.
+
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Initializes the target.
+
+
+
+
+ Closes the target and releases any unmanaged resources.
+
+
+
+
+ Writes the specified logging event to the attached debugger.
+
+ The logging event.
+
+
+
+ Mock target - useful for testing.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets the number of times this target has been called.
+
+
+
+
+
+ Gets the last message rendered by this target.
+
+
+
+
+
+ Increases the number of messages.
+
+ The logging event.
+
+
+
+ Modes of archiving files based on time.
+
+
+
+
+ Don't archive based on time.
+
+
+
+
+ AddToArchive every year.
+
+
+
+
+ AddToArchive every month.
+
+
+
+
+ AddToArchive daily.
+
+
+
+
+ AddToArchive every hour.
+
+
+
+
+ AddToArchive every minute.
+
+
+
+
+ Writes log messages to one or more files.
+
+ Documentation on NLog Wiki
+
+
+
+ Default clean up period of the initilized files. When a file exceeds the clean up period is removed from the list.
+
+ Clean up period is defined in days.
+
+
+
+ The maximum number of initialised files at any one time. Once this number is exceeded clean up procedures
+ are initiated to reduce the number of initialised files.
+
+
+
+
+ This value disables file archiving based on the size.
+
+
+
+
+ Cached directory separator char array to avoid memory allocation on each method call.
+
+
+
+
+ Holds the initialised files each given time by the instance. Against each file, the last write time is stored.
+
+ Last write time is store in local time (no UTC).
+
+
+
+ Factory used to create the file appeanders in the instance.
+
+ File appenders are stored in an instance of .
+
+
+
+ List of the associated file appenders with the instance.
+
+
+
+
+ The number of initialised files at any one time.
+
+
+
+
+ The maximum number of archive files that should be kept.
+
+
+
+
+ It holds the file names of existing archives in order for the oldest archives to be removed when the list of
+ filenames becomes too long.
+
+
+
+
+ The filename as target
+
+
+
+
+ The filename if is a fixed string
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets or sets the name of the file to write to.
+
+
+ This FileName string is a layout which may include instances of layout renderers.
+ This lets you use a single target to write to multiple files.
+
+
+ The following value makes NLog write logging events to files based on the log level in the directory where
+ the application runs.
+ ${basedir}/${level}.log
+ All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on.
+ You can combine as many of the layout renderers as you want to produce an arbitrary log file name.
+
+
+
+
+
+ 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.
+
+
+
+
+ Gets or sets a value indicating whether to create directories if they do not exist.
+
+
+ Setting this to false may improve performance a bit, but you'll receive an error
+ when attempting to write to a directory that's not present.
+
+
+
+
+
+ Gets or sets a value indicating whether to delete old log file on startup.
+
+
+ This option works only when the "FileName" parameter denotes a single file.
+
+
+
+
+
+ Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
+
+
+
+
+
+ Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event.
+
+
+ Setting this property to True helps improve performance.
+
+
+
+
+
+ Gets or sets the maximum number of log filenames that should be stored as existing.
+
+
+ The bigger this number is the longer it will take to write each log record. The smaller the number is
+ the higher the chance that the clean function will be run when no new files have been opened.
+
+
+
+
+
+ Gets or sets a value indicating whether to enable log file(s) to be deleted.
+
+
+
+
+
+ Gets or sets the line ending mode.
+
+
+
+
+
+ Gets or sets a value indicating whether to automatically flush the file buffers after each log message.
+
+
+
+
+
+ Gets or sets the 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).
+
+
+ The files are managed on a LRU (least recently used) basis, which flushes
+ the files that have not been used for the longest period of time should the
+ cache become full. As a rule of thumb, you shouldn't set this parameter to
+ a very high value. A number like 10-15 shouldn't be exceeded, because you'd
+ be keeping a large number of files open which consumes system resources.
+
+
+
+
+
+ Gets or sets the 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.
+
+
+
+
+
+ Gets or sets the log file buffer size in bytes.
+
+
+
+
+
+ Gets or sets the file encoding.
+
+
+
+
+
+ Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
+
+
+ This makes multi-process logging possible. NLog uses a special technique
+ that lets it keep the files open for writing.
+
+
+
+
+
+ Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts.
+
+
+ This effectively prevents files from being kept open.
+
+
+
+
+
+ Gets or sets the number of times the write is appended on the file before NLog
+ discards the log message.
+
+
+
+
+
+ Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
+
+
+ The actual delay is a random value between 0 and the value specified
+ in this parameter. On each failed attempt the delay base is doubled
+ up to times.
+
+
+ Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:
+ a random value between 0 and 10 milliseconds - 1st attempt
+ a random value between 0 and 20 milliseconds - 2nd attempt
+ a random value between 0 and 40 milliseconds - 3rd attempt
+ a random value between 0 and 80 milliseconds - 4th attempt
+ ...
+ and so on.
+
+
+
+
+
+ Gets or sets a value indicating whether to archive old log file on startup.
+
+
+ This option works only when the "FileName" parameter denotes a single file.
+ After archiving the old file, the current log file will be empty.
+
+
+
+
+
+ Gets or sets a value specifying the date format to use when archving files.
+
+
+ This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
+
+
+
+
+
+ Gets or sets the 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:
+
+
+ Caution: Enabling this option can considerably slow down your file
+ logging in multi-process scenarios. If only one process is going to
+ be writing to the file, consider setting ConcurrentWrites
+ to false for maximum performance.
+
+
+
+
+
+ Gets or sets a value indicating whether to automatically archive log files every time the specified time passes.
+
+
+ Files are moved to the archive as part of the write operation if the current period of time changes. For example
+ if the current hour changes from 10 to 11, the first write that will occur
+ on or after 11:00 will trigger the archiving.
+
+ Caution: Enabling this option can considerably slow down your file
+ logging in multi-process scenarios. If only one process is going to
+ be writing to the file, consider setting ConcurrentWrites
+ to false for maximum performance.
+
+
+
+
+
+
+ Gets or sets the name of the file to be used for an archive.
+
+
+ It may contain a special placeholder {#####}
+ that will be replaced with a sequence of numbers depending on
+ the archiving strategy. The number of hash characters used determines
+ the number of numerical digits to be used for numbering files.
+
+
+
+
+
+ Gets or sets the maximum number of archive files that should be kept.
+
+
+
+
+
+ Gets or sets the way file archives are numbered.
+
+
+
+
+
+ Gets or sets a value indicating whether to compress archive files into the zip archive format.
+
+
+
+
+ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
+
+
+
+
+ Gets the characters that are appended after each line.
+
+
+
+
+ Removes records of initialized files that have not been
+ accessed in the last two days.
+
+
+ Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
+
+
+
+
+ Removes records of initialized files that have not been
+ accessed after the specified date.
+
+ The cleanup threshold.
+
+ Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
+
+
+
+
+ Flushes all pending file operations.
+
+ The asynchronous continuation.
+
+ The timeout parameter is ignored, because file APIs don't provide
+ the needed functionality.
+
+
+
+
+ Returns the suitable appender factory ( ) to be used to generate the file
+ appenders associated with the instance.
+
+ The type of the file appender factory returned depends on the values of various properties.
+
+ suitable for this instance.
+
+
+
+ Initializes file logging by creating data structures that
+ enable efficient multi-file logging.
+
+
+
+
+ Closes the file(s) opened for writing.
+
+
+
+
+ Writes the specified logging event to a file specified in the FileName
+ parameter.
+
+ The logging event.
+
+
+
+ Writes the specified array of logging events to a file specified in the FileName
+ parameter.
+
+ An array of objects.
+
+ This function makes use of the fact that the events are batched by sorting
+ the requests by filename. This optimizes the number of open/close calls
+ and can help improve performance.
+
+
+
+
+ Formats the log event for write.
+
+ The log event to be formatted.
+ A string representation of the log event.
+
+
+
+ Gets the bytes to be written to the file.
+
+ Log event.
+ Array of bytes that are ready to be written.
+
+
+
+ Modifies the specified byte array before it gets sent to a file.
+
+ The byte array.
+ The modified byte array. The function can do the modification in-place.
+
+
+
+ Replaces the numeric pattern i.e. {#} in a file name with the parameter value.
+
+ File name which contains the numeric pattern.
+ Value which will replace the numeric pattern.
+ File name with the value of in the position of the numberic pattern.
+
+
+
+ Determines if the file name as contains a numeric pattern i.e. {#} in it.
+
+ Example:
+ trace{#}.log Contains the numeric pattern.
+ trace{###}.log Contains the numeric pattern.
+ trace{#X#}.log Contains the numeric pattern (See remarks).
+ trace.log Does not contain the pattern.
+
+ Occationally, this method can identify the existance of the {#} pattern incorrectly.
+ File name to be checked.
+ when the pattern is found; otherwise.
+
+
+
+ Archives the using a rolling style numbering (the most recent is always #0 then
+ #1, ..., #N. When the number of archive files exceed the obsolete archives
+ are deleted.
+
+
+ This method is called recursively. This is the reason the is required.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Value which will replace the numeric pattern.
+
+
+
+ Archives the using a sequence style numbering. The most recent archive has the
+ highest number. When the number of archive files exceed the obsolete
+ archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
+
+ Creates an archive copy of source file either by compressing it or moving to a new location in the file
+ system. Which action will be used is determined by the value of parameter.
+
+ File name to be archived.
+ Name of the archive file.
+ Enables file compression
+
+
+
+
+ Archives the using a date and sequence style numbering. Archives will be stamped
+ with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in
+ combination with the date).
+
+
+ When the number of archive files exceed the obsolete archives are deleted.
+
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Log event that the instance is currently processing.
+
+
+
+ Determines whether a file with a different name from is needed to receive the
+ . This is determined based on the last date and time which the file has been
+ written compared to the time the log event was initiated.
+
+
+ when log event time is "different" than the last write time; otherwise.
+
+
+
+
+ Deletes files among a given list, and stops as soon as the remaining files are fewer than the setting.
+
+ List of the file archives.
+
+ Items are deleted in the same order as in . No file is deleted if property is zero.
+
+
+
+
+ Searches a given directory for archives that comply with the current archive pattern.
+
+ An enumeration of archive infos, ordered by their file creation date.
+
+
+
+ Gets the collection of files in the specified directory which they match the .
+
+ Directory to searched.
+ Pattern whihc the files will be searched against.
+ Lisf of files matching the pattern.
+
+
+
+ Replaces the string-based pattern i.e. {#} in a file name with the value passed in parameter.
+
+ File name which contains the string-based pattern.
+ Value which will replace the string-based pattern.
+
+ File name with the value of in the position of the string-based pattern.
+
+
+
+
+ Archives the using a date style numbering. Archives will be stamped with the
+ prior period (Year, Month, Day, Hour, Minute) datetime. When the number of archive files exceed the obsolete archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
+
+ Deletes archive files in reverse chronological order until only the
+ MaxArchiveFiles number of archive files remain.
+
+ The pattern that archive filenames will match
+
+
+
+ Gets the correct formating to be used based on the value of for converting values which will be inserting into file
+ names during archiving.
+
+ This value will be computed only when a empty value or is passed into
+
+ Date format to used irrespectively of value.
+ Formatting for dates.
+
+
+
+ Invokes the archiving process after determining when and which type of archiving is required.
+
+ File name to be checked and archived.
+ Log event that the instance is currently processing.
+
+
+
+ Gets the pattern that archive files will match
+
+ Filename of the log file
+ Log event that the instance is currently processing.
+ A string with a pattern that will match the archive filenames
+
+
+
+ Indicates if the automatic archiving process should be executed.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on file size constrains.
+
+ File name to be written.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on date/time constrains.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ when archiving should be executed; otherwise.
+
+
+
+ The sequence of to be written for the file header.
+
+ Sequence of to be written.
+
+
+
+ The sequence of to be written for the file footer.
+
+ Sequence of to be written.
+
+
+
+ Evaluates which parts of a file should be written (header, content, footer) based on various properties of
+ instance and writes them.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Raw sequence of to be written into the content part of the file.
+ Indicates that only content section should be written in the file.
+
+
+
+ Initialise a file to be used by the instance. Based on the number of initialised
+ files and the values of various instance properties clean up and/or archiving processes can be invoked.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Indicates that only content section should be written in the file.
+ when file header should be written; otherwise.
+
+
+
+ Writes the file footer and uninitialise the file in instance internal structures.
+
+ File name to be written.
+
+
+
+ Invokes the archiving and clean up of older archive file based on the values of and properties respectively.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+
+
+
+ Creates the file specified in and writes the file content in each entirety i.e.
+ Header, Content and Footer.
+
+ The name of the file to be written.
+ Sequence of to be written in the content section of the file.
+ This method is used when the content of the log file is re-written on every write.
+
+
+
+ Writes the header information to a file.
+
+ File appender associated with the file.
+
+
+
+ Returns the length of a specified file and the last time it has been written. File appender is queried before the file system.
+
+ File which the information are requested.
+ The last time the file has been written is returned.
+ The length of the file is returned.
+ when file details returned; otherwise.
+
+
+
+ The sequence of to be written in a file after applying any formating and any
+ transformations required from the .
+
+ The layout used to render output message.
+ Sequence of to be written.
+ Usually it is used to render the header and hooter of the files.
+
+
+
+ Replaces any invalid characters found in the with underscore i.e _ character.
+ Invalid characters are defined by .NET framework and they returned by method.
+ Note: not implemented in Silverlight
+
+ The original file name which might contain invalid characters.
+ The cleaned up file name without any invalid characters.
+
+
+
+ Gets or sets the maximum number of archive files that should be kept.
+
+
+
+
+ Creates an instance of class.
+
+ Maximum number of archive files to be kept.
+
+
+
+ Adds a file into archive.
+
+ File name of the archive
+ Original file name
+ Create a directory, if it does not exist
+ Enables file compression
+ if the file has been moved successfully; otherwise.
+
+
+
+ Creates an instance of class.
+
+
+
+
+ Archives the file, either by copying it to a new file system location or by compressing it, and add the file name into the list of archives.
+
+ Target file name.
+ Original file name.
+ Create a directory, if it does not exist.
+ Enables file compression.
+
+
+
+ Remove old archive files when the files on the queue are more than the .
+
+
+
+
+ Creates a new unique filename by appending a number to it. This method tests that
+ the filename created does not exist.
+
+ This process can be slow as it increments the number sequentially from a specified
+ starting point until it finds a number which produces a filename which does not
+ exist.
+
+ Example:
+ Original Filename trace.log
+ Target Filename trace.15.log
+
+ Original file name.
+ Number starting point
+ File name suitable for archiving
+
+
+
+ Characters determining the start of the .
+
+
+
+
+ Characters determining the end of the .
+
+
+
+
+ File name which is used as template for matching and replacements.
+ It is expected to contain a pattern to match.
+
+
+
+
+ The begging position of the
+ within the . -1 is returned
+ when no pattern can be found.
+
+
+
+
+ The ending position of the
+ within the . -1 is returned
+ when no pattern can be found.
+
+
+
+
+ Replace the pattern with the specified String.
+
+
+
+
+
+
+ Line ending mode.
+
+
+
+
+ Insert platform-dependent end-of-line sequence after each line.
+
+
+
+
+ Insert CR LF sequence (ASCII 13, ASCII 10) after each line.
+
+
+
+
+ Insert CR character (ASCII 13) after each line.
+
+
+
+
+ Insert LF character (ASCII 10) after each line.
+
+
+
+
+ Do not insert any line ending.
+
+
+
+
+ Gets the name of the LineEndingMode instance.
+
+
+
+
+ Gets the new line characters (value) of the LineEndingMode instance.
+
+
+
+
+ Initializes a new instance of .
+
+ The mode name.
+ The new line characters to be used.
+
+
+
+ Returns the that corresponds to the supplied .
+
+
+ The textual representation of the line ending mode, such as CRLF, LF, Default etc.
+ Name is not case sensitive.
+
+ The value, that corresponds to the .
+ There is no line ending mode with the specified name.
+
+
+
+ Compares two objects and returns a
+ value indicating whether the first one is equal to the second one.
+
+ The first level.
+ The second level.
+ The value of mode1.NewLineCharacters == mode2.NewLineCharacters.
+
+
+
+ Compares two objects and returns a
+ value indicating whether the first one is not equal to the second one.
+
+ The first mode
+ The second mode
+ The value of mode1.NewLineCharacters != mode2.NewLineCharacters.
+
+
+
+ Returns a string representation of the log level.
+
+ Log level name.
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms
+ and data structures like a hash table.
+
+
+
+
+ Determines whether the specified is
+ equal to this instance.
+
+ The to compare with
+ this instance.
+
+ Value of true if the specified
+ is equal to this instance; otherwise, false.
+
+
+ The parameter is null.
+
+
+
+
+ Provides a type converter to convert objects to and from other representations.
+
+
+
+
+ Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
+
+
+ true if this converter can perform the conversion; otherwise, false.
+
+ An that provides a format context. A that represents the type you want to convert from.
+
+
+
+ Converts the given object to the type of this converter, using the specified context and culture information.
+
+
+ An that represents the converted value.
+
+ An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed.
+
+
+
+ Sends log messages to a NLog Receiver Service (using WCF or Web Services).
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the endpoint address.
+
+ The endpoint address.
+
+
+
+
+ Gets or sets the name of the endpoint configuration in WCF configuration file.
+
+ The name of the endpoint configuration.
+
+
+
+
+ Gets or sets a value indicating whether to use binary message encoding.
+
+
+
+
+
+ Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply)
+
+
+
+
+
+ Gets or sets the client ID.
+
+ The client ID.
+
+
+
+
+ Gets the list of parameters.
+
+ The parameters.
+
+
+
+
+ Gets or sets a value indicating whether to include per-event properties in the payload sent to the server.
+
+
+
+
+
+ Called when log events are being sent (test hook).
+
+ The events.
+ The async continuations.
+ True if events should be sent, false to stop processing them.
+
+
+
+ Writes logging event to the log target. Must be overridden in inheriting
+ classes.
+
+ Logging event to be written out.
+
+
+
+ Writes an array of logging events to the log target. By default it iterates on all
+ events and passes them to "Append" method. Inheriting classes can use this method to
+ optimize batch writes.
+
+ Logging events to be written out.
+
+
+
+ Flush any pending log messages asynchronously (in case of asynchronous targets).
+
+ The asynchronous continuation.
+
+
+
+ Creating a new instance of WcfLogReceiverClient
+
+ Inheritors can override this method and provide their own
+ service configuration - binding and endpoint address
+
+
+
+
+
+ Creating a new instance of IWcfLogReceiverClient
+
+ Inheritors can override this method and provide their own
+ service configuration - binding and endpoint address
+
+
+ virtual is used by endusers
+
+
+
+ Writes log messages to an ArrayList in memory for programmatic retrieval.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets the list of logs gathered in the .
+
+
+
+
+ Renders the logging event message and adds it to the internal ArrayList of log messages.
+
+ The logging event.
+
+
+
+ A parameter to MethodCall.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The layout to use for parameter value.
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the parameter.
+ The layout.
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the parameter.
+ The layout.
+ The type of the parameter.
+
+
+
+ Gets or sets the name of the parameter.
+
+
+
+
+
+ Gets or sets the type of the parameter.
+
+
+
+
+
+ Gets or sets the layout that should be use to calculate the value for the parameter.
+
+
+
+
+
+ Calls the specified static method on each log message and passes contextual parameters to it.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Gets or sets the class name.
+
+
+
+
+
+ Gets or sets the method name. The method must be public and static.
+
+
+
+
+
+ Initializes the target.
+
+
+
+
+ Calls the specified Method.
+
+ Method parameters.
+
+
+
+ The base class for all targets which call methods (local or remote).
+ Manages parameters and type coercion.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the array of parameters to be passed.
+
+
+
+
+
+ Prepares an array of parameters to be passed based on the logging event and calls DoInvoke().
+
+
+ The logging event.
+
+
+
+
+ Calls the target method. Must be implemented in concrete classes.
+
+ Method call parameters.
+ The continuation.
+
+
+
+ Calls the target method. Must be implemented in concrete classes.
+
+ Method call parameters.
+
Sends log messages over the network.
@@ -11336,16 +12870,333 @@
-
+
- Represents target that supports string formatting using layouts.
+ Initializes a new instance of the class.
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets or sets the network address.
+
+
+ The network address can be:
+
+ - tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
+ - tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
+ - tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
+ - udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
+ - udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
+ - udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
+ - http://host:port/pageName - HTTP using POST verb
+ - https://host:port/pageName - HTTPS using POST verb
+
+ For SOAP-based webservice support over HTTP use WebService target.
+
+
+
+
+
+ Gets or sets a value indicating whether to keep connection open whenever possible.
+
+
+
+
+
+ Gets or sets a value indicating whether to append newline at the end of log message.
+
+
+
+
+
+ Gets or sets the maximum message size in bytes.
+
+
+
+
+
+ Gets or sets the size of the connection cache (number of connections which are kept alive).
+
+
+
+
+
+ Gets or sets the maximum current connections. 0 = no maximum.
+
+
+
+
+
+ Gets or sets the action that should be taken if the will be more connections than .
+
+
+
+
+
+ Gets or sets the maximum queue size.
+
+
+
+
+ Gets or sets the action that should be taken if the message is larger than
+ maxMessageSize.
+
+
+
+
+
+ Gets or sets the encoding to be used.
+
+
+
+
+
+ Flush any pending log messages asynchronously (in case of asynchronous targets).
+
+ The asynchronous continuation.
+
+
+
+ Closes the target.
+
+
+
+
+ Sends the
+ rendered logging event over the network optionally concatenating it with a newline character.
+
+ The logging event.
+
+
+
+ Try to remove.
+
+
+
+
+ removed something?
+
+
+
+ Gets the bytes to be written.
+
+ Log event.
+ Byte array.
+
+
+
+ The action to be taken when there are more connections then the max.
+
+
+
+
+ Just allow it.
+
+
+
+
+ Discard the connection item.
+
+
+
+
+ Block until there's more room in the queue.
+
+
+
+
+ Action that should be taken if the message overflows.
+
+
+
+
+ Report an error.
+
+
+
+
+ Split the message into smaller pieces.
+
+
+
+
+ Discard the entire message.
+
+
+
+
+ Represents a parameter to a NLogViewer target.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets viewer parameter name.
+
+
+
+
+
+ Gets or sets the layout that should be use to calcuate the value for the parameter.
+
+
+
+
+
+ Sends log messages to the remote instance of NLog Viewer.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+ NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol
+ or you'll get TCP timeouts and your application will crawl.
+ Either switch to UDP transport or use AsyncWrapper target
+ so that your application threads will not be blocked by the timing-out connection attempts.
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
+
+
+
+
+
+ Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain.
+
+
+
+
+
+ Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
+
+
+
+
+
+ Gets or sets a value indicating whether to include dictionary contents.
+
+
+
+
+
+ Gets or sets a value indicating whether to include stack contents.
+
+
+
+
+
+ Gets or sets the NDC item separator.
+
+
+
+
+
+ Gets the collection of parameters. Each parameter contains a mapping
+ between NLog layout and a named parameter.
+
+
+
+
+
+ Gets the layout renderer which produces Log4j-compatible XML events.
+
+
+
+
+ Gets or sets the instance of that is used to format log messages.
+
+
+
+
+
+ Discards log messages. Used mainly for debugging and benchmarking.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Gets or sets a value indicating whether to perform layout calculation.
+
+
+
+
+
+ Does nothing. Optionally it calculates the layout text but
+ discards the results.
+
+ The logging event.
Represents logging target.
+
+
+ Gets or sets the name of the target.
+
+
+
+
+
+ Gets the object which can be used to synchronize asynchronous operations that must rely on the .
+
+
+
+
+ Gets the logging configuration this target is part of.
+
+
+
+
+ Gets a value indicating whether the target has been initialized.
+
+
Initializes this instance.
@@ -11462,30 +13313,35 @@
The event info object to perform the merge to.
-
+
- Gets or sets the name of the target.
-
-
-
-
-
- Gets the object which can be used to synchronize asynchronous operations that must rely on the .
+ Marks class as a logging target and assigns a name to it.
-
+
- Gets the logging configuration this target is part of.
+ Initializes a new instance of the class.
+
+ Name of the target.
+
+
+
+ Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page).
-
+
- Gets a value indicating whether the target has been initialized.
+ Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page).
+
+
+
+
+ Represents target that supports string formatting using layouts.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
@@ -11497,189 +13353,6 @@
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Flush any pending log messages asynchronously (in case of asynchronous targets).
-
- The asynchronous continuation.
-
-
-
- Closes the target.
-
-
-
-
- Sends the
- rendered logging event over the network optionally concatenating it with a newline character.
-
- The logging event.
-
-
-
- Gets the bytes to be written.
-
- Log event.
- Byte array.
-
-
-
- Gets or sets the network address.
-
-
- The network address can be:
-
- - tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
- - tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
- - tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
- - udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
- - udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
- - udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
- - http://host:port/pageName - HTTP using POST verb
- - https://host:port/pageName - HTTPS using POST verb
-
- For SOAP-based webservice support over HTTP use WebService target.
-
-
-
-
-
- Gets or sets a value indicating whether to keep connection open whenever possible.
-
-
-
-
-
- Gets or sets a value indicating whether to append newline at the end of log message.
-
-
-
-
-
- Gets or sets the maximum message size in bytes.
-
-
-
-
-
- Gets or sets the size of the connection cache (number of connections which are kept alive).
-
-
-
-
-
- Gets or sets the maximum queue size.
-
-
-
-
- Gets or sets the action that should be taken if the message is larger than
- maxMessageSize.
-
-
-
-
-
- Gets or sets the encoding to be used.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
-
-
-
-
-
- Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include dictionary contents.
-
-
-
-
-
- Gets or sets a value indicating whether to include stack contents.
-
-
-
-
-
- Gets or sets the NDC item separator.
-
-
-
-
-
- Gets the collection of parameters. Each parameter contains a mapping
- between NLog layout and a named parameter.
-
-
-
-
-
- Gets the layout renderer which produces Log4j-compatible XML events.
-
-
-
-
- Gets or sets the instance of that is used to format log messages.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes log messages to the console.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
Represents target that supports string formatting using layouts.
@@ -11687,7 +13360,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
@@ -11717,1146 +13390,6 @@
The layout with header and footer.
-
-
- Initializes the target.
-
-
-
-
- Closes the target and releases any unmanaged resources.
-
-
-
-
- Writes the specified logging event to the Console.Out or
- Console.Error depending on the value of the Error flag.
-
- The logging event.
-
- Note that the Error option is not supported on .NET Compact Framework.
-
-
-
-
- Write to output
-
- text to be written.
-
-
-
- Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output.
-
-
-
-
-
- A descriptor for an archive created with the DateAndSequence numbering mode.
-
-
-
-
- Determines whether produces the same string as the current instance's date once formatted with the current instance's date format.
-
- The date to compare the current object's date to.
- True if the formatted dates are equal, otherwise False.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- The full name of the archive file.
-
-
-
-
- The parsed date contained in the file name.
-
-
-
-
- The parsed sequence number contained in the file name.
-
-
-
-
- Writes log messages to the attached managed debugger.
-
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes the target.
-
-
-
-
- Closes the target and releases any unmanaged resources.
-
-
-
-
- Writes the specified logging event to the attached debugger.
-
- The logging event.
-
-
-
- Mock target - useful for testing.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Increases the number of messages.
-
- The logging event.
-
-
-
- Gets the number of times this target has been called.
-
-
-
-
-
- Gets the last message rendered by this target.
-
-
-
-
-
- Modes of archiving files based on time.
-
-
-
-
- Don't archive based on time.
-
-
-
-
- AddToArchive every year.
-
-
-
-
- AddToArchive every month.
-
-
-
-
- AddToArchive daily.
-
-
-
-
- AddToArchive every hour.
-
-
-
-
- AddToArchive every minute.
-
-
-
-
- Writes log messages to one or more files.
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to compress archive files into the zip archive format.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Removes records of initialized files that have not been
- accessed in the last two days.
-
-
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
-
-
-
-
- Removes records of initialized files that have not been
- accessed after the specified date.
-
- The cleanup threshold.
-
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
-
-
-
-
- Flushes all pending file operations.
-
- The asynchronous continuation.
-
- The timeout parameter is ignored, because file APIs don't provide
- the needed functionality.
-
-
-
-
- Initializes file logging by creating data structures that
- enable efficient multi-file logging.
-
-
-
-
- Closes the file(s) opened for writing.
-
-
-
-
- Writes the specified logging event to a file specified in the FileName
- parameter.
-
- The logging event.
-
-
-
- Writes the specified array of logging events to a file specified in the FileName
- parameter.
-
- An array of objects.
-
- This function makes use of the fact that the events are batched by sorting
- the requests by filename. This optimizes the number of open/close calls
- and can help improve performance.
-
-
-
-
- Formats the log event for write.
-
- The log event to be formatted.
- A string representation of the log event.
-
-
-
- Gets the bytes to be written to the file.
-
- Log event.
- Array of bytes that are ready to be written.
-
-
-
- Modifies the specified byte array before it gets sent to a file.
-
- The byte array.
- The modified byte array. The function can do the modification in-place.
-
-
-
- Determines whether a file with a different name from is needed to receive .
-
-
-
-
- Deletes files among a given list, and stops as soon as the remaining files are fewer than the MaxArchiveFiles setting.
-
-
- Items are deleted in the same order as in .
- No file is deleted if MaxArchiveFile is equal to zero.
-
-
-
-
- Searches a given directory for archives that comply with the current archive pattern.
-
- An enumeration of archive infos, ordered by their file creation date.
-
-
-
- Deletes archive files in reverse chronological order until only the
- MaxArchiveFiles number of archive files remain.
-
- The pattern that archive filenames will match
-
-
-
- Gets the pattern that archive files will match
-
- Filename of the log file
- Log event info of the log that is currently been written
- A string with a pattern that will match the archive filenames
-
-
-
- Gets or sets the name of the file to write to.
-
-
- This FileName string is a layout which may include instances of layout renderers.
- This lets you use a single target to write to multiple files.
-
-
- The following value makes NLog write logging events to files based on the log level in the directory where
- the application runs.
- ${basedir}/${level}.log
- All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on.
- You can combine as many of the layout renderers as you want to produce an arbitrary log file name.
-
-
-
-
-
- Gets or sets a value indicating whether to create directories if they do not exist.
-
-
- Setting this to false may improve performance a bit, but you'll receive an error
- when attempting to write to a directory that's not present.
-
-
-
-
-
- Gets or sets a value indicating whether to delete old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
-
-
-
-
-
- Gets or sets a value indicating whether to archive old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
- After archiving the old file, the current log file will be empty.
-
-
-
-
-
- Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
-
-
-
-
-
- Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event.
-
-
- Setting this property to True helps improve performance.
-
-
-
-
-
- Gets or sets the maximum number of log filenames that should be stored as existing.
-
-
- The bigger this number is the longer it will take to write each log record. The smaller the number is
- the higher the chance that the clean function will be run when no new files have been opened.
-
-
-
-
-
- Gets or sets a value indicating whether to enable log file(s) to be deleted.
-
-
-
-
-
- Gets or sets a value specifying the date format to use when archving files.
-
-
- This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
-
-
-
-
-
- Gets or sets the line ending mode.
-
-
-
-
-
- Gets or sets a value indicating whether to automatically flush the file buffers after each log message.
-
-
-
-
-
- Gets or sets the 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).
-
-
- The files are managed on a LRU (least recently used) basis, which flushes
- the files that have not been used for the longest period of time should the
- cache become full. As a rule of thumb, you shouldn't set this parameter to
- a very high value. A number like 10-15 shouldn't be exceeded, because you'd
- be keeping a large number of files open which consumes system resources.
-
-
-
-
-
- Gets or sets the 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.
-
-
-
-
-
- Gets or sets the log file buffer size in bytes.
-
-
-
-
-
- Gets or sets the file encoding.
-
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
-
-
- This makes multi-process logging possible. NLog uses a special technique
- that lets it keep the files open for writing.
-
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts.
-
-
- This effectively prevents files from being kept open.
-
-
-
-
-
- Gets or sets the number of times the write is appended on the file before NLog
- discards the log message.
-
-
-
-
-
- Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
-
-
- The actual delay is a random value between 0 and the value specified
- in this parameter. On each failed attempt the delay base is doubled
- up to times.
-
-
- Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:
- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...
- and so on.
-
-
-
-
-
- Gets or sets the 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:
-
-
- Caution: Enabling this option can considerably slow down your file
- logging in multi-process scenarios. If only one process is going to
- be writing to the file, consider setting ConcurrentWrites
- to false for maximum performance.
-
-
-
-
-
- Gets or sets a value indicating whether to automatically archive log files every time the specified time passes.
-
-
- Files are moved to the archive as part of the write operation if the current period of time changes. For example
- if the current hour changes from 10 to 11, the first write that will occur
- on or after 11:00 will trigger the archiving.
-
- Caution: Enabling this option can considerably slow down your file
- logging in multi-process scenarios. If only one process is going to
- be writing to the file, consider setting ConcurrentWrites
- to false for maximum performance.
-
-
-
-
-
-
- Gets or sets the name of the file to be used for an archive.
-
-
- It may contain a special placeholder {#####}
- that will be replaced with a sequence of numbers depending on
- the archiving strategy. The number of hash characters used determines
- the number of numerical digits to be used for numbering files.
-
-
-
-
-
- Gets or sets the maximum number of archive files that should be kept.
-
-
-
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
-
-
-
-
- Gets or sets the way file archives are numbered.
-
-
-
-
-
- Gets the characters that are appended after each line.
-
-
-
-
- Adds a file into archive.
-
- File name of the archive
- Original file name
- Create a directory, if it does not exist
- Enables file compression
- true if the file has been moved successfully; false otherwise
-
-
-
-
-
-
-
-
-
-
-
-
- Remove old archive files when the files on the queue are more than the
- MaxArchiveFilesToKeep.
-
-
-
-
- Creates a new unique filename by appending a number to it. This method tests that
- the filename created does not exist.
-
- This process can be slow as it increments the number sequentially from a specified
- starting point until it finds a number which produces a filename which does not
- exist.
-
- Example:
- Original Filename trace.log
- Target Filename trace.15.log
-
- Original filename
- Number starting point
- File name suitable for archiving
-
-
-
- Characters determining the start of the .
-
-
-
-
- Characters determining the end of the .
-
-
-
-
- Replace the pattern with the specified String.
-
-
-
-
-
-
- File name which is used as template for matching and replacements.
- It is expected to contain a pattern to match.
-
-
-
-
- The begging position of the
- within the . -1 is returned
- when no pattern can be found.
-
-
-
-
- The ending position of the
- within the . -1 is returned
- when no pattern can be found.
-
-
-
-
- Line ending mode.
-
-
-
-
- Insert platform-dependent end-of-line sequence after each line.
-
-
-
-
- Insert CR LF sequence (ASCII 13, ASCII 10) after each line.
-
-
-
-
- Insert CR character (ASCII 13) after each line.
-
-
-
-
- Insert LF character (ASCII 10) after each line.
-
-
-
-
- Do not insert any line ending.
-
-
-
-
- Initializes a new instance of .
-
- The mode name.
- The new line characters to be used.
-
-
-
- Returns the that corresponds to the supplied .
-
-
- The textual representation of the line ending mode, such as CRLF, LF, Default etc.
- Name is not case sensitive.
-
- The value, that corresponds to the .
- There is no line ending mode with the specified name.
-
-
-
- Compares two objects and returns a
- value indicating whether the first one is equal to the second one.
-
- The first level.
- The second level.
- The value of mode1.NewLineCharacters == mode2.NewLineCharacters.
-
-
-
- Compares two objects and returns a
- value indicating whether the first one is not equal to the second one.
-
- The first mode
- The second mode
- The value of mode1.NewLineCharacters != mode2.NewLineCharacters.
-
-
-
- Returns a string representation of the log level.
-
- Log level name.
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms
- and data structures like a hash table.
-
-
-
-
- Determines whether the specified is
- equal to this instance.
-
- The to compare with
- this instance.
-
- Value of true if the specified
- is equal to this instance; otherwise, false.
-
-
- The parameter is null.
-
-
-
-
- Gets the name of the LineEndingMode instance.
-
-
-
-
- Gets the new line characters (value) of the LineEndingMode instance.
-
-
-
-
- Provides a type converter to convert objects to and from other representations.
-
-
-
-
- Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
-
-
- true if this converter can perform the conversion; otherwise, false.
-
- An that provides a format context. A that represents the type you want to convert from.
-
-
-
- Converts the given object to the type of this converter, using the specified context and culture information.
-
-
- An that represents the converted value.
-
- An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed.
-
-
-
- Sends log messages to a NLog Receiver Service (using WCF or Web Services).
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Called when log events are being sent (test hook).
-
- The events.
- The async continuations.
- True if events should be sent, false to stop processing them.
-
-
-
- Writes logging event to the log target. Must be overridden in inheriting
- classes.
-
- Logging event to be written out.
-
-
-
- Writes an array of logging events to the log target. By default it iterates on all
- events and passes them to "Append" method. Inheriting classes can use this method to
- optimize batch writes.
-
- Logging events to be written out.
-
-
-
- Flush any pending log messages asynchronously (in case of asynchronous targets).
-
- The asynchronous continuation.
-
-
-
- Creating a new instance of WcfLogReceiverClient
-
- Inheritors can override this method and provide their own
- service configuration - binding and endpoint address
-
-
-
-
-
- Creating a new instance of IWcfLogReceiverClient
-
- Inheritors can override this method and provide their own
- service configuration - binding and endpoint address
-
-
-
-
-
- Gets or sets the endpoint address.
-
- The endpoint address.
-
-
-
-
- Gets or sets the name of the endpoint configuration in WCF configuration file.
-
- The name of the endpoint configuration.
-
-
-
-
- Gets or sets a value indicating whether to use binary message encoding.
-
-
-
-
-
- Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply)
-
-
-
-
-
- Gets or sets the client ID.
-
- The client ID.
-
-
-
-
- Gets the list of parameters.
-
- The parameters.
-
-
-
-
- Gets or sets a value indicating whether to include per-event properties in the payload sent to the server.
-
-
-
-
-
- Writes log messages to an ArrayList in memory for programmatic retrieval.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Renders the logging event message and adds it to the internal ArrayList of log messages.
-
- The logging event.
-
-
-
- Gets the list of logs gathered in the .
-
-
-
-
- A parameter to MethodCall.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The layout to use for parameter value.
-
-
-
- Initializes a new instance of the class.
-
- Name of the parameter.
- The layout.
-
-
-
- Initializes a new instance of the class.
-
- The name of the parameter.
- The layout.
- The type of the parameter.
-
-
-
- Gets or sets the name of the parameter.
-
-
-
-
-
- Gets or sets the type of the parameter.
-
-
-
-
-
- Gets or sets the layout that should be use to calculate the value for the parameter.
-
-
-
-
-
- Calls the specified static method on each log message and passes contextual parameters to it.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- The base class for all targets which call methods (local or remote).
- Manages parameters and type coercion.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Prepares an array of parameters to be passed based on the logging event and calls DoInvoke().
-
-
- The logging event.
-
-
-
-
- Calls the target method. Must be implemented in concrete classes.
-
- Method call parameters.
- The continuation.
-
-
-
- Calls the target method. Must be implemented in concrete classes.
-
- Method call parameters.
-
-
-
- Gets the array of parameters to be passed.
-
-
-
-
-
- Initializes the target.
-
-
-
-
- Calls the specified Method.
-
- Method parameters.
-
-
-
- Gets or sets the class name.
-
-
-
-
-
- Gets or sets the method name. The method must be public and static.
-
-
-
-
-
- Action that should be taken if the message overflows.
-
-
-
-
- Report an error.
-
-
-
-
- Split the message into smaller pieces.
-
-
-
-
- Discard the entire message.
-
-
-
-
- Represents a parameter to a NLogViewer target.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets viewer parameter name.
-
-
-
-
-
- Gets or sets the layout that should be use to calcuate the value for the parameter.
-
-
-
-
-
- Discards log messages. Used mainly for debugging and benchmarking.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Does nothing. Optionally it calculates the layout text but
- discards the results.
-
- The logging event.
-
-
-
- Gets or sets a value indicating whether to perform layout calculation.
-
-
-
-
-
- Marks class as a logging target and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the target.
-
-
-
- Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page).
-
-
-
-
- Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page).
-
-
Web service protocol.
@@ -12910,41 +13443,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Calls the target method. Must be implemented in concrete classes.
-
- Method call parameters.
-
-
-
- Invokes the web service method.
-
- Parameters to be passed.
- The continuation.
-
-
-
- Helper for creating soap POST-XML request
-
-
-
-
-
-
-
-
-
- Write from input to output. Fix the UTF-8 bom
-
-
-
-
-
-
Gets or sets the web service URL.
@@ -12982,6 +13483,38 @@
+
+
+ Calls the target method. Must be implemented in concrete classes.
+
+ Method call parameters.
+
+
+
+ Invokes the web service method.
+
+ Parameters to be passed.
+ The continuation.
+
+
+
+ Helper for creating soap POST-XML request
+
+
+
+
+
+
+
+
+
+ Write from input to output. Fix the UTF-8 bom
+
+
+
+
+
+
Asynchronous request queue.
@@ -12994,6 +13527,22 @@
Request limit.
The overflow action.
+
+
+ Gets or sets the request limit.
+
+
+
+
+ Gets or sets the action to be taken when there's no more room in
+ the queue and another request is enqueued.
+
+
+
+
+ Gets the number of requests currently in the queue.
+
+
Enqueues another item. If the queue is overflown the appropriate
@@ -13014,22 +13563,6 @@
Clears the queue.
-
-
- Gets or sets the request limit.
-
-
-
-
- Gets or sets the action to be taken when there's no more room in
- the queue and another request is enqueued.
-
-
-
-
- Gets the number of requests currently in the queue.
-
-
Provides asynchronous, buffered execution of target writes.
@@ -13067,55 +13600,56 @@
-
-
- Base class for targets wrap other (single) targets.
-
-
-
-
- Returns the text representation of the object. Used for diagnostics.
-
- A string that describes the target.
-
-
-
- Flush any pending log messages (in case of asynchronous targets).
-
- The asynchronous continuation.
-
-
-
- Writes logging event to the log target. Must be overridden in inheriting
- classes.
-
- Logging event to be written out.
-
-
-
- Gets or sets the target that is wrapped by this target.
-
-
-
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
Maximum number of requests in the queue.
The action to be taken when the queue overflows.
+
+
+ Gets or sets the number of log events that should be processed in a batch
+ by the lazy writer thread.
+
+
+
+
+
+ Gets or sets the time in milliseconds to sleep between batches.
+
+
+
+
+
+ Gets or sets the action to be taken when the lazy writer thread request queue count
+ exceeds the set limit.
+
+
+
+
+
+ Gets or sets the limit on the number of requests in the lazy writer thread request queue.
+
+
+
+
+
+ Gets the queue of lazy writer thread requests.
+
+
Waits for the lazy writer thread to finish writing messages.
@@ -13154,37 +13688,6 @@
to ensure that the log event can be processed in another thread.
-
-
- Gets or sets the number of log events that should be processed in a batch
- by the lazy writer thread.
-
-
-
-
-
- Gets or sets the time in milliseconds to sleep between batches.
-
-
-
-
-
- Gets or sets the action to be taken when the lazy writer thread request queue count
- exceeds the set limit.
-
-
-
-
-
- Gets or sets the limit on the number of requests in the lazy writer thread request queue.
-
-
-
-
-
- Gets the queue of lazy writer thread requests.
-
-
The action to be taken when the queue overflows.
@@ -13225,7 +13728,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
@@ -13233,7 +13736,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
@@ -13252,53 +13755,30 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
Size of the buffer.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
Size of the buffer.
The flush timeout.
-
-
- Flushes pending events in the buffer (if any).
-
- The asynchronous continuation.
-
-
-
- Initializes the target.
-
-
-
-
- Closes the target by flushing pending events in the buffer (if any).
-
-
-
-
- Adds the specified log event to the buffer and flushes
- the buffer in case the buffer gets full.
-
- The log event.
-
Gets or sets the number of log events to be buffered.
@@ -13323,6 +13803,29 @@
+
+
+ Flushes pending events in the buffer (if any).
+
+ The asynchronous continuation.
+
+
+
+ Initializes the target.
+
+
+
+
+ Closes the target by flushing pending events in the buffer (if any).
+
+
+
+
+ Adds the specified log event to the buffer and flushes
+ the buffer in case the buffer gets full.
+
+ The log event.
+
A base class for targets which wrap other (multiple) targets
@@ -13331,10 +13834,15 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
+
+
+ Gets the collection of targets managed by this compound target.
+
+
Returns the text representation of the object. Used for diagnostics.
@@ -13353,11 +13861,6 @@
The asynchronous continuation.
-
-
- Gets the collection of targets managed by this compound target.
-
-
Provides fallback-on-error.
@@ -13385,10 +13888,16 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
+
+
+ Gets or sets a value indicating whether to return to the first target after any successful write.
+
+
+
Forwards the log event to the sub-targets until one of them succeeds.
@@ -13402,12 +13911,6 @@
stored in .
-
-
- Gets or sets a value indicating whether to return to the first target after any successful write.
-
-
-
Filtering rule for .
@@ -13458,16 +13961,23 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
The condition.
+
+
+ Gets or sets the condition expression. Log events who meet this condition will be forwarded
+ to the wrapped target.
+
+
+
Checks the condition against the passed log event.
@@ -13476,13 +13986,6 @@
Log event.
-
-
- Gets or sets the condition expression. Log events who meet this condition will be forwarded
- to the wrapped target.
-
-
-
Filters buffered log entries based on a set of conditions that are evaluated on a group of events.
@@ -13514,18 +14017,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Evaluates all filtering rules to find the first one that matches.
- The matching rule determines the filtering condition to be applied
- to all items in a buffer. If no condition matches, default filter
- is applied to the array of log events.
-
- Array of log events to be post-filtered.
-
Gets or sets the default filter to be applied when no specific rule matches.
@@ -13540,6 +14034,15 @@
+
+
+ Evaluates all filtering rules to find the first one that matches.
+ The matching rule determines the filtering condition to be applied
+ to all items in a buffer. If no condition matches, default filter
+ is applied to the array of log events.
+
+ Array of log events to be post-filtered.
+
Sends log messages to a randomly selected target.
@@ -13563,12 +14066,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
@@ -13600,28 +14103,28 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
The repeat count.
-
-
- Forwards the log message to the by calling the method times.
-
- The log event.
-
Gets or sets the number of times to repeat each log message.
+
+
+ Forwards the log message to the by calling the method times.
+
+ The log event.
+
Retries in case of write error.
@@ -13644,23 +14147,17 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
The retry count.
The retry delay milliseconds.
-
-
- Writes the specified log event to the wrapped target, retrying and pausing in case of an error.
-
- The log event.
-
Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure.
@@ -13673,6 +14170,12 @@
+
+
+ Writes the specified log event to the wrapped target, retrying and pausing in case of an error.
+
+ The log event.
+
Distributes log events to targets in a round-robin fashion.
@@ -13696,12 +14199,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
@@ -13741,12 +14244,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
@@ -13764,16 +14267,145 @@
Logging events to be written out.
+
+
+ Base class for targets wrap other (single) targets.
+
+
+
+
+ Gets or sets the target that is wrapped by this target.
+
+
+
+
+
+ Returns the text representation of the object. Used for diagnostics.
+
+ A string that describes the target.
+
+
+
+ Flush any pending log messages (in case of asynchronous targets).
+
+ The asynchronous continuation.
+
+
+
+ Writes logging event to the log target. Must be overridden in inheriting
+ classes.
+
+ Logging event to be written out.
+
Current local time retrieved directly from DateTime.Now.
+
+
+ Gets current local time directly from DateTime.Now.
+
+
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to local time.
+
+
+
+
+ Current UTC time retrieved directly from DateTime.UtcNow.
+
+
+
+
+ Gets current UTC time directly from DateTime.UtcNow.
+
+
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to UTC time.
+
+
+
+
+ Fast time source that updates current time only once per tick (15.6 milliseconds).
+
+
+
+
+ Gets raw uncached time from derived time source.
+
+
+
+
+ Gets current time cached for one system tick (15.6 milliseconds).
+
+
+
+
+ Fast local time source that is updated once per tick (15.6 milliseconds).
+
+
+
+
+ Gets uncached local time directly from DateTime.Now.
+
+
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to local time.
+
+
+
+
+ Fast UTC time source that is updated once per tick (15.6 milliseconds).
+
+
+
+
+ Gets uncached UTC time directly from DateTime.UtcNow.
+
+
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to UTC time.
+
+
Defines source of current time.
+
+
+ Gets current time.
+
+
+
+
+ Gets or sets current global time source used in all log events.
+
+
+ Default time source is .
+
+
Returns a that represents this instance.
@@ -13807,105 +14439,6 @@
-
-
- Gets current time.
-
-
-
-
- Gets or sets current global time source used in all log events.
-
-
- Default time source is .
-
-
-
-
- Converts the specified system time to the same form as the time value originated from this time source.
-
- The system originated time value to convert.
-
- The value of converted to local time.
-
-
-
-
- Gets current local time directly from DateTime.Now.
-
-
-
-
- Current UTC time retrieved directly from DateTime.UtcNow.
-
-
-
-
- Converts the specified system time to the same form as the time value originated from this time source.
-
- The system originated time value to convert.
-
- The value of converted to UTC time.
-
-
-
-
- Gets current UTC time directly from DateTime.UtcNow.
-
-
-
-
- Fast time source that updates current time only once per tick (15.6 milliseconds).
-
-
-
-
- Gets raw uncached time from derived time source.
-
-
-
-
- Gets current time cached for one system tick (15.6 milliseconds).
-
-
-
-
- Fast local time source that is updated once per tick (15.6 milliseconds).
-
-
-
-
- Converts the specified system time to the same form as the time value originated from this time source.
-
- The system originated time value to convert.
-
- The value of converted to local time.
-
-
-
-
- Gets uncached local time directly from DateTime.Now.
-
-
-
-
- Fast UTC time source that is updated once per tick (15.6 milliseconds).
-
-
-
-
- Converts the specified system time to the same form as the time value originated from this time source.
-
- The system originated time value to convert.
-
- The value of converted to UTC time.
-
-
-
-
- Gets uncached UTC time directly from DateTime.UtcNow.
-
-
Marks class as a time source and assigns a name to it.
@@ -13913,9 +14446,25 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the time source.
+
+
+ Define Localizable attribute for platforms that don't have it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Determines whether the target is localizable.
+
+
+
+ Gets or sets a value indicating whether the target is localizable.
+
+
diff --git a/app/packages/NLog.4.2.3/lib/sl5/NLog.dll b/app/packages/NLog.4.2.3/lib/sl5/NLog.dll
new file mode 100644
index 0000000..186c63f
Binary files /dev/null and b/app/packages/NLog.4.2.3/lib/sl5/NLog.dll differ
diff --git a/app/packages/NLog.4.1.2/lib/sl5/NLog.xml b/app/packages/NLog.4.2.3/lib/sl5/NLog.xml
similarity index 94%
rename from app/packages/NLog.4.1.2/lib/sl5/NLog.xml
rename to app/packages/NLog.4.2.3/lib/sl5/NLog.xml
index 9309641..6d84e01 100644
--- a/app/packages/NLog.4.1.2/lib/sl5/NLog.xml
+++ b/app/packages/NLog.4.2.3/lib/sl5/NLog.xml
@@ -475,6 +475,16 @@
The log event.
The continuation.
+
+
+ Gets the log event.
+
+
+
+
+ Gets the continuation.
+
+
Implements the operator ==.
@@ -508,16 +518,6 @@
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
- Gets the log event.
-
-
-
-
- Gets the continuation.
-
-
NLog internal logger.
@@ -528,6 +528,67 @@
Initializes static members of the InternalLogger class.
+
+
+ Gets or sets the internal log level.
+
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console output stream.
+
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console error stream.
+
+
+
+
+ Gets or sets the file path of the internal log file.
+
+ A value of value disables internal logging to a file.
+
+
+
+ Gets or sets the text writer that will receive internal logs.
+
+
+
+
+ Gets or sets a value indicating whether timestamp should be included in internal log output.
+
+
+
+
+ Gets a value indicating whether internal log includes Trace messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Debug messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Info messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Warn messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Error messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Fatal messages.
+
+
Logs the specified message at the specified level.
@@ -621,66 +682,11 @@
Log message.
-
+
- Gets or sets the internal log level.
-
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console output stream.
-
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console error stream.
-
-
-
-
- Gets or sets the file path of the internal log file.
-
- A value of value disables internal logging to a file.
-
-
-
- Gets or sets the text writer that will receive internal logs.
-
-
-
-
- Gets or sets a value indicating whether timestamp should be included in internal log output.
-
-
-
-
- Gets a value indicating whether internal log includes Trace messages.
-
-
-
-
- Gets a value indicating whether internal log includes Debug messages.
-
-
-
-
- Gets a value indicating whether internal log includes Info messages.
-
-
-
-
- Gets a value indicating whether internal log includes Warn messages.
-
-
-
-
- Gets a value indicating whether internal log includes Error messages.
-
-
-
-
- Gets a value indicating whether internal log includes Fatal messages.
+ Logs the assembly version and file version of the given Assembly.
+ The assembly to log.
@@ -689,12 +695,17 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Buffer size.
Whether buffer should grow as it becomes full.
The maximum number of items that the buffer can grow to.
+
+
+ Gets the number of items in the array.
+
+
Adds the specified log event to the buffer.
@@ -708,16 +719,64 @@
Events in the buffer.
-
-
- Gets the number of items in the array.
-
-
Condition and expression.
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the AND expression.
+ Right hand side of the AND expression.
+
+
+
+ Gets the left hand side of the AND expression.
+
+
+
+
+ Gets the right hand side of the AND expression.
+
+
+
+
+ Returns a string representation of this expression.
+
+ A concatenated '(Left) and (Right)' string.
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the conjunction operator.
+
+
+
+ Exception during evaluation of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
Base class for representing nodes in condition expression trees.
@@ -752,59 +811,6 @@
Evaluation context.
Expression result.
-
-
- Initializes a new instance of the class.
-
- Left hand side of the AND expression.
- Right hand side of the AND expression.
-
-
-
- Returns a string representation of this expression.
-
- A concatenated '(Left) and (Right)' string.
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the conjunction operator.
-
-
-
- Gets the left hand side of the AND expression.
-
-
-
-
- Gets the right hand side of the AND expression.
-
-
-
-
- Exception during evaluation of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
Condition layout expression (represented by a string literal
@@ -813,10 +819,16 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The layout.
+
+
+ Gets the layout.
+
+ The layout.
+
Returns a string representation of this expression.
@@ -831,12 +843,6 @@
Evaluation context.
The value of the layout.
-
-
- Gets the layout.
-
- The layout.
-
Condition level expression (represented by the level keyword).
@@ -862,10 +868,16 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Literal value.
+
+
+ Gets the literal value.
+
+ The literal value.
+
Returns a string representation of the expression.
@@ -879,12 +891,6 @@
Evaluation context.
The literal value as passed in the constructor.
-
-
- Gets the literal value.
-
- The literal value.
-
Condition logger name expression (represented by the logger keyword).
@@ -926,27 +932,9 @@
Marks class as a log event Condition and assigns a name to it.
-
-
- Attaches a simple name to an item (such as ,
- , , etc.).
-
-
-
-
- Initializes a new instance of the class.
-
- The name of the item.
-
-
-
- Gets the name of the item.
-
- The name of the item.
-
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Condition method name.
@@ -957,12 +945,23 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the condition method.
of the condition method.
The method parameters.
+
+
+ Gets the method info.
+
+
+
+
+ Gets the method parameters.
+
+ The method parameters.
+
Returns a string representation of the expression.
@@ -978,17 +977,6 @@
Evaluation context.
Expression result.
-
-
- Gets the method info.
-
-
-
-
- Gets the method parameters.
-
- The method parameters.
-
A bunch of utility methods (mostly predicates) which can be used in
@@ -1058,10 +1046,16 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The expression.
+
+
+ Gets the expression to be negated.
+
+ The expression.
+
Returns a string representation of the expression.
@@ -1077,12 +1071,6 @@
Evaluation context.
Expression result.
-
-
- Gets the expression to be negated.
-
- The expression.
-
Condition or expression.
@@ -1090,11 +1078,23 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Left hand side of the OR expression.
Right hand side of the OR expression.
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
Returns a string representation of the expression.
@@ -1110,18 +1110,6 @@
Evaluation context.
The value of the alternative operator.
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
Exception during parsing of condition expression.
@@ -1129,18 +1117,18 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
The inner exception.
@@ -1194,12 +1182,30 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The left expression.
The right expression.
The relational operator.
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+ Gets the relational operator.
+
+ The operator.
+
Returns a string representation of the expression.
@@ -1224,24 +1230,6 @@
The relational operator.
Result of the given relational operator.
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
- Gets the relational operator.
-
- The operator.
-
Relational operators used in conditions.
@@ -1288,6 +1276,30 @@
The string reader.
+
+
+ Gets the token position.
+
+ The token position.
+
+
+
+ Gets the type of the token.
+
+ The type of the token.
+
+
+
+ Gets the token value.
+
+ The token value.
+
+
+
+ Gets the value of a string token.
+
+ The string token value.
+
Asserts current token type and advances to the next token.
@@ -1354,30 +1366,6 @@
current char
is match
-
-
- Gets the token position.
-
- The token position.
-
-
-
- Gets the type of the token.
-
- The type of the token.
-
-
-
- Gets the token value.
-
- The token value.
-
-
-
- Gets the value of a string token.
-
- The string token value.
-
Mapping between characters and token types for punctuations.
@@ -1403,7 +1391,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
@@ -1419,7 +1407,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The type of the array item.
The XML element name that represents the item.
@@ -1446,57 +1434,20 @@
Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog.
-
-
- Initializes static members of the class.
-
-
Initializes a new instance of the class.
The assemblies to scan for named items.
-
-
- Registers named items from the assembly.
-
- The assembly.
-
-
-
- Registers named items from the assembly.
-
- The assembly.
- Item name prefix.
-
-
-
- Clears the contents of all factories.
-
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Builds the default configuration item factory.
-
- Default factory.
-
-
-
- Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll.
-
-
Gets or sets default singleton instance of .
+
+ This property implements lazy instantiation so that the is not built before
+ the internal logger is configured.
+
@@ -1548,6 +1499,42 @@
The condition method factory.
+
+
+ Registers named items from the assembly.
+
+ The assembly.
+
+
+
+ Registers named items from the assembly.
+
+ The assembly.
+ Item name prefix.
+
+
+
+ Clears the contents of all factories.
+
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Builds the default configuration item factory.
+
+ Default factory.
+
+
+
+ Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll.
+
+
Attribute used to mark the default parameters for layout renderers.
@@ -1555,7 +1542,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
@@ -1565,48 +1552,6 @@
The base type of each item.
The type of the attribute used to annotate items.
-
-
- Represents a factory of named items (such as targets, layouts, layout renderers, etc.).
-
- Base type for each item instance.
- Item definition type (typically or ).
-
-
-
- Registers new item definition.
-
- Name of the item.
- Item definition.
-
-
-
- Tries to get registered item definition.
-
- Name of the item.
- Reference to a variable which will store the item definition.
- Item definition.
-
-
-
- Creates item instance.
-
- Name of the item.
- Newly created item instance.
-
-
-
- Tries to create an item instance.
-
- Name of the item.
- The result.
- True if instance was created successfully, false otherwise.
-
-
-
- Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.).
-
-
Scans the assembly.
@@ -1663,6 +1608,11 @@
The name of the item.
Created item.
+
+
+ Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.).
+
+
Implemented by objects which support installation and uninstallation.
@@ -1689,6 +1639,43 @@
Value indicating whether the item is installed or null if it is not possible to determine.
+
+
+ Represents a factory of named items (such as targets, layouts, layout renderers, etc.).
+
+ Base type for each item instance.
+ Item definition type (typically or ).
+
+
+
+ Registers new item definition.
+
+ Name of the item.
+ Item definition.
+
+
+
+ Tries to get registered item definition.
+
+ Name of the item.
+ Reference to a variable which will store the item definition.
+ Item definition.
+
+
+
+ Creates item instance.
+
+ Name of the item.
+ Newly created item instance.
+
+
+
+ Tries to create an item instance.
+
+ Name of the item.
+ The result.
+ True if instance was created successfully, false otherwise.
+
Provides context for install/uninstall operations.
@@ -1705,6 +1692,26 @@
The log output.
+
+
+ Gets or sets the installation log level.
+
+
+
+
+ Gets or sets a value indicating whether to ignore failures during installation.
+
+
+
+
+ Gets the installation parameters.
+
+
+
+
+ Gets or sets the log output.
+
+
Logs the specified trace message.
@@ -1751,26 +1758,6 @@
Log event info object.
-
-
- Gets or sets the installation log level.
-
-
-
-
- Gets or sets a value indicating whether to ignore failures during installation.
-
-
-
-
- Gets the installation parameters.
-
-
-
-
- Gets or sets the log output.
-
-
Keeps logging configuration and provides simple API
@@ -1784,7 +1771,51 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+
+
+ Use the old exception log handling of NLog 3.0?
+
+
+
+
+ Gets the variables defined in the configuration.
+
+
+
+
+ Gets a collection of named targets specified in the configuration.
+
+
+ A list of named targets.
+
+
+ Unnamed targets (such as those wrapped by other targets) are not returned.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+
+
+
+
+ Gets the collection of logging rules.
+
+
+
+
+ Gets or sets the default culture info to use as .
+
+
+ Specific culture info or null to use
+
+
+
+
+ Gets all targets.
@@ -1869,6 +1900,16 @@
Closes all targets and releases any unmanaged resources.
+
+
+ Log to the internal (NLog) logger the information about the and associated with this instance.
+
+
+ The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
+ recorded.
+
+
Flushes any pending log messages on all appenders.
@@ -1880,50 +1921,6 @@
Validates the configuration.
-
-
- Use the old exception log handling of NLog 3.0?
-
-
-
-
- Gets the variables defined in the configuration.
-
-
-
-
- Gets a collection of named targets specified in the configuration.
-
-
- A list of named targets.
-
-
- Unnamed targets (such as those wrapped by other targets) are not returned.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
-
-
-
-
- Gets the collection of logging rules.
-
-
-
-
- Gets or sets the default culture info to use as .
-
-
- Specific culture info or null to use
-
-
-
-
- Gets all targets.
-
-
Arguments for events.
@@ -1931,7 +1928,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The old configuration.
The new configuration.
@@ -1955,12 +1952,12 @@
- Create an empty .
+ Create an empty .
- Create a new with a which writes to .
+ Create a new with a which writes to .
Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
Minimum log level needed to trigger this rule.
@@ -1968,11 +1965,44 @@
- Create a (disabled) . You should call to enable logging.
+ Create a (disabled) . You should call to enable logging.
Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
Target to be written to when the rule matches.
+
+
+ Gets a collection of targets that should be written to when this rule matches.
+
+
+
+
+ Gets a collection of child rules to be evaluated when this rule matches.
+
+
+
+
+ Gets a collection of filters to be checked before writing to targets.
+
+
+
+
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+
+ Gets or sets logger name pattern.
+
+
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends but not anywhere else.
+
+
+
+
+ Gets the collection of log levels enabled by this rule.
+
+
Enables logging for a particular level.
@@ -2007,39 +2037,6 @@
String to be matched.
A value of when the name matches, otherwise.
-
-
- Gets a collection of targets that should be written to when this rule matches.
-
-
-
-
- Gets a collection of child rules to be evaluated when this rule matches.
-
-
-
-
- Gets a collection of filters to be checked before writing to targets.
-
-
-
-
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
-
- Gets or sets logger name pattern.
-
-
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends but not anywhere else.
-
-
-
-
- Gets the collection of log levels enabled by this rule.
-
-
Factory for locating methods.
@@ -2047,6 +2044,16 @@
The type of the class marker attribute.
The type of the method marker attribute.
+
+
+ Gets a collection of all registered items in the factory.
+
+
+ Sequence of key/value pairs where each key represents the name
+ of the item and value is the of
+ the item.
+
+
Scans the assembly for classes marked with
@@ -2098,15 +2105,23 @@
The result.
A value of true if the method was found, false otherwise.
-
+
- Gets a collection of all registered items in the factory.
+ Attaches a simple name to an item (such as ,
+ , , etc.).
-
- Sequence of key/value pairs where each key represents the name
- of the item and value is the of
- the item.
-
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the item.
+
+
+
+ Gets the name of the item.
+
+ The name of the item.
@@ -2150,6 +2165,26 @@
Prevents a default instance of the class from being created.
+
+
+ Gets the element name.
+
+
+
+
+ Gets the dictionary of attribute values.
+
+
+
+
+ Gets the collection of child elements.
+
+
+
+
+ Gets the value of the element.
+
+
Returns children elements with the specified element name.
@@ -2187,26 +2222,6 @@
The allowed names.
-
-
- Gets the element name.
-
-
-
-
- Gets the dictionary of attribute values.
-
-
-
-
- Gets the collection of child elements.
-
-
-
-
- Gets the value of the element.
-
-
Attribute used to mark the required parameters for targets,
@@ -2295,37 +2310,55 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Configuration file to be read.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Configuration file to be read.
Ignore any errors during configuration.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
containing the configuration section.
Name of the file that contains the element (to be used as a base for including other files).
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
containing the configuration section.
Name of the file that contains the element (to be used as a base for including other files).
Ignore any errors during configuration.
+
+
+ Did the Succeeded? true= success, false= error, null = initialize not started yet.
+
+
+
+
+ Gets or sets a value indicating whether the configuration files
+ should be watched for changes and reloaded automatically when changed.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+ This is the list of configuration files processed.
+ If the autoReload attribute is not set it returns empty collection.
+
+
- Re-reads the original configuration file and returns the new object.
+ Re-reads the original configuration file and returns the new object.
- The new object.
+ The new object.
@@ -2397,24 +2430,6 @@
-
-
- Did the Succeeded? true= success, false= error, null = initialize not started yet.
-
-
-
-
- Gets or sets a value indicating whether the configuration files
- should be watched for changes and reloaded automatically when changed.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
- This is the list of configuration files processed.
- If the autoReload attribute is not set it returns empty collection.
-
-
Matches when the specified condition is met.
@@ -2424,6 +2439,23 @@
described here.
+
+
+ Gets or sets the condition expression.
+
+
+
+
+
+ Checks whether log event should be logged or not.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
An abstract filter class. Provides a way to eliminate log messages
@@ -2432,9 +2464,15 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+ Gets or sets the action to be taken when filter matches.
+
+
+
Gets the result of evaluating filter against given log event.
@@ -2453,29 +2491,6 @@
- if the log event should be logged
.
-
-
- Gets or sets the action to be taken when filter matches.
-
-
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Gets or sets the condition expression.
-
-
-
Marks class as a layout renderer and assigns a name to it.
@@ -2483,7 +2498,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the filter.
@@ -2524,7 +2539,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
@@ -2540,17 +2555,6 @@
This filter is deprecated in favor of <when /> which is based on conditions.
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
Gets or sets a value indicating whether to ignore case when comparing strings.
@@ -2563,13 +2567,7 @@
-
-
- Matches when the calculated layout is equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
+
Checks whether log event should be logged or not.
@@ -2580,6 +2578,12 @@
- if the log event should be logged
.
+
+
+ Matches when the calculated layout is equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
Gets or sets a value indicating whether to ignore case when comparing strings.
@@ -2592,13 +2596,7 @@
-
-
- Matches when the calculated layout does NOT contain the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
+
Checks whether log event should be logged or not.
@@ -2609,6 +2607,12 @@
- if the log event should be logged
.
+
+
+ Matches when the calculated layout does NOT contain the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
Gets or sets the substring to be matched.
@@ -2621,18 +2625,7 @@
-
-
- Matches when the calculated layout is NOT equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
+
Checks whether log event should be logged or not.
@@ -2643,6 +2636,17 @@
- if the log event should be logged
.
+
+
+ Matches when the calculated layout is NOT equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+
Gets or sets a string to compare the layout to.
@@ -2655,6 +2659,17 @@
+
+
+ Checks whether log event should be logged or not.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
A fluent class to build log events for NLog.
@@ -2673,6 +2688,11 @@
The to send the log event.
The for the log event.
+
+
+ Gets the created by the builder.
+
+
Sets the information of the logging event.
@@ -2803,11 +2823,6 @@
If condition is true, write log event; otherwise ignore event.
-
-
- Gets the created by the builder.
-
-
Extension methods for NLog .
@@ -2979,225 +2994,41 @@
Provides logging interface and utility functions.
-
+
- Gets a value indicating whether logging is enabled for the specified level.
+ Gets a value indicating whether logging is enabled for the Trace level.
- Log level to be checked.
- A value of if logging is enabled for the specified level, otherwise it returns .
+ A value of if logging is enabled for the Trace level, otherwise it returns .
-
+
- Writes the specified diagnostic message.
+ Gets a value indicating whether logging is enabled for the Debug level.
- Log event.
+ A value of if logging is enabled for the Debug level, otherwise it returns .
-
+
- Writes the specified diagnostic message.
+ Gets a value indicating whether logging is enabled for the Info level.
- The name of the type that wraps Logger.
- Log event.
+ A value of if logging is enabled for the Info level, otherwise it returns .
-
-
- Writes the diagnostic message at the specified level using the specified format provider and format parameters.
-
+
- Writes the diagnostic message at the specified level.
+ Gets a value indicating whether logging is enabled for the Warn level.
- Type of the value.
- The log level.
- The value to be written.
+ A value of if logging is enabled for the Warn level, otherwise it returns .
-
+
- Writes the diagnostic message at the specified level.
+ Gets a value indicating whether logging is enabled for the Error level.
- Type of the value.
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- The value to be written.
+ A value of if logging is enabled for the Error level, otherwise it returns .
-
+
- Writes the diagnostic message at the specified level.
+ Gets a value indicating whether logging is enabled for the Fatal level.
- The log level.
- A function returning message to be written. Function is not evaluated if logging is not enabled.
-
-
-
- Writes the diagnostic message and exception at the specified level.
-
- The log level.
- A to be written.
- An exception to be logged.
-
-
-
- Writes the diagnostic message and exception at the specified level.
-
- The log level.
- A to be written.
- Arguments to format.
- An exception to be logged.
-
-
-
- Writes the diagnostic message and exception at the specified level.
-
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A to be written.
- Arguments to format.
- An exception to be logged.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider.
-
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A containing format items.
- Arguments to format.
-
-
-
- Writes the diagnostic message at the specified level.
-
- The log level.
- Log message.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameters.
-
- The log level.
- A containing format items.
- Arguments to format.
-
-
-
- Writes the diagnostic message and exception at the specified level.
-
- The log level.
- A to be written.
- An exception to be logged.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider.
-
- The type of the argument.
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A containing one format item.
- The argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameter.
-
- The type of the argument.
- The log level.
- A containing one format item.
- The argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
-
- The type of the first argument.
- The type of the second argument.
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A containing one format item.
- The first argument to format.
- The second argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameters.
-
- The type of the first argument.
- The type of the second argument.
- The log level.
- A containing one format item.
- The first argument to format.
- The second argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- The log level.
- An IFormatProvider that supplies culture-specific formatting information.
- A containing one format item.
- The first argument to format.
- The second argument to format.
- The third argument to format.
-
-
-
- Writes the diagnostic message at the specified level using the specified parameters.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- The log level.
- A containing one format item.
- The first argument to format.
- The second argument to format.
- The third argument to format.
-
-
-
- Occurs when logger configuration changes.
-
-
-
-
- Gets the name of the logger.
-
-
-
-
- Gets the factory that created this logger.
-
-
-
-
- Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
-
-
-
-
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
-
- Action to execute.
-
-
-
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Result returned by the provided function or fallback value in case of exception.
-
-
-
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
- Result returned by the provided function or fallback value in case of exception.
+ A value of if logging is enabled for the Fatal level, otherwise it returns .
@@ -4033,41 +3864,200 @@
The second argument to format.
The third argument to format.
-
+
- Gets a value indicating whether logging is enabled for the Trace level.
+ Logger with only generic methods (passing 'LogLevel' to methods) and core properties.
- A value of if logging is enabled for the Trace level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Debug level.
+ Occurs when logger configuration changes.
- A value of if logging is enabled for the Debug level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Info level.
+ Gets the name of the logger.
- A value of if logging is enabled for the Info level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Warn level.
+ Gets the factory that created this logger.
- A value of if logging is enabled for the Warn level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Error level.
+ Gets a value indicating whether logging is enabled for the specified level.
- A value of if logging is enabled for the Error level, otherwise it returns .
+ Log level to be checked.
+ A value of if logging is enabled for the specified level, otherwise it returns .
-
+
- Gets a value indicating whether logging is enabled for the Fatal level.
+ Writes the specified diagnostic message.
- A value of if logging is enabled for the Fatal level, otherwise it returns .
+ Log event.
+
+
+
+ Writes the specified diagnostic message.
+
+ The name of the type that wraps Logger.
+ Log event.
+
+
+
+ Writes the diagnostic message at the specified level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the specified level.
+
+ Type of the value.
+ The log level.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ Type of the value.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ The log level.
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ Arguments to format.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ Arguments to format.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ The log level.
+ Log message.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The log level.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider.
+
+ The type of the argument.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameter.
+
+ The type of the argument.
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The log level.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ The log level.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
@@ -4082,56 +4072,6 @@
The implementation.
-
-
- Adds an element with the provided key and value to the object.
-
- The to use as the key of the element to add.
- The to use as the value of the element to add.
-
-
-
- Removes all elements from the object.
-
-
-
-
- Determines whether the object contains an element with the specified key.
-
- The key to locate in the object.
-
- True if the contains an element with the key; otherwise, false.
-
-
-
-
- Returns an object for the object.
-
-
- An object for the object.
-
-
-
-
- Removes the element with the specified key from the object.
-
- The key of the element to remove.
-
-
-
- Copies the elements of the to an , starting at a particular index.
-
- The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
- The zero-based index in at which copying begins.
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
Gets an object containing the values in the object.
@@ -4199,6 +4139,56 @@
Dictionary key.
Value corresponding to key or null if not found
+
+
+ Adds an element with the provided key and value to the object.
+
+ The to use as the key of the element to add.
+ The to use as the value of the element to add.
+
+
+
+ Removes all elements from the object.
+
+
+
+
+ Determines whether the object contains an element with the specified key.
+
+ The key to locate in the object.
+
+ True if the contains an element with the key; otherwise, false.
+
+
+
+
+ Returns an object for the object.
+
+
+ An object for the object.
+
+
+
+
+ Removes the element with the specified key from the object.
+
+ The key of the element to remove.
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
Wrapper IDictionaryEnumerator.
@@ -4206,23 +4196,10 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped.
-
-
- Advances the enumerator to the next element of the collection.
-
-
- True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
-
-
-
-
- Sets the enumerator to its initial position, which is before the first element in the collection.
-
-
Gets both the key and the value of the current dictionary entry.
@@ -4259,6 +4236,19 @@
The current element in the collection.
+
+
+ Advances the enumerator to the next element of the collection.
+
+
+ True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
+
+
+
+
+ Sets the enumerator to its initial position, which is before the first element in the collection.
+
+
UTF-8 BOM 239, 187, 191
@@ -4327,11 +4317,6 @@
Adapter for to
-
-
- Interface for fakeable the current . Not fully implemented, please methods/properties as necessary.
-
-
Initializes a new instance of the class.
@@ -4343,6 +4328,11 @@
Gets a the current wrappered in a .
+
+
+ Interface for fakeable the current . Not fully implemented, please methods/properties as necessary.
+
+
Base class for optimized file appenders.
@@ -4350,11 +4340,35 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the file.
The create parameters.
+
+
+ Gets the path of the file, including file extension.
+
+ The name of the file.
+
+
+
+ Gets the last write time.
+
+ The last write time. DateTime value must be of UTC kind.
+
+
+
+ Gets the open time of the file.
+
+ The open time. DateTime value must be of UTC kind.
+
+
+
+ Gets the file creation parameters.
+
+ The file creation parameters.
+
Writes the specified bytes.
@@ -4376,7 +4390,7 @@
Gets the file info.
The last file write time. The value must be of UTC kind.
- Length of the file.
+ Length of the file in bytes.
True if the operation succeeded, false otherwise.
@@ -4408,30 +4422,6 @@
If set to true sets the file stream to allow shared writing.
A object which can be used to write to the file.
-
-
- Gets the name of the file.
-
- The name of the file.
-
-
-
- Gets the last write time.
-
- The last write time. DateTime value must be of UTC kind.
-
-
-
- Gets the open time of the file.
-
- The open time. DateTime value must be of UTC kind.
-
-
-
- Gets the file creation parameters.
-
- The file creation parameters.
-
Implementation of which caches
@@ -4440,7 +4430,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the file.
The parameters.
@@ -4474,19 +4464,6 @@
Factory class which creates objects.
-
-
- Interface implemented by all factories capable of creating file appenders.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
- Instance of which can be used to write to the file.
-
Opens the appender for given file name and parameters.
@@ -4497,6 +4474,92 @@
Instance of which can be used to write to the file.
+
+
+ Maintains a collection of file appenders usually associated with file targets.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new "empty" instance of the class with zero size and empty
+ list of appenders.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The size of the list should be positive. No validations are performed during initialisation as it is an
+ intenal class.
+
+ Total number of appenders allowed in list.
+ Factory used to create each appender.
+ Parameters used for creating a file.
+
+
+
+ Gets the parameters which will be used for creating a file.
+
+
+
+
+ Gets the file appender factory used by all the appenders in this list.
+
+
+
+
+ Gets the number of appenders which the list can hold.
+
+
+
+
+ It allocates the first slot in the list when the file name does not already in the list and clean up any
+ unused slots.
+
+ File name associated with a single appender.
+ The allocated appender.
+
+ Thrown when is called on an Empty instance.
+
+
+
+
+ Close all the allocated appenders.
+
+
+
+
+ Close the allocated appenders initialised before the supplied time.
+
+ The time which prior the appenders considered expired
+
+
+
+ Fluch all the allocated appenders.
+
+
+
+
+ Gets the file info for a particular appender.
+
+ The file name associated with a particular appender.
+ The last file write time. The value must be of UTC kind.
+ Length of the file.
+ when the operation succeeded; otherwise.
+
+
+
+ Closes the specified appender and removes it from the list.
+
+ File name of the appender to be closed.
+
Interface that provides parameters for create file function.
@@ -4546,6 +4609,19 @@
Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
+
+
+ Interface implemented by all factories capable of creating file appenders.
+
+
+
+
+ Opens the appender for given file name and parameters.
+
+ Name of the file.
+ Creation parameters.
+ Instance of which can be used to write to the file.
+
Multi-process and multi-host file appender which attempts
@@ -4554,7 +4630,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the file.
The parameters.
@@ -4607,7 +4683,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the file.
The parameters.
@@ -4720,22 +4796,6 @@
Gets the level of stack trace information required by the implementing class.
-
-
- Define Localizable attribute for platforms that don't have it.
-
-
-
-
- Initializes a new instance of the class.
-
- Determines whether the target is localizable.
-
-
-
- Gets or sets a value indicating whether the target is localizable.
-
-
Logger configuration.
@@ -4743,12 +4803,17 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets by level.
Use the old exception log handling of NLog 3.0?
+
+
+ Use the old exception log handling of NLog 3.0?
+
+
Gets targets for the specified level.
@@ -4765,16 +4830,51 @@
A value of true if the specified level is enabled; otherwise, false.
-
-
- Use the old exception log handling of NLog 3.0?
-
-
Network sender which uses HTTP or HTTPS POST.
+
+
+ Initializes a new instance of the class.
+
+ The network URL.
+
+
+
+ Actually sends the given text over the specified protocol.
+
+ The bytes to be sent.
+ Offset in buffer.
+ Number of bytes to send.
+ The async continuation to be invoked after the buffer has been sent.
+ To be overridden in inheriting classes.
+
+
+
+ Creates instances of objects for given URLs.
+
+
+
+
+ Creates a new instance of the network sender based on a network URL.
+
+
+ URL that determines the network sender to be created.
+
+
+ The maximum queue size.
+
+
+ A newly created network sender.
+
+
+
+
+ Interface for mocking socket calls.
+
+
A base class for all network senders. Supports one-way sending of messages
@@ -4783,7 +4883,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The network URL.
@@ -4792,6 +4892,16 @@
Finalizes an instance of the NetworkSender class.
+
+
+ Gets the address of the network endpoint.
+
+
+
+
+ Gets the last send time.
+
+
Initializes this network sender.
@@ -4858,56 +4968,6 @@
The address family.
Parsed endpoint.
-
-
- Gets the address of the network endpoint.
-
-
-
-
- Gets the last send time.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Actually sends the given text over the specified protocol.
-
- The bytes to be sent.
- Offset in buffer.
- Number of bytes to send.
- The async continuation to be invoked after the buffer has been sent.
- To be overridden in inheriting classes.
-
-
-
- Creates instances of objects for given URLs.
-
-
-
-
- Creates a new instance of the network sender based on a network URL.
-
-
- URL that determines the network sender to be created.
-
-
- The maximum queue size.
-
-
- A newly created network sender.
-
-
-
-
- Interface for mocking socket calls.
-
-
Default implementation of .
@@ -4940,6 +5000,11 @@
Type of the socket.
Type of the protocol.
+
+
+ Gets underlying socket instance.
+
+
Closes the wrapped socket.
@@ -4964,11 +5029,6 @@
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
- Gets underlying socket instance.
-
-
Sends messages over a TCP network connection.
@@ -4988,7 +5048,7 @@
The address family.
Type of the socket.
Type of the protocol.
- Instance of which represents the socket.
+ Instance of which represents the socket.
@@ -5115,6 +5175,16 @@
Usable types from the given assembly.
Types which cannot be loaded are skipped.
+
+
+ Is this a static class?
+
+
+
+ This is a work around, as Type doesn't have this property.
+ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
+
+
Supported operating systems.
@@ -5161,10 +5231,40 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The text to be tokenized.
+
+
+ Current position in
+
+
+
+
+ Full text to be parsed
+
+
+
+
+ Check current char while not changing the position.
+
+
+
+
+
+ Read the current char and change position
+
+
+
+
+
+ Get the substring of the
+
+
+
+
+
Implements a single-call guard around given continuation function.
@@ -5187,6 +5287,15 @@
Provides helpers to sort log events and associated continuations.
+
+
+ Key selector delegate.
+
+ The type of the value.
+ The type of the key.
+ Value to extract key information from.
+ Key selected from log event.
+
Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set.
@@ -5199,15 +5308,6 @@
Dictionary where keys are unique input keys, and values are lists of .
-
-
- Key selector delegate.
-
- The type of the value.
- The type of the key.
- Value to extract key information from.
- Key selected from log event.
-
Utilities for dealing with values.
@@ -5234,17 +5334,11 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The target.
The filter chain.
-
-
- Gets the stack trace usage.
-
- A value that determines stack trace handling.
-
Gets the target.
@@ -5263,6 +5357,12 @@
The next item in the chain.
+
+
+ Gets the stack trace usage.
+
+ A value that determines stack trace handling.
+
Helper for dealing with thread-local storage.
@@ -5357,16 +5457,533 @@
+
+
+ Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
+
+
+
+
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Action to execute.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Result returned by the provided function or the default value of type in case of exception.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Fallback value to return in case of exception.
+ Result returned by the provided function or fallback value in case of exception.
+
Log event context data.
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets string that will be used to separate key/value pairs.
+
+
+
+
+
+ Gets or sets how key/value pairs will be formatted.
+
+
+
+
+
+ Renders all log event's properties and appends them to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Designates a property of the class as an ambient property.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Ambient property name.
+
+
+
+ Assembly version.
+
+
+
+
+ Renders assembly version and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ The call site (class name, method name and source information).
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a value indicating whether to render the class name.
+
+
+
+
+
+ Gets or sets a value indicating whether to render the method name.
+
+
+
+
+
+ Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
+
+
+
+
+
+ Gets or sets the number of frames to skip.
+
+
+
+
+ Gets the level of stack trace information required by the implementing class.
+
+
+
+
+ Renders the call site and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ A counter value (increases on each layout rendering).
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the initial value of the counter.
+
+
+
+
+
+ Gets or sets the value to be added to the counter after each layout rendering.
+
+
+
+
+
+ Gets or sets the name of the sequence. Different named sequences can have individual values.
+
+
+
+
+
+ Renders the specified counter value and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Current date and time.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+ Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
+
+
+
+
+
+ Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+
+
+
+ Renders the current date and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ URI of the HTML page which hosts the current Silverlight application.
+
+
+
+
+ Renders the specified environmental information and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Log event context data.
+
+
+
+
+ Gets or sets the name of the item.
+
+
+
+
+
+ Renders the specified log event context item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Log event context data. See .
+
+
+
+
+ Log event context data with default options.
+
+
+
+
+ Gets or sets the name of the item.
+
+
+
+
+
+ Format string for conversion from object to string.
+
+
+
+
+ Gets or sets the culture used for rendering.
+
+
+
+
+
+ Renders the specified log event context item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Exception information provided through
+ a call to one of the Logger.*Exception() methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the format of the output. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+
+
+
+
+ Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
+ properties: Message, Type, ShortType, ToString, Method, StackTrace.
+ This parameter value is case-insensitive.
+
+
+
+
+
+ Gets or sets the separator used to concatenate parts specified in the Format.
+
+
+
+
+
+ Gets or sets the maximum number of inner exceptions to include in the output.
+ By default inner exceptions are not enabled for compatibility with NLog 1.0.
+
+
+
+
+
+ Gets or sets the separator between inner exceptions.
+
+
+
+
+
+ Renders the specified exception information and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Appends the Message of an Exception to the specified .
+
+ The to append the rendered data to.
+ The exception containing the Message to append.
+
+
+
+ Appends the method name from Exception's stack trace to the specified .
+
+ The to append the rendered data to.
+ The Exception whose method name should be appended.
+
+
+
+ Appends the stack trace from an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose stack trace should be appended.
+
+
+
+ Appends the result of calling ToString() on an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose call to ToString() should be appended.
+
+
+
+ Appends the type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose type should be appended.
+
+
+
+ Appends the short type of an Exception to the specified .
+
+ The to append the rendered data to.
+ The Exception whose short type should be appended.
+
+
+
+ Appends the contents of an Exception's Data property to the specified .
+
+ The to append the rendered data to.
+ The Exception whose Data property elements should be appended.
+
+
+
+ Find name of method on stracktrace.
+
+ Full stracktrace
+
+
+
+
+ Renders contents of the specified file.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the name of the file.
+
+
+
+
+
+ Gets or sets the encoding used in the file.
+
+ The encoding.
+
+
+
+
+ Renders the contents of the specified file and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ The information about the garbage collector.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the property to retrieve.
+
+
+
+
+
+ Renders the selected process information.
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Gets or sets the property of System.GC to retrieve.
+
+
+
+
+ Total memory allocated.
+
+
+
+
+ Total memory allocated (perform full garbage collection first).
+
+
+
+
+ Gets the number of Gen0 collections.
+
+
+
+
+ Gets the number of Gen1 collections.
+
+
+
+
+ Gets the number of Gen2 collections.
+
+
+
+
+ Maximum generation number supported by GC.
+
+
+
+
+ Global Diagnostics Context item. Provided for compatibility with log4net.
+
+
+
+
+ Gets or sets the name of the item.
+
+
+
+
+
+ Renders the specified Global Diagnostics Context item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Globally-unique identifier (GUID).
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the GUID format as accepted by Guid.ToString() method.
+
+
+
+
+
+ Renders a newly generated GUID string and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Installation parameter (passed to InstallNLogConfig).
+
+
+
+
+ Gets or sets the name of the parameter.
+
+
+
+
+
+ Renders the specified installation parameter and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Render environmental information related to logging events.
+
+
+ Gets the logging configuration this target is part of.
+
+
Returns a that represents this instance.
@@ -5411,7 +6028,7 @@
- Renders the specified environmental information and appends it to the specified .
+ Renders the specified environmental information and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -5432,486 +6049,6 @@
True to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
- Gets the logging configuration this target is part of.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders all log event's properties and appends them to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets string that will be used to separate key/value pairs.
-
-
-
-
-
- Gets or sets how key/value pairs will be formatted.
-
-
-
-
-
- Designates a property of the class as an ambient property.
-
-
-
-
- Initializes a new instance of the class.
-
- Ambient property name.
-
-
-
- Assembly version.
-
-
-
-
- Renders assembly version and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- The call site (class name, method name and source information).
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the call site and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets a value indicating whether to render the class name.
-
-
-
-
-
- Gets or sets a value indicating whether to render the method name.
-
-
-
-
-
- Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
-
-
-
-
-
- Gets or sets the number of frames to skip.
-
-
-
-
- Gets the level of stack trace information required by the implementing class.
-
-
-
-
- A counter value (increases on each layout rendering).
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the specified counter value and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the initial value of the counter.
-
-
-
-
-
- Gets or sets the value to be added to the counter after each layout rendering.
-
-
-
-
-
- Gets or sets the name of the sequence. Different named sequences can have individual values.
-
-
-
-
-
- Current date and time.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the current date and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
- Gets or sets the date format. Can be any argument accepted by DateTime.ToString(format).
-
-
-
-
-
- Gets or sets a value indicating whether to output UTC time instead of local time.
-
-
-
-
-
- URI of the HTML page which hosts the current Silverlight application.
-
-
-
-
- Renders the specified environmental information and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Log event context data.
-
-
-
-
- Renders the specified log event context item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Log event context data. See .
-
-
-
-
- Log event context data with default options.
-
-
-
-
- Renders the specified log event context item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Format string for conversion from object to string.
-
-
-
-
- Gets or sets the culture used for rendering.
-
-
-
-
-
- Exception information provided through
- a call to one of the Logger.*Exception() methods.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the specified exception information and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Appends the Message of an Exception to the specified .
-
- The to append the rendered data to.
- The exception containing the Message to append.
-
-
-
- Appends the method name from Exception's stack trace to the specified .
-
- The to append the rendered data to.
- The Exception whose method name should be appended.
-
-
-
- Appends the stack trace from an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose stack trace should be appended.
-
-
-
- Appends the result of calling ToString() on an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose call to ToString() should be appended.
-
-
-
- Appends the type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose type should be appended.
-
-
-
- Appends the short type of an Exception to the specified .
-
- The to append the rendered data to.
- The Exception whose short type should be appended.
-
-
-
- Appends the contents of an Exception's Data property to the specified .
-
- The to append the rendered data to.
- The Exception whose Data property elements should be appended.
-
-
-
- Gets or sets the format of the output. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
- Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception
- properties: Message, Type, ShortType, ToString, Method, StackTrace.
- This parameter value is case-insensitive.
-
-
-
-
-
- Gets or sets the separator used to concatenate parts specified in the Format.
-
-
-
-
-
- Gets or sets the maximum number of inner exceptions to include in the output.
- By default inner exceptions are not enabled for compatibility with NLog 1.0.
-
-
-
-
-
- Gets or sets the separator between inner exceptions.
-
-
-
-
-
- Renders contents of the specified file.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the contents of the specified file and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the file.
-
-
-
-
-
- Gets or sets the encoding used in the file.
-
- The encoding.
-
-
-
-
- The information about the garbage collector.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders the selected process information.
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the property to retrieve.
-
-
-
-
-
- Gets or sets the property of System.GC to retrieve.
-
-
-
-
- Total memory allocated.
-
-
-
-
- Total memory allocated (perform full garbage collection first).
-
-
-
-
- Gets the number of Gen0 collections.
-
-
-
-
- Gets the number of Gen1 collections.
-
-
-
-
- Gets the number of Gen2 collections.
-
-
-
-
- Maximum generation number supported by GC.
-
-
-
-
- Global Diagnostics Context item. Provided for compatibility with log4net.
-
-
-
-
- Renders the specified Global Diagnostics Context item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the item.
-
-
-
-
-
- Globally-unique identifier (GUID).
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Renders a newly generated GUID string and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the GUID format as accepted by Guid.ToString() method.
-
-
-
-
-
- Installation parameter (passed to InstallNLogConfig).
-
-
-
-
- Renders the specified installation parameter and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
-
-
- Gets or sets the name of the parameter.
-
-
-
Marks class as a layout renderer and assigns a format string to it.
@@ -5919,7 +6056,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the layout renderer.
@@ -5930,7 +6067,7 @@
- Renders the current log level and appends it to the specified .
+ Renders the current log level and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -5946,29 +6083,29 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The literal text value.
This is used by the layout compiler.
-
-
- Renders the specified string literal and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the literal text.
+
+
+ Renders the specified string literal and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
XML event description compatible with log4j, Chainsaw and NLogViewer.
@@ -5976,21 +6113,14 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Renders the XML logging event and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
@@ -6025,13 +6155,13 @@
Gets or sets a value indicating whether to include contents of the dictionary.
-
+
Gets or sets a value indicating whether to include contents of the stack.
-
+
@@ -6044,60 +6174,67 @@
Gets the level of stack trace information required by the implementing class.
+
+
+ Renders the XML logging event and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
The logger name.
-
-
- Renders the logger name and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to render short logger name (the part after the trailing dot character).
+
+
+ Renders the logger name and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.mmm.
-
-
- Renders the date in the long format (yyyy-MM-dd HH:mm:ss.mmm) and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+ Renders the date in the long format (yyyy-MM-dd HH:mm:ss.mmm) and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Mapped Diagnostic Context item. Provided for compatibility with log4net.
-
-
- Renders the specified MDC item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the name of the item.
+
+
+ Renders the specified MDC item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
The formatted log message.
@@ -6105,16 +6242,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Renders the log message including any positional parameters and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to log exception along with message.
@@ -6127,6 +6257,13 @@
+
+
+ Renders the log message including any positional parameters and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Nested Diagnostic Context item. Provided for compatibility with log4net.
@@ -6134,16 +6271,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Renders the specified Nested Diagnostics Context item and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the number of top stack frames to be rendered.
@@ -6162,6 +6292,13 @@
+
+
+ Renders the specified Nested Diagnostics Context item and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
A newline literal.
@@ -6169,7 +6306,7 @@
- Renders the specified string literal and appends it to the specified .
+ Renders the specified string literal and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6181,7 +6318,7 @@
- Renders the current process running time and appends it to the specified .
+ Renders the current process running time and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6191,19 +6328,19 @@
The short date in a sortable format yyyy-MM-dd.
-
-
- Renders the current short date string (yyyy-MM-dd) and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+ Renders the current short date string (yyyy-MM-dd) and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Information about Silverlight application.
@@ -6214,6 +6351,12 @@
Initializes a new instance of the class.
+
+
+ Gets or sets specific information to display.
+
+
+
Renders the specified environmental information and appends it to the specified .
@@ -6221,12 +6364,6 @@
The to append the rendered data to.
Logging event.
-
-
- Gets or sets specific information to display.
-
-
-
Specifies application information to display in ${sl-appinfo} renderer.
@@ -6257,13 +6394,6 @@
System special folder path (includes My Documents, My Music, Program Files, Desktop, and more).
-
-
- Renders the directory where NLog is located and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the system special folder to use.
@@ -6295,6 +6425,13 @@
+
+
+ Renders the directory where NLog is located and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Format of the ${stacktrace} layout renderer output.
@@ -6322,16 +6459,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Renders the call site and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the output format of the stack trace.
@@ -6362,18 +6492,18 @@
+
+
+ Renders the call site and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
A temporary directory.
-
-
- Renders the directory where NLog is located and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the name of the file to be Path.Combine()'d with the directory name.
@@ -6386,6 +6516,13 @@
+
+
+ Renders the directory where NLog is located and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
The identifier of the current thread.
@@ -6393,7 +6530,7 @@
- Renders the current thread identifier and appends it to the specified .
+ Renders the current thread identifier and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6405,7 +6542,7 @@
- Renders the current thread name and appends it to the specified .
+ Renders the current thread name and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6417,7 +6554,7 @@
- Renders the ticks value of current time and appends it to the specified .
+ Renders the ticks value of current time and appends it to the specified .
The to append the rendered data to.
Logging event.
@@ -6427,31 +6564,24 @@
The time in a 24-hour, sortable format HH:mm:ss.mmm.
-
-
- Renders time in the 24-h format (HH:mm:ss.mmm) and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets a value indicating whether to output UTC time instead of local time.
+
+
+ Renders time in the 24-h format (HH:mm:ss.mmm) and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Render a NLog variable (xml or config)
-
-
- Renders the specified variable and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
-
Gets or sets the name of the NLog variable.
@@ -6465,6 +6595,13 @@
Not used if Name is null
+
+
+ Renders the specified variable and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
Applies caching to another layout output.
@@ -6473,46 +6610,36 @@
The value of the inner layout will be rendered only once and reused subsequently.
-
+
- Decodes text "encrypted" with ROT-13.
+ A value indicating when the cache is cleared.
-
- See http://en.wikipedia.org/wiki/ROT13.
-
-
-
- Renders the inner message, processes it and appends it to the specified .
-
- The to append the rendered data to.
- Logging event.
+
+ Never clear the cache.
-
-
- Transforms the output of another layout.
-
- Output to be transform.
- Transformed text.
+
+ Clear the cache whenever the is initialized.
-
-
- Renders the inner layout contents.
-
- The log event.
- Contents of inner layout.
-
-
-
- Gets or sets the wrapped layout.
-
-
+
+ Clear the cache whenever the is closed.
Initializes a new instance of the class.
+
+
+ Gets or sets a value indicating whether this is enabled.
+
+
+
+
+
+ Gets or sets a value indicating when the cache is cleared.
+
+
Initializes the layout renderer.
@@ -6537,12 +6664,6 @@
The log event.
Contents of inner layout.
-
-
- Gets or sets a value indicating whether this is enabled.
-
-
-
Filters characters not allowed in the file names by replacing them with safe character.
@@ -6550,16 +6671,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Padded and trimmed string.
-
Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path
@@ -6567,6 +6681,13 @@
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Padded and trimmed string.
+
Escapes output of another layout using JSON rules.
@@ -6574,9 +6695,15 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+ Gets or sets a value indicating whether to apply JSON encoding.
+
+
+
Post-processes the rendered message.
@@ -6584,12 +6711,6 @@
The text to be post-processed.
JSON-encoded string.
-
-
- Gets or sets a value indicating whether to apply JSON encoding.
-
-
-
Converts the result of another layout output to lower case.
@@ -6597,16 +6718,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Padded and trimmed string.
-
Gets or sets a value indicating whether lower case conversion should be applied.
@@ -6620,6 +6734,13 @@
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Padded and trimmed string.
+
Only outputs the inner layout when exception has been defined for log message.
@@ -6665,16 +6786,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Transforms the output of another layout.
-
- Output to be transform.
- Transformed text.
-
Gets or sets the number of characters to pad the output to.
@@ -6701,39 +6815,24 @@
Gets or sets a value indicating whether a value that has
- been truncated (when is true)
+ been truncated (when is true)
will be left-aligned (characters removed from the right)
or right-aligned (characters removed from the left). The
default is left alignment.
+
+
+ Transforms the output of another layout.
+
+ Output to be transform.
+ Transformed text.
+
Replaces a string in the output of another layout with another string.
-
-
- Initializes the layout renderer.
-
-
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Post-processed text.
-
-
-
- A match evaluator for Regular Expression based replacing
-
-
-
-
-
-
-
Gets or sets the text to search for.
@@ -6777,11 +6876,33 @@
A value of true if whole words should be searched for; otherwise, false.
+
+
+ Initializes the layout renderer.
+
+
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Post-processed text.
+
This class was created instead of simply using a lambda expression so that the "ThreadAgnosticAttributeTest" will pass
+
+
+ A match evaluator for Regular Expression based replacing
+
+
+
+
+
+
+
Replaces newline characters from the result of another layout renderer with spaces.
@@ -6789,7 +6910,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a value indicating the string that should be used for separating lines.
@@ -6799,11 +6925,6 @@
The text to be post-processed.
String with newline characters replaced with spaces.
-
-
- Gets or sets a value indicating the string that should be used for separating lines.
-
-
Decodes text "encrypted" with ROT-13.
@@ -6812,6 +6933,14 @@
See http://en.wikipedia.org/wiki/ROT13.
+
+
+ Gets or sets the layout to be wrapped.
+
+ The layout to be wrapped.
+ This variable is for backwards compatibility
+
+
Encodes/Decodes ROT-13-encoded string.
@@ -6826,14 +6955,6 @@
Output to be transform.
Transformed text.
-
-
- Gets or sets the layout to be wrapped.
-
- The layout to be wrapped.
- This variable is for backwards compatibility
-
-
Trims the whitespace from the result of another layout renderer.
@@ -6841,16 +6962,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Trimmed string.
-
Gets or sets a value indicating whether lower case conversion should be applied.
@@ -6858,6 +6972,13 @@
A value of true if lower case conversion should be applied; otherwise, false.
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Trimmed string.
+
Converts the result of another layout output to upper case.
@@ -6865,16 +6986,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Post-processes the rendered message.
-
- The text to be post-processed.
- Padded and trimmed string.
-
Gets or sets a value indicating whether upper case conversion should be applied.
@@ -6888,6 +7002,13 @@
+
+
+ Post-processes the rendered message.
+
+ The text to be post-processed.
+ Padded and trimmed string.
+
Encodes the result of another layout output for use with URLs.
@@ -6895,16 +7016,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Transforms the output of another layout.
-
- Output to be transform.
- Transformed text.
-
Gets or sets a value indicating whether spaces should be translated to '+' or '%20'.
@@ -6912,11 +7026,24 @@
A value of true if space should be translated to '+'; otherwise, false.
+
+
+ Transforms the output of another layout.
+
+ Output to be transform.
+ Transformed text.
+
Outputs alternative layout when the inner layout produces empty result.
+
+
+ Gets or sets the layout to be rendered when original layout produced empty result.
+
+
+
Transforms the output of another layout.
@@ -6933,17 +7060,17 @@
Contents of inner layout.
-
-
- Gets or sets the layout to be rendered when original layout produced empty result.
-
-
-
Only outputs the inner layout when the specified condition has been met.
+
+
+ Gets or sets the condition that must be met for the inner layout to be printed.
+
+
+
Transforms the output of another layout.
@@ -6960,11 +7087,40 @@
Contents of inner layout.
-
+
- Gets or sets the condition that must be met for the inner layout to be printed.
+ Decodes text "encrypted" with ROT-13.
-
+
+ See http://en.wikipedia.org/wiki/ROT13.
+
+
+
+
+ Gets or sets the wrapped layout.
+
+
+
+
+
+ Renders the inner message, processes it and appends it to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Transforms the output of another layout.
+
+ Output to be transform.
+ Transformed text.
+
+
+
+ Renders the inner layout contents.
+
+ The log event.
+ Contents of inner layout.
@@ -6973,9 +7129,15 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+ Gets or sets a value indicating whether to apply XML encoding.
+
+
+
Post-processes the rendered message.
@@ -6983,12 +7145,6 @@
The text to be post-processed.
Padded and trimmed string.
-
-
- Gets or sets a value indicating whether to apply XML encoding.
-
-
-
A column in the CSV.
@@ -6996,12 +7152,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The name of the column.
The layout of the column.
@@ -7063,19 +7219,190 @@
A specialized layout that renders CSV-formatted events.
-
+
- A specialized layout that supports header and footer.
+ Initializes a new instance of the class.
+
+
+ Gets the array of parameters to be passed.
+
+
+
+
+
+ Gets or sets a value indicating whether CVS should include header.
+
+ A value of true if CVS should include header; otherwise, false.
+
+
+
+
+ Gets or sets the column delimiter.
+
+
+
+
+
+ Gets or sets the quoting mode.
+
+
+
+
+
+ Gets or sets the quote Character.
+
+
+
+
+
+ Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom').
+
+
+
+
+
+ Initializes the layout.
+
+
+
+
+ Formats the log event for write.
+
+ The log event to be formatted.
+ A string representation of the log event.
+
+
+
+ Header for CSV layout.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The parent.
+
+
+
+ Renders the layout for the specified logging event by invoking layout renderers.
+
+ The logging event.
+ The rendered layout.
+
+
+
+ Specifies CSV quoting modes.
+
+
+
+
+ Quote all column.
+
+
+
+
+ Quote nothing.
+
+
+
+
+ Quote only whose values contain the quote symbol or
+ the separator.
+
+
+
+
+ JSON attribute.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the attribute.
+ The layout of the attribute's value.
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the attribute.
+ The layout of the attribute's value.
+ Encode value with json-encode
+
+
+
+ Gets or sets the name of the attribute.
+
+
+
+
+ Gets or sets the layout that will be rendered as the attribute's value.
+
+
+
+
+ Determines wether or not this attribute will be Json encoded.
+
+
+
+
+ A specialized layout that renders JSON-formatted events.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the array of attributes' configurations.
+
+
+
+
+
+ Gets or sets the option to suppress the extra spaces in the output json
+
+
+
+
+ Formats the log event as a JSON document for writing.
+
+ The log event to be formatted.
+ A JSON string representation of the log event.
+
Abstract interface that layouts must implement.
+
+
+ Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
+
+
+ Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
+ like that as well.
+ Thread-agnostic layouts only use contents of for its output.
+
+
+
+
+ Gets the logging configuration this target is part of.
+
+
- Converts a given text to a .
+ Converts a given text to a .
Text to be converted.
object represented by the text.
@@ -7153,27 +7480,26 @@
The logging event.
The rendered layout.
-
+
- Gets a value indicating whether this layout is thread-agnostic (can be rendered on any thread).
-
-
- Layout is thread-agnostic if it has been marked with [ThreadAgnostic] attribute and all its children are
- like that as well.
- Thread-agnostic layouts only use contents of for its output.
-
-
-
-
- Gets the logging configuration this target is part of.
+ Marks class as a layout renderer and assigns a format string to it.
-
+
- Renders the layout for the specified logging event by invoking layout renderers.
+ Initializes a new instance of the class.
+
+ Layout name.
+
+
+
+ Parses layout strings.
+
+
+
+
+ A specialized layout that supports header and footer.
- The logging event.
- The rendered layout.
@@ -7193,183 +7519,13 @@
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes the layout.
-
-
-
-
- Formats the log event for write.
-
- The log event to be formatted.
- A string representation of the log event.
-
-
-
- Gets the array of parameters to be passed.
-
-
-
-
-
- Gets or sets a value indicating whether CVS should include header.
-
- A value of true if CVS should include header; otherwise, false.
-
-
-
-
- Gets or sets the column delimiter.
-
-
-
-
-
- Gets or sets the quoting mode.
-
-
-
-
-
- Gets or sets the quote Character.
-
-
-
-
-
- Gets or sets the custom column delimiter value (valid when ColumnDelimiter is set to 'Custom').
-
-
-
-
-
- Header for CSV layout.
-
-
-
-
- Initializes a new instance of the class.
-
- The parent.
-
-
+
Renders the layout for the specified logging event by invoking layout renderers.
The logging event.
The rendered layout.
-
-
- Specifies CSV quoting modes.
-
-
-
-
- Quote all column.
-
-
-
-
- Quote nothing.
-
-
-
-
- Quote only whose values contain the quote symbol or
- the separator.
-
-
-
-
- JSON attribute.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The name of the attribute.
- The layout of the attribute's value.
-
-
-
- Initializes a new instance of the class.
-
- The name of the attribute.
- The layout of the attribute's value.
- Encode value with json-encode
-
-
-
- Gets or sets the name of the attribute.
-
-
-
-
- Gets or sets the layout that will be rendered as the attribute's value.
-
-
-
-
- Determines wether or not this attribute will be Json encoded.
-
-
-
-
- A specialized layout that renders JSON-formatted events.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Formats the log event as a JSON document for writing.
-
- The log event to be formatted.
- A JSON string representation of the log event.
-
-
-
- Gets the array of attributes' configurations.
-
-
-
-
-
- Gets or sets the option to suppress the extra spaces in the output json
-
-
-
-
- Marks class as a layout renderer and assigns a format string to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Layout name.
-
-
-
- Parses layout strings.
-
-
A specialized layout that renders Log4j-compatible XML events.
@@ -7380,7 +7536,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the instance that renders log events.
@@ -7390,11 +7551,6 @@
The logging event.
The rendered layout.
-
-
- Gets the instance that renders log events.
-
-
Represents a string with embedded placeholders that can render contextual information.
@@ -7406,12 +7562,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The layout string to parse.
@@ -7422,6 +7578,32 @@
The layout string to parse.
The NLog factories to use when creating references to layout renderers.
+
+
+ Original text before compile to Layout renderes
+
+
+
+
+ Gets or sets the layout text.
+
+
+
+
+
+ Is the message fixed? (no Layout renderers used)
+
+
+
+
+ Get the fixed text. Only set when is true
+
+
+
+
+ Gets a collection of objects that make up this layout.
+
+
Converts a text to a simple layout.
@@ -7455,7 +7637,7 @@
Evaluates the specified text by expanding all layout renderers
- in new context.
+ in new context.
The text to be evaluated.
The input text with all occurrences of ${} replaced with
@@ -7477,32 +7659,6 @@
The logging event.
The rendered layout.
-
-
- Original text before compile to Layout renderes
-
-
-
-
- Gets or sets the layout text.
-
-
-
-
-
- Is the message fixed? (no Layout renderers used)
-
-
-
-
- Get the fixed text. Only set when is true
-
-
-
-
- Gets a collection of objects that make up this layout.
-
-
Represents the logging event.
@@ -7515,12 +7671,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Log level.
Logger name.
@@ -7528,7 +7684,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Log level.
Logger name.
@@ -7538,7 +7694,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Log level.
Logger name.
@@ -7547,6 +7703,89 @@
Parameter array.
Exception information.
+
+
+ Gets the unique identifier of log event which is automatically generated
+ and monotonously increasing.
+
+
+
+
+ Gets or sets the timestamp of the logging event.
+
+
+
+
+ Gets or sets the level of the logging event.
+
+
+
+
+ Gets a value indicating whether stack trace has been set for this event.
+
+
+
+
+ Gets the stack frame of the method that did the logging.
+
+
+
+
+ Gets the number index of the stack frame that represents the user
+ code (not the NLog code).
+
+
+
+
+ Gets the entire stack trace.
+
+
+
+
+ Gets or sets the exception information.
+
+
+
+
+ Gets or sets the logger name.
+
+
+
+
+ Gets the logger short name.
+
+
+
+
+ Gets or sets the log message including any parameter placeholders.
+
+
+
+
+ Gets or sets the parameter values or null if no parameters have been specified.
+
+
+
+
+ Gets or sets the format provider that was provided while logging or
+ when no formatProvider was specified.
+
+
+
+
+ Gets the formatted message.
+
+
+
+
+ Gets the dictionary of per-event context properties.
+
+
+
+
+ Gets the dictionary of per-event context properties.
+
+
Creates the null event.
@@ -7636,105 +7875,59 @@
The stack trace.
Index of the first user stack frame within the stack trace.
-
-
- Gets the unique identifier of log event which is automatically generated
- and monotonously increasing.
-
-
-
-
- Gets or sets the timestamp of the logging event.
-
-
-
-
- Gets or sets the level of the logging event.
-
-
-
-
- Gets a value indicating whether stack trace has been set for this event.
-
-
-
-
- Gets the stack frame of the method that did the logging.
-
-
-
-
- Gets the number index of the stack frame that represents the user
- code (not the NLog code).
-
-
-
-
- Gets the entire stack trace.
-
-
-
-
- Gets or sets the exception information.
-
-
-
-
- Gets or sets the logger name.
-
-
-
-
- Gets the logger short name.
-
-
-
-
- Gets or sets the log message including any parameter placeholders.
-
-
-
-
- Gets or sets the parameter values or null if no parameters have been specified.
-
-
-
-
- Gets or sets the format provider that was provided while logging or
- when no formatProvider was specified.
-
-
-
-
- Gets the formatted message.
-
-
-
-
- Gets the dictionary of per-event context properties.
-
-
-
-
- Gets the dictionary of per-event context properties.
-
-
Creates and manages instances of objects.
+
+
+ Occurs when logging changes.
+
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The config.
+
+
+ Gets the current .
+
+
+
+
+ Gets or sets a value indicating whether exceptions should be thrown.
+
+ A value of true if exception should be thrown; otherwise, false.
+ By default exceptions are not thrown under any circumstances.
+
+
+
+ Gets or sets the current logging configuration. After setting this property all
+ existing loggers will be re-configured, so that there is no need to call
+ manually.
+
+
+
+
+ Gets or sets the global log threshold. Log events below this threshold are not logged.
+
+
+
+
+ Gets the default culture info to use as .
+
+
+ Specific culture info or null to use
+
+
Performs application-defined tasks associated with freeing, releasing, or resetting
@@ -7749,7 +7942,7 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -7757,11 +7950,11 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
The type of the logger to create. The type must inherit from
NLog.Logger.
- The logger.
+ The logger of type .
This is a slow-running method. Make sure you are not calling this method in a
loop.
@@ -7775,11 +7968,11 @@
- Gets the specified named logger.
+ Gets the specified named logger. Use to pass the type of the needed Logger.
Name of the logger.
- The type of the logger to create. The type must inherit from NLog.Logger.
- The logger reference. Multiple calls to GetLogger with the
+ The type of the logger to create. The type must inherit from .
+ The logger of type . Multiple calls to GetLogger with the
same argument aren't guaranteed to return the same logger reference.
@@ -7849,9 +8042,9 @@
- Returns if logging is currently enabled.
+ Returns if logging is currently enabled.
- A value of if logging is currently enabled,
+ A value of if logging is currently enabled,
otherwise.
Logging is enabled if the number of calls is greater
than or equal to calls.
@@ -7869,41 +8062,6 @@
True to release both managed and unmanaged resources;
false to release only unmanaged resources.
-
-
- Occurs when logging changes.
-
-
-
-
- Gets the current .
-
-
-
-
- Gets or sets a value indicating whether exceptions should be thrown.
-
- A value of true if exception should be thrown; otherwise, false.
- By default exceptions are not thrown under any circumstances.
-
-
-
- Gets or sets the current logging configuration.
-
-
-
-
- Gets or sets the global log threshold. Log events below this threshold are not logged.
-
-
-
-
- Gets the default culture info to use as .
-
-
- Specific culture info or null to use
-
-
Logger cache key.
@@ -7950,7 +8108,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The factory.
@@ -7967,16 +8125,16 @@
- Gets the logger.
+ Gets the logger with type .
The logger name.
An instance of .
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class and type .
- The logger.
+ An instance of .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -8004,6 +8162,21 @@
Initializes a new instance of the class.
+
+
+ Occurs when logger configuration changes.
+
+
+
+
+ Gets the name of the logger.
+
+
+
+
+ Gets the factory that created this logger.
+
+
Gets a value indicating whether logging is enabled for the specified level.
@@ -8181,29 +8354,65 @@
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+ Runs action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
Action to execute.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
Return type of the provided function.
Function to run.
- Result returned by the provided function or fallback value in case of exception.
+ Result returned by the provided function or the default value of type in case of exception.
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
Return type of the provided function.
Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
+ Fallback value to return in case of exception.
Result returned by the provided function or fallback value in case of exception.
+
+
+ Gets a value indicating whether logging is enabled for the Trace level.
+
+ A value of if logging is enabled for the Trace level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Debug level.
+
+ A value of if logging is enabled for the Debug level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Info level.
+
+ A value of if logging is enabled for the Info level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Warn level.
+
+ A value of if logging is enabled for the Warn level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Error level.
+
+ A value of if logging is enabled for the Error level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Fatal level.
+
+ A value of if logging is enabled for the Fatal level, otherwise it returns .
+
Writes the diagnostic message at the Trace level using the specified format provider and format parameters.
@@ -9648,57 +9857,6 @@
A containing one format item.
The argument to format.
-
-
- Occurs when logger configuration changes.
-
-
-
-
- Gets the name of the logger.
-
-
-
-
- Gets the factory that created this logger.
-
-
-
-
- Gets a value indicating whether logging is enabled for the Trace level.
-
- A value of if logging is enabled for the Trace level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Debug level.
-
- A value of if logging is enabled for the Debug level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Info level.
-
- A value of if logging is enabled for the Info level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Warn level.
-
- A value of if logging is enabled for the Warn level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Error level.
-
- A value of if logging is enabled for the Error level, otherwise it returns .
-
-
-
- Gets a value indicating whether logging is enabled for the Fatal level.
-
- A value of if logging is enabled for the Fatal level, otherwise it returns .
-
Implementation of logging engine.
@@ -9725,7 +9883,7 @@
or its declaring type is or one of its subtypes.
-
+
Gets the filter result.
@@ -9780,6 +9938,16 @@
The log level name.
The log level ordinal number.
+
+
+ Gets the name of the log level.
+
+
+
+
+ Gets the ordinal of the log level.
+
+
Compares two objects
@@ -9898,29 +10066,51 @@
other ordinal.
-
-
- Gets the name of the log level.
-
-
-
-
- Gets the ordinal of the log level.
-
-
Creates and manages instances of objects.
+
+
+ Delegate used to set/get the culture in use.
+
+
Prevents a default instance of the LogManager class from being created.
+
+
+ Occurs when logging changes.
+
+
+
+
+ Gets or sets a value indicating whether NLog should throw exceptions.
+ By default exceptions are not thrown under any circumstances.
+
+
+
+
+ Gets or sets the current logging configuration.
+
+
+
+
+
+ Gets or sets the global log threshold. Log events below this threshold are not logged.
+
+
+
+
+ Gets or sets the default culture to use.
+
+
- Gets the logger named after the currently-being-initialized class.
+ Gets the logger with the name of the current class.
The logger.
This is a slow-running method.
@@ -9935,10 +10125,10 @@
- Gets the logger named after the currently-being-initialized class.
+ Gets a custom logger with the name of the current class. Use to pass the type of the needed Logger.
- The logger class. The class must inherit from .
- The logger.
+ The logger class. The class must inherit from .
+ The logger of type .
This is a slow-running method.
Make sure you're not doing this in a loop.
@@ -9957,11 +10147,12 @@
- Gets the specified named logger.
+ Gets the specified named custom logger. Use to pass the type of the needed Logger.
Name of the logger.
- The logger class. The class must inherit from .
- The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The logger class. The class must inherit from .
+ The logger of type . Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The generic way for this method is
@@ -10010,7 +10201,7 @@
Checks if logging is currently enabled.
- if logging is currently enabled,
+ if logging is currently enabled,
otherwise.
Logging is enabled if the number of calls is greater
than or equal to calls.
@@ -10026,37 +10217,6 @@
namespace but not the assembly.
-
-
- Occurs when logging changes.
-
-
-
-
- Gets or sets a value indicating whether NLog should throw exceptions.
- By default exceptions are not thrown under any circumstances.
-
-
-
-
- Gets or sets the current logging configuration.
-
-
-
-
- Gets or sets the global log threshold. Log events below this threshold are not logged.
-
-
-
-
- Gets or sets the default culture to use.
-
-
-
-
- Delegate used to set/get the culture in use.
-
-
Returns a log message. Used to defer calculation of
@@ -10132,7 +10292,37 @@
- Client of
+ Client of ILogReceiverServer
+
+
+
+
+ Occurs when the log message processing has completed.
+
+
+
+
+ Occurs when Open operation has completed.
+
+
+
+
+ Occurs when Close operation has completed.
+
+
+
+
+ Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.
+
+
+
+
+ Gets the underlying implementation.
+
+
+
+
+ Gets the target endpoint for the service to which the WCF client can connect.
@@ -10187,36 +10377,6 @@
The result.
-
-
- Occurs when the log message processing has completed.
-
-
-
-
- Occurs when Open operation has completed.
-
-
-
-
- Occurs when Close operation has completed.
-
-
-
-
- Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.
-
-
-
-
- Gets the underlying implementation.
-
-
-
-
- Gets the target endpoint for the service to which the WCF client can connect.
-
-
Gets or sets the cookie container.
@@ -10238,14 +10398,6 @@
Initializes a new instance of the class.
-
-
- Converts the to .
-
- The object this is part of..
- The logger name prefix to prepend in front of the logger name.
- Converted .
-
Gets or sets the client-generated identifier of the event.
@@ -10282,28 +10434,19 @@
Gets the collection of indexes into array for each layout value.
+
+
+ Converts the to .
+
+ The object this is part of..
+ The logger name prefix to prepend in front of the logger name.
+ Converted .
+
Wire format for NLog event package.
-
-
- Converts the events to sequence of objects suitable for routing through NLog.
-
- The logger name prefix to prepend in front of each logger name.
-
- Sequence of objects.
-
-
-
-
- Converts the events to sequence of objects suitable for routing through NLog.
-
-
- Sequence of objects.
-
-
Gets or sets the name of the client.
@@ -10334,6 +10477,23 @@
The events.
+
+
+ Converts the events to sequence of objects suitable for routing through NLog.
+
+ The logger name prefix to prepend in front of each logger name.
+
+ Sequence of objects.
+
+
+
+
+ Converts the events to sequence of objects suitable for routing through NLog.
+
+
+ Sequence of objects.
+
+
List of strings annotated for more terse serialization.
@@ -10352,118 +10512,6 @@
This will be removed when ILogReceiverClient is removed.
This provides an implementation of the legacy interface.
-
-
- Abstract base class for the WcfLogReceiverXXXWay classes. It can only be
- used internally (see internal constructor). It passes off any Channel usage
- to the inheriting class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the endpoint configuration.
-
-
-
- Initializes a new instance of the class.
-
- Name of the endpoint configuration.
- The remote address.
-
-
-
- Initializes a new instance of the class.
-
- Name of the endpoint configuration.
- The remote address.
-
-
-
- Initializes a new instance of the class.
-
- The binding.
- The remote address.
-
-
-
- Opens the client asynchronously.
-
-
-
-
- Opens the client asynchronously.
-
- User-specific state.
-
-
-
- Closes the client asynchronously.
-
-
-
-
- Closes the client asynchronously.
-
- User-specific state.
-
-
-
- Processes the log messages asynchronously.
-
- The events to send.
-
-
-
- Processes the log messages asynchronously.
-
- The events to send.
- User-specific state.
-
-
-
- Begins processing of log messages.
-
- The events to send.
- The callback.
- Asynchronous state.
-
- IAsyncResult value which can be passed to .
-
-
-
-
- Ends asynchronous processing of log messages.
-
- The result.
-
-
-
- Occurs when the log message processing has completed.
-
-
-
-
- Occurs when Open operation has completed.
-
-
-
-
- Occurs when Close operation has completed.
-
-
-
-
- Gets or sets the cookie container.
-
- The cookie container.
-
Initializes a new instance of the class.
@@ -10535,6 +10583,16 @@
+
+
+ The client getting proxied
+
+
+
+
+ Do we use one-way or two-way messaging?
+
+
Initializes a new instance of the class.
@@ -10624,6 +10682,11 @@
IAsyncResult value which can be passed to .
+
+
+ Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.
+
+
Causes a communication object to transition from its current state into the closed state.
@@ -10647,6 +10710,27 @@
Closes the client asynchronously.
+
+
+ Occurs when Close operation has completed.
+
+
+
+
+ Occurs when the communication object completes its transition from the closing state into the closed state.
+
+
+
+
+ Occurs when the communication object first enters the closing state.
+
+
+
+
+ Gets or sets the cookie container.
+
+ The cookie container.
+
Completes an asynchronous operation to close a communication object.
@@ -10659,12 +10743,27 @@
The that is returned by a call to the method.The was unable to be opened and has entered the state.The timeout elapsed before the was able to enter the state and has entered the state.
+
+
+ Gets the target endpoint for the service to which the WCF client can connect.
+
+
Ends asynchronous processing of log messages.
The result.
+
+
+ Occurs when the communication object first enters the faulted state.
+
+
+
+
+ Gets the underlying implementation.
+
+
Causes a communication object to transition from the created state into the opened state.
@@ -10688,75 +10787,6 @@
User-specific state.
-
-
- Processes the log messages asynchronously.
-
- The events to send.
-
-
-
- Processes the log messages asynchronously.
-
- The events to send.
- User-specific state.
-
-
-
- Causes a communication object to transition from its current state into the closed state.
-
-
-
-
- The client getting proxied
-
-
-
-
- Do we use one-way or two-way messaging?
-
-
-
-
- Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.
-
-
-
-
- Occurs when Close operation has completed.
-
-
-
-
- Occurs when the communication object completes its transition from the closing state into the closed state.
-
-
-
-
- Occurs when the communication object first enters the closing state.
-
-
-
-
- Gets or sets the cookie container.
-
- The cookie container.
-
-
-
- Gets the target endpoint for the service to which the WCF client can connect.
-
-
-
-
- Occurs when the communication object first enters the faulted state.
-
-
-
-
- Gets the underlying implementation.
-
-
Occurs when Open operation has completed.
@@ -10772,6 +10802,19 @@
Occurs when the communication object first enters the opening state.
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+ User-specific state.
+
Occurs when the log message processing has completed.
@@ -10785,6 +10828,123 @@
The value of the of the object.
+
+
+ Causes a communication object to transition from its current state into the closed state.
+
+
+
+
+ Abstract base class for the WcfLogReceiverXXXWay classes. It can only be
+ used internally (see internal constructor). It passes off any Channel usage
+ to the inheriting class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the endpoint configuration.
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the endpoint configuration.
+ The remote address.
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the endpoint configuration.
+ The remote address.
+
+
+
+ Initializes a new instance of the class.
+
+ The binding.
+ The remote address.
+
+
+
+ Occurs when the log message processing has completed.
+
+
+
+
+ Occurs when Open operation has completed.
+
+
+
+
+ Occurs when Close operation has completed.
+
+
+
+
+ Gets or sets the cookie container.
+
+ The cookie container.
+
+
+
+ Opens the client asynchronously.
+
+
+
+
+ Opens the client asynchronously.
+
+ User-specific state.
+
+
+
+ Closes the client asynchronously.
+
+
+
+
+ Closes the client asynchronously.
+
+ User-specific state.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+ User-specific state.
+
+
+
+ Begins processing of log messages.
+
+ The events to send.
+ The callback.
+ Asynchronous state.
+
+ IAsyncResult value which can be passed to .
+
+
+
+
+ Ends asynchronous processing of log messages.
+
+ The result.
+
Log Receiver Client using WCF.
@@ -11021,6 +11181,18 @@
Nested Diagnostics Context - for log4net compatibility.
+
+
+ Gets the top NDC message but doesn't remove it.
+
+ The top message. .
+
+
+
+ Gets the top NDC object but doesn't remove it.
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
Pushes the specified text on current thread NDC.
@@ -11057,18 +11229,6 @@
Array of objects on the stack.
-
-
- Gets the top NDC message but doesn't remove it.
-
- The top message. .
-
-
-
- Gets the top NDC object but doesn't remove it.
-
- The object from the top of the NDC stack, if defined; otherwise null.
-
Nested Diagnostics Context - a thread-local structure that keeps a stack
@@ -11076,6 +11236,18 @@
Mostly for compatibility with log4net.
+
+
+ Gets the top NDC message but doesn't remove it.
+
+ The top message. .
+
+
+
+ Gets the top NDC object but doesn't remove it.
+
+ The object at the top of the NDC stack if defined; otherwise null.
+
Pushes the specified text on current thread NDC.
@@ -11133,18 +11305,6 @@
Array of objects on the stack.
-
-
- Gets the top NDC message but doesn't remove it.
-
- The top message. .
-
-
-
- Gets the top NDC object but doesn't remove it.
-
- The object at the top of the NDC stack if defined; otherwise null.
-
Resets the stack to the original count during .
@@ -11152,7 +11312,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The stack.
The previous count.
@@ -11169,18 +11329,18 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
The inner exception.
@@ -11192,25 +11352,25 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
Parameters for the message
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The message.
The inner exception.
@@ -11270,17 +11430,22 @@
-
+
- Sends log messages to the remote instance of NLog Viewer.
+ Initializes a new instance of the class.
- Documentation on NLog Wiki
+
+
+
+ Writes log messages to the console.
+
+ Documentation on NLog Wiki
To set up the target in the configuration file,
use the following syntax:
-
+
This assumes just one target and a single rule. More configuration
options are described here.
@@ -11288,15 +11453,1384 @@
To set up the log target programmatically use code like this:
-
-
- NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol
- or you'll get TCP timeouts and your application will crawl.
- Either switch to UDP transport or use AsyncWrapper target
- so that your application threads will not be blocked by the timing-out connection attempts.
-
+
+
+
+ Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output.
+
+
+
+
+
+ Initializes the target.
+
+
+
+
+ Closes the target and releases any unmanaged resources.
+
+
+
+
+ Writes the specified logging event to the Console.Out or
+ Console.Error depending on the value of the Error flag.
+
+ The logging event.
+
+ Note that the Error option is not supported on .NET Compact Framework.
+
+
+
+
+ Write to output
+
+ text to be written.
+
+
+
+ A descriptor for an archive created with the DateAndSequence numbering mode.
+
+
+
+
+ The full name of the archive file.
+
+
+
+
+ The parsed date contained in the file name.
+
+
+
+
+ The parsed sequence number contained in the file name.
+
+
+
+
+ Determines whether produces the same string as the current instance's date once formatted with the current instance's date format.
+
+ The date to compare the current object's date to.
+ True if the formatted dates are equal, otherwise False.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Writes log messages to the attached managed debugger.
+
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Initializes the target.
+
+
+
+
+ Closes the target and releases any unmanaged resources.
+
+
+
+
+ Writes the specified logging event to the attached debugger.
+
+ The logging event.
+
+
+
+ Mock target - useful for testing.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets the number of times this target has been called.
+
+
+
+
+
+ Gets the last message rendered by this target.
+
+
+
+
+
+ Increases the number of messages.
+
+ The logging event.
+
+
+
+ Modes of archiving files based on time.
+
+
+
+
+ Don't archive based on time.
+
+
+
+
+ AddToArchive every year.
+
+
+
+
+ AddToArchive every month.
+
+
+
+
+ AddToArchive daily.
+
+
+
+
+ AddToArchive every hour.
+
+
+
+
+ AddToArchive every minute.
+
+
+
+
+ Writes log messages to one or more files.
+
+ Documentation on NLog Wiki
+
+
+
+ Default clean up period of the initilized files. When a file exceeds the clean up period is removed from the list.
+
+ Clean up period is defined in days.
+
+
+
+ The maximum number of initialised files at any one time. Once this number is exceeded clean up procedures
+ are initiated to reduce the number of initialised files.
+
+
+
+
+ This value disables file archiving based on the size.
+
+
+
+
+ Cached directory separator char array to avoid memory allocation on each method call.
+
+
+
+
+ Holds the initialised files each given time by the instance. Against each file, the last write time is stored.
+
+ Last write time is store in local time (no UTC).
+
+
+
+ Factory used to create the file appeanders in the instance.
+
+ File appenders are stored in an instance of .
+
+
+
+ List of the associated file appenders with the instance.
+
+
+
+
+ The number of initialised files at any one time.
+
+
+
+
+ The maximum number of archive files that should be kept.
+
+
+
+
+ It holds the file names of existing archives in order for the oldest archives to be removed when the list of
+ filenames becomes too long.
+
+
+
+
+ The filename as target
+
+
+
+
+ The filename if is a fixed string
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets or sets the name of the file to write to.
+
+
+ This FileName string is a layout which may include instances of layout renderers.
+ This lets you use a single target to write to multiple files.
+
+
+ The following value makes NLog write logging events to files based on the log level in the directory where
+ the application runs.
+ ${basedir}/${level}.log
+ All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on.
+ You can combine as many of the layout renderers as you want to produce an arbitrary log file name.
+
+
+
+
+
+ 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.
+
+
+
+
+ Gets or sets a value indicating whether to create directories if they do not exist.
+
+
+ Setting this to false may improve performance a bit, but you'll receive an error
+ when attempting to write to a directory that's not present.
+
+
+
+
+
+ Gets or sets a value indicating whether to delete old log file on startup.
+
+
+ This option works only when the "FileName" parameter denotes a single file.
+
+
+
+
+
+ Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
+
+
+
+
+
+ Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event.
+
+
+ Setting this property to True helps improve performance.
+
+
+
+
+
+ Gets or sets the maximum number of log filenames that should be stored as existing.
+
+
+ The bigger this number is the longer it will take to write each log record. The smaller the number is
+ the higher the chance that the clean function will be run when no new files have been opened.
+
+
+
+
+
+ Gets or sets a value indicating whether to enable log file(s) to be deleted.
+
+
+
+
+
+ Gets or sets the line ending mode.
+
+
+
+
+
+ Gets or sets a value indicating whether to automatically flush the file buffers after each log message.
+
+
+
+
+
+ Gets or sets the 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).
+
+
+ The files are managed on a LRU (least recently used) basis, which flushes
+ the files that have not been used for the longest period of time should the
+ cache become full. As a rule of thumb, you shouldn't set this parameter to
+ a very high value. A number like 10-15 shouldn't be exceeded, because you'd
+ be keeping a large number of files open which consumes system resources.
+
+
+
+
+
+ Gets or sets the 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.
+
+
+
+
+
+ Gets or sets the log file buffer size in bytes.
+
+
+
+
+
+ Gets or sets the file encoding.
+
+
+
+
+
+ Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
+
+
+ This makes multi-process logging possible. NLog uses a special technique
+ that lets it keep the files open for writing.
+
+
+
+
+
+ Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts.
+
+
+ This effectively prevents files from being kept open.
+
+
+
+
+
+ Gets or sets the number of times the write is appended on the file before NLog
+ discards the log message.
+
+
+
+
+
+ Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
+
+
+ The actual delay is a random value between 0 and the value specified
+ in this parameter. On each failed attempt the delay base is doubled
+ up to times.
+
+
+ Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:
+ a random value between 0 and 10 milliseconds - 1st attempt
+ a random value between 0 and 20 milliseconds - 2nd attempt
+ a random value between 0 and 40 milliseconds - 3rd attempt
+ a random value between 0 and 80 milliseconds - 4th attempt
+ ...
+ and so on.
+
+
+
+
+
+ Gets or sets a value indicating whether to archive old log file on startup.
+
+
+ This option works only when the "FileName" parameter denotes a single file.
+ After archiving the old file, the current log file will be empty.
+
+
+
+
+
+ Gets or sets a value specifying the date format to use when archving files.
+
+
+ This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
+
+
+
+
+
+ Gets or sets the 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:
+
+
+ Caution: Enabling this option can considerably slow down your file
+ logging in multi-process scenarios. If only one process is going to
+ be writing to the file, consider setting ConcurrentWrites
+ to false for maximum performance.
+
+
+
+
+
+ Gets or sets a value indicating whether to automatically archive log files every time the specified time passes.
+
+
+ Files are moved to the archive as part of the write operation if the current period of time changes. For example
+ if the current hour changes from 10 to 11, the first write that will occur
+ on or after 11:00 will trigger the archiving.
+
+ Caution: Enabling this option can considerably slow down your file
+ logging in multi-process scenarios. If only one process is going to
+ be writing to the file, consider setting ConcurrentWrites
+ to false for maximum performance.
+
+
+
+
+
+
+ Gets or sets the name of the file to be used for an archive.
+
+
+ It may contain a special placeholder {#####}
+ that will be replaced with a sequence of numbers depending on
+ the archiving strategy. The number of hash characters used determines
+ the number of numerical digits to be used for numbering files.
+
+
+
+
+
+ Gets or sets the maximum number of archive files that should be kept.
+
+
+
+
+
+ Gets or sets the way file archives are numbered.
+
+
+
+
+
+ Gets or sets a value indicating whether to compress archive files into the zip archive format.
+
+
+
+
+ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
+
+
+
+
+ Gets the characters that are appended after each line.
+
+
+
+
+ Removes records of initialized files that have not been
+ accessed in the last two days.
+
+
+ Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
+
+
+
+
+ Removes records of initialized files that have not been
+ accessed after the specified date.
+
+ The cleanup threshold.
+
+ Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
+
+
+
+
+ Flushes all pending file operations.
+
+ The asynchronous continuation.
+
+ The timeout parameter is ignored, because file APIs don't provide
+ the needed functionality.
+
+
+
+
+ Returns the suitable appender factory ( ) to be used to generate the file
+ appenders associated with the instance.
+
+ The type of the file appender factory returned depends on the values of various properties.
+
+ suitable for this instance.
+
+
+
+ Initializes file logging by creating data structures that
+ enable efficient multi-file logging.
+
+
+
+
+ Closes the file(s) opened for writing.
+
+
+
+
+ Writes the specified logging event to a file specified in the FileName
+ parameter.
+
+ The logging event.
+
+
+
+ Writes the specified array of logging events to a file specified in the FileName
+ parameter.
+
+ An array of objects.
+
+ This function makes use of the fact that the events are batched by sorting
+ the requests by filename. This optimizes the number of open/close calls
+ and can help improve performance.
+
+
+
+
+ Formats the log event for write.
+
+ The log event to be formatted.
+ A string representation of the log event.
+
+
+
+ Gets the bytes to be written to the file.
+
+ Log event.
+ Array of bytes that are ready to be written.
+
+
+
+ Modifies the specified byte array before it gets sent to a file.
+
+ The byte array.
+ The modified byte array. The function can do the modification in-place.
+
+
+
+ Replaces the numeric pattern i.e. {#} in a file name with the parameter value.
+
+ File name which contains the numeric pattern.
+ Value which will replace the numeric pattern.
+ File name with the value of in the position of the numberic pattern.
+
+
+
+ Determines if the file name as contains a numeric pattern i.e. {#} in it.
+
+ Example:
+ trace{#}.log Contains the numeric pattern.
+ trace{###}.log Contains the numeric pattern.
+ trace{#X#}.log Contains the numeric pattern (See remarks).
+ trace.log Does not contain the pattern.
+
+ Occationally, this method can identify the existance of the {#} pattern incorrectly.
+ File name to be checked.
+ when the pattern is found; otherwise.
+
+
+
+ Archives the using a rolling style numbering (the most recent is always #0 then
+ #1, ..., #N. When the number of archive files exceed the obsolete archives
+ are deleted.
+
+
+ This method is called recursively. This is the reason the is required.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Value which will replace the numeric pattern.
+
+
+
+ Archives the using a sequence style numbering. The most recent archive has the
+ highest number. When the number of archive files exceed the obsolete
+ archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
+
+ Creates an archive copy of source file either by compressing it or moving to a new location in the file
+ system. Which action will be used is determined by the value of parameter.
+
+ File name to be archived.
+ Name of the archive file.
+ Enables file compression
+
+
+
+
+ Archives the using a date and sequence style numbering. Archives will be stamped
+ with the prior period (Year, Month, Day) datetime. The most recent archive has the highest number (in
+ combination with the date).
+
+
+ When the number of archive files exceed the obsolete archives are deleted.
+
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+ Log event that the instance is currently processing.
+
+
+
+ Determines whether a file with a different name from is needed to receive the
+ . This is determined based on the last date and time which the file has been
+ written compared to the time the log event was initiated.
+
+
+ when log event time is "different" than the last write time; otherwise.
+
+
+
+
+ Deletes files among a given list, and stops as soon as the remaining files are fewer than the setting.
+
+ List of the file archives.
+
+ Items are deleted in the same order as in . No file is deleted if property is zero.
+
+
+
+
+ Searches a given directory for archives that comply with the current archive pattern.
+
+ An enumeration of archive infos, ordered by their file creation date.
+
+
+
+ Gets the collection of files in the specified directory which they match the .
+
+ Directory to searched.
+ Pattern whihc the files will be searched against.
+ Lisf of files matching the pattern.
+
+
+
+ Replaces the string-based pattern i.e. {#} in a file name with the value passed in parameter.
+
+ File name which contains the string-based pattern.
+ Value which will replace the string-based pattern.
+
+ File name with the value of in the position of the string-based pattern.
+
+
+
+
+ Archives the using a date style numbering. Archives will be stamped with the
+ prior period (Year, Month, Day, Hour, Minute) datetime. When the number of archive files exceed the obsolete archives are deleted.
+
+ File name to be archived.
+ File name template which contains the numeric pattern to be replaced.
+
+
+
+ Deletes archive files in reverse chronological order until only the
+ MaxArchiveFiles number of archive files remain.
+
+ The pattern that archive filenames will match
+
+
+
+ Gets the correct formating to be used based on the value of for converting values which will be inserting into file
+ names during archiving.
+
+ This value will be computed only when a empty value or is passed into
+
+ Date format to used irrespectively of value.
+ Formatting for dates.
+
+
+
+ Invokes the archiving process after determining when and which type of archiving is required.
+
+ File name to be checked and archived.
+ Log event that the instance is currently processing.
+
+
+
+ Gets the pattern that archive files will match
+
+ Filename of the log file
+ Log event that the instance is currently processing.
+ A string with a pattern that will match the archive filenames
+
+
+
+ Indicates if the automatic archiving process should be executed.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on file size constrains.
+
+ File name to be written.
+ The size in bytes of the next chunk of data to be written in the file.
+ when archiving should be executed; otherwise.
+
+
+
+ Indicates if the automatic archiving process should be executed based on date/time constrains.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ when archiving should be executed; otherwise.
+
+
+
+ The sequence of to be written for the file header.
+
+ Sequence of to be written.
+
+
+
+ The sequence of to be written for the file footer.
+
+ Sequence of to be written.
+
+
+
+ Evaluates which parts of a file should be written (header, content, footer) based on various properties of
+ instance and writes them.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Raw sequence of to be written into the content part of the file.
+ Indicates that only content section should be written in the file.
+
+
+
+ Initialise a file to be used by the instance. Based on the number of initialised
+ files and the values of various instance properties clean up and/or archiving processes can be invoked.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+ Indicates that only content section should be written in the file.
+ when file header should be written; otherwise.
+
+
+
+ Writes the file footer and uninitialise the file in instance internal structures.
+
+ File name to be written.
+
+
+
+ Invokes the archiving and clean up of older archive file based on the values of and properties respectively.
+
+ File name to be written.
+ Log event that the instance is currently processing.
+
+
+
+ Creates the file specified in and writes the file content in each entirety i.e.
+ Header, Content and Footer.
+
+ The name of the file to be written.
+ Sequence of to be written in the content section of the file.
+ This method is used when the content of the log file is re-written on every write.
+
+
+
+ Writes the header information to a file.
+
+ File appender associated with the file.
+
+
+
+ Returns the length of a specified file and the last time it has been written. File appender is queried before the file system.
+
+ File which the information are requested.
+ The last time the file has been written is returned.
+ The length of the file is returned.
+ when file details returned; otherwise.
+
+
+
+ The sequence of to be written in a file after applying any formating and any
+ transformations required from the .
+
+ The layout used to render output message.
+ Sequence of to be written.
+ Usually it is used to render the header and hooter of the files.
+
+
+
+ Replaces any invalid characters found in the with underscore i.e _ character.
+ Invalid characters are defined by .NET framework and they returned by method.
+ Note: not implemented in Silverlight
+
+ The original file name which might contain invalid characters.
+ The cleaned up file name without any invalid characters.
+
+
+
+ Gets or sets the maximum number of archive files that should be kept.
+
+
+
+
+ Creates an instance of class.
+
+ Maximum number of archive files to be kept.
+
+
+
+ Adds a file into archive.
+
+ File name of the archive
+ Original file name
+ Create a directory, if it does not exist
+ Enables file compression
+ if the file has been moved successfully; otherwise.
+
+
+
+ Creates an instance of class.
+
+
+
+
+ Archives the file, either by copying it to a new file system location or by compressing it, and add the file name into the list of archives.
+
+ Target file name.
+ Original file name.
+ Create a directory, if it does not exist.
+ Enables file compression.
+
+
+
+ Remove old archive files when the files on the queue are more than the .
+
+
+
+
+ Creates a new unique filename by appending a number to it. This method tests that
+ the filename created does not exist.
+
+ This process can be slow as it increments the number sequentially from a specified
+ starting point until it finds a number which produces a filename which does not
+ exist.
+
+ Example:
+ Original Filename trace.log
+ Target Filename trace.15.log
+
+ Original file name.
+ Number starting point
+ File name suitable for archiving
+
+
+
+ Characters determining the start of the .
+
+
+
+
+ Characters determining the end of the .
+
+
+
+
+ File name which is used as template for matching and replacements.
+ It is expected to contain a pattern to match.
+
+
+
+
+ The begging position of the
+ within the . -1 is returned
+ when no pattern can be found.
+
+
+
+
+ The ending position of the
+ within the . -1 is returned
+ when no pattern can be found.
+
+
+
+
+ Replace the pattern with the specified String.
+
+
+
+
+
+
+ Line ending mode.
+
+
+
+
+ Insert platform-dependent end-of-line sequence after each line.
+
+
+
+
+ Insert CR LF sequence (ASCII 13, ASCII 10) after each line.
+
+
+
+
+ Insert CR character (ASCII 13) after each line.
+
+
+
+
+ Insert LF character (ASCII 10) after each line.
+
+
+
+
+ Do not insert any line ending.
+
+
+
+
+ Gets the name of the LineEndingMode instance.
+
+
+
+
+ Gets the new line characters (value) of the LineEndingMode instance.
+
+
+
+
+ Initializes a new instance of .
+
+ The mode name.
+ The new line characters to be used.
+
+
+
+ Returns the that corresponds to the supplied .
+
+
+ The textual representation of the line ending mode, such as CRLF, LF, Default etc.
+ Name is not case sensitive.
+
+ The value, that corresponds to the .
+ There is no line ending mode with the specified name.
+
+
+
+ Compares two objects and returns a
+ value indicating whether the first one is equal to the second one.
+
+ The first level.
+ The second level.
+ The value of mode1.NewLineCharacters == mode2.NewLineCharacters.
+
+
+
+ Compares two objects and returns a
+ value indicating whether the first one is not equal to the second one.
+
+ The first mode
+ The second mode
+ The value of mode1.NewLineCharacters != mode2.NewLineCharacters.
+
+
+
+ Returns a string representation of the log level.
+
+ Log level name.
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms
+ and data structures like a hash table.
+
+
+
+
+ Determines whether the specified is
+ equal to this instance.
+
+ The to compare with
+ this instance.
+
+ Value of true if the specified
+ is equal to this instance; otherwise, false.
+
+
+ The parameter is null.
+
+
+
+
+ Provides a type converter to convert objects to and from other representations.
+
+
+
+
+ Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
+
+
+ true if this converter can perform the conversion; otherwise, false.
+
+ An that provides a format context. A that represents the type you want to convert from.
+
+
+
+ Converts the given object to the type of this converter, using the specified context and culture information.
+
+
+ An that represents the converted value.
+
+ An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed.
+
+
+
+ Sends log messages to a NLog Receiver Service (using WCF or Web Services).
+
+ Documentation on NLog Wiki
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the endpoint address.
+
+ The endpoint address.
+
+
+
+
+ Gets or sets the name of the endpoint configuration in WCF configuration file.
+
+ The name of the endpoint configuration.
+
+
+
+
+ Gets or sets a value indicating whether to use binary message encoding.
+
+
+
+
+
+ Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply)
+
+
+
+
+
+ Gets or sets the client ID.
+
+ The client ID.
+
+
+
+
+ Gets the list of parameters.
+
+ The parameters.
+
+
+
+
+ Gets or sets a value indicating whether to include per-event properties in the payload sent to the server.
+
+
+
+
+
+ Called when log events are being sent (test hook).
+
+ The events.
+ The async continuations.
+ True if events should be sent, false to stop processing them.
+
+
+
+ Writes logging event to the log target. Must be overridden in inheriting
+ classes.
+
+ Logging event to be written out.
+
+
+
+ Writes an array of logging events to the log target. By default it iterates on all
+ events and passes them to "Append" method. Inheriting classes can use this method to
+ optimize batch writes.
+
+ Logging events to be written out.
+
+
+
+ Flush any pending log messages asynchronously (in case of asynchronous targets).
+
+ The asynchronous continuation.
+
+
+
+ Creating a new instance of WcfLogReceiverClient
+
+ Inheritors can override this method and provide their own
+ service configuration - binding and endpoint address
+
+
+
+
+
+ Creating a new instance of IWcfLogReceiverClient
+
+ Inheritors can override this method and provide their own
+ service configuration - binding and endpoint address
+
+
+ virtual is used by endusers
+
+
+
+ Writes log messages to an ArrayList in memory for programmatic retrieval.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets the list of logs gathered in the .
+
+
+
+
+ Renders the logging event message and adds it to the internal ArrayList of log messages.
+
+ The logging event.
+
+
+
+ A parameter to MethodCall.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The layout to use for parameter value.
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the parameter.
+ The layout.
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the parameter.
+ The layout.
+ The type of the parameter.
+
+
+
+ Gets or sets the name of the parameter.
+
+
+
+
+
+ Gets or sets the type of the parameter.
+
+
+
+
+
+ Gets or sets the layout that should be use to calculate the value for the parameter.
+
+
+
+
+
+ Calls the specified static method on each log message and passes contextual parameters to it.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Gets or sets the class name.
+
+
+
+
+
+ Gets or sets the method name. The method must be public and static.
+
+
+
+
+
+ Initializes the target.
+
+
+
+
+ Calls the specified Method.
+
+ Method parameters.
+
+
+
+ The base class for all targets which call methods (local or remote).
+ Manages parameters and type coercion.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the array of parameters to be passed.
+
+
+
+
+
+ Prepares an array of parameters to be passed based on the logging event and calls DoInvoke().
+
+
+ The logging event.
+
+
+
+
+ Calls the target method. Must be implemented in concrete classes.
+
+ Method call parameters.
+ The continuation.
+
+
+
+ Calls the target method. Must be implemented in concrete classes.
+
+ Method call parameters.
+
Sends log messages over the network.
@@ -11336,16 +12870,333 @@
-
+
- Represents target that supports string formatting using layouts.
+ Initializes a new instance of the class.
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets or sets the network address.
+
+
+ The network address can be:
+
+ - tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
+ - tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
+ - tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
+ - udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
+ - udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
+ - udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
+ - http://host:port/pageName - HTTP using POST verb
+ - https://host:port/pageName - HTTPS using POST verb
+
+ For SOAP-based webservice support over HTTP use WebService target.
+
+
+
+
+
+ Gets or sets a value indicating whether to keep connection open whenever possible.
+
+
+
+
+
+ Gets or sets a value indicating whether to append newline at the end of log message.
+
+
+
+
+
+ Gets or sets the maximum message size in bytes.
+
+
+
+
+
+ Gets or sets the size of the connection cache (number of connections which are kept alive).
+
+
+
+
+
+ Gets or sets the maximum current connections. 0 = no maximum.
+
+
+
+
+
+ Gets or sets the action that should be taken if the will be more connections than .
+
+
+
+
+
+ Gets or sets the maximum queue size.
+
+
+
+
+ Gets or sets the action that should be taken if the message is larger than
+ maxMessageSize.
+
+
+
+
+
+ Gets or sets the encoding to be used.
+
+
+
+
+
+ Flush any pending log messages asynchronously (in case of asynchronous targets).
+
+ The asynchronous continuation.
+
+
+
+ Closes the target.
+
+
+
+
+ Sends the
+ rendered logging event over the network optionally concatenating it with a newline character.
+
+ The logging event.
+
+
+
+ Try to remove.
+
+
+
+
+ removed something?
+
+
+
+ Gets the bytes to be written.
+
+ Log event.
+ Byte array.
+
+
+
+ The action to be taken when there are more connections then the max.
+
+
+
+
+ Just allow it.
+
+
+
+
+ Discard the connection item.
+
+
+
+
+ Block until there's more room in the queue.
+
+
+
+
+ Action that should be taken if the message overflows.
+
+
+
+
+ Report an error.
+
+
+
+
+ Split the message into smaller pieces.
+
+
+
+
+ Discard the entire message.
+
+
+
+
+ Represents a parameter to a NLogViewer target.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets viewer parameter name.
+
+
+
+
+
+ Gets or sets the layout that should be use to calcuate the value for the parameter.
+
+
+
+
+
+ Sends log messages to the remote instance of NLog Viewer.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+ NOTE: If your receiver application is ever likely to be off-line, don't use TCP protocol
+ or you'll get TCP timeouts and your application will crawl.
+ Either switch to UDP transport or use AsyncWrapper target
+ so that your application threads will not be blocked by the timing-out connection attempts.
+
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
+
+
+
+
+ Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
+
+
+
+
+
+ Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain.
+
+
+
+
+
+ Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
+
+
+
+
+
+ Gets or sets a value indicating whether to include dictionary contents.
+
+
+
+
+
+ Gets or sets a value indicating whether to include stack contents.
+
+
+
+
+
+ Gets or sets the NDC item separator.
+
+
+
+
+
+ Gets the collection of parameters. Each parameter contains a mapping
+ between NLog layout and a named parameter.
+
+
+
+
+
+ Gets the layout renderer which produces Log4j-compatible XML events.
+
+
+
+
+ Gets or sets the instance of that is used to format log messages.
+
+
+
+
+
+ Discards log messages. Used mainly for debugging and benchmarking.
+
+ Documentation on NLog Wiki
+
+
+ To set up the target in the configuration file,
+ use the following syntax:
+
+
+
+ This assumes just one target and a single rule. More configuration
+ options are described here.
+
+
+ To set up the log target programmatically use code like this:
+
+
+
+
+
+
+ Gets or sets a value indicating whether to perform layout calculation.
+
+
+
+
+
+ Does nothing. Optionally it calculates the layout text but
+ discards the results.
+
+ The logging event.
Represents logging target.
+
+
+ Gets or sets the name of the target.
+
+
+
+
+
+ Gets the object which can be used to synchronize asynchronous operations that must rely on the .
+
+
+
+
+ Gets the logging configuration this target is part of.
+
+
+
+
+ Gets a value indicating whether the target has been initialized.
+
+
Initializes this instance.
@@ -11462,30 +13313,35 @@
The event info object to perform the merge to.
-
+
- Gets or sets the name of the target.
-
-
-
-
-
- Gets the object which can be used to synchronize asynchronous operations that must rely on the .
+ Marks class as a logging target and assigns a name to it.
-
+
- Gets the logging configuration this target is part of.
+ Initializes a new instance of the class.
+
+ Name of the target.
+
+
+
+ Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page).
-
+
- Gets a value indicating whether the target has been initialized.
+ Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page).
+
+
+
+
+ Represents target that supports string formatting using layouts.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
@@ -11497,189 +13353,6 @@
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Flush any pending log messages asynchronously (in case of asynchronous targets).
-
- The asynchronous continuation.
-
-
-
- Closes the target.
-
-
-
-
- Sends the
- rendered logging event over the network optionally concatenating it with a newline character.
-
- The logging event.
-
-
-
- Gets the bytes to be written.
-
- Log event.
- Byte array.
-
-
-
- Gets or sets the network address.
-
-
- The network address can be:
-
- - tcp://host:port - TCP (auto select IPv4/IPv6) (not supported on Windows Phone 7.0)
- - tcp4://host:port - force TCP/IPv4 (not supported on Windows Phone 7.0)
- - tcp6://host:port - force TCP/IPv6 (not supported on Windows Phone 7.0)
- - udp://host:port - UDP (auto select IPv4/IPv6, not supported on Silverlight and on Windows Phone 7.0)
- - udp4://host:port - force UDP/IPv4 (not supported on Silverlight and on Windows Phone 7.0)
- - udp6://host:port - force UDP/IPv6 (not supported on Silverlight and on Windows Phone 7.0)
- - http://host:port/pageName - HTTP using POST verb
- - https://host:port/pageName - HTTPS using POST verb
-
- For SOAP-based webservice support over HTTP use WebService target.
-
-
-
-
-
- Gets or sets a value indicating whether to keep connection open whenever possible.
-
-
-
-
-
- Gets or sets a value indicating whether to append newline at the end of log message.
-
-
-
-
-
- Gets or sets the maximum message size in bytes.
-
-
-
-
-
- Gets or sets the size of the connection cache (number of connections which are kept alive).
-
-
-
-
-
- Gets or sets the maximum queue size.
-
-
-
-
- Gets or sets the action that should be taken if the message is larger than
- maxMessageSize.
-
-
-
-
-
- Gets or sets the encoding to be used.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema.
-
-
-
-
-
- Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain.
-
-
-
-
-
- Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network.
-
-
-
-
-
- Gets or sets a value indicating whether to include dictionary contents.
-
-
-
-
-
- Gets or sets a value indicating whether to include stack contents.
-
-
-
-
-
- Gets or sets the NDC item separator.
-
-
-
-
-
- Gets the collection of parameters. Each parameter contains a mapping
- between NLog layout and a named parameter.
-
-
-
-
-
- Gets the layout renderer which produces Log4j-compatible XML events.
-
-
-
-
- Gets or sets the instance of that is used to format log messages.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes log messages to the console.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
Represents target that supports string formatting using layouts.
@@ -11687,7 +13360,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
@@ -11717,1146 +13390,6 @@
The layout with header and footer.
-
-
- Initializes the target.
-
-
-
-
- Closes the target and releases any unmanaged resources.
-
-
-
-
- Writes the specified logging event to the Console.Out or
- Console.Error depending on the value of the Error flag.
-
- The logging event.
-
- Note that the Error option is not supported on .NET Compact Framework.
-
-
-
-
- Write to output
-
- text to be written.
-
-
-
- Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output.
-
-
-
-
-
- A descriptor for an archive created with the DateAndSequence numbering mode.
-
-
-
-
- Determines whether produces the same string as the current instance's date once formatted with the current instance's date format.
-
- The date to compare the current object's date to.
- True if the formatted dates are equal, otherwise False.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- The full name of the archive file.
-
-
-
-
- The parsed date contained in the file name.
-
-
-
-
- The parsed sequence number contained in the file name.
-
-
-
-
- Writes log messages to the attached managed debugger.
-
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes the target.
-
-
-
-
- Closes the target and releases any unmanaged resources.
-
-
-
-
- Writes the specified logging event to the attached debugger.
-
- The logging event.
-
-
-
- Mock target - useful for testing.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Increases the number of messages.
-
- The logging event.
-
-
-
- Gets the number of times this target has been called.
-
-
-
-
-
- Gets the last message rendered by this target.
-
-
-
-
-
- Modes of archiving files based on time.
-
-
-
-
- Don't archive based on time.
-
-
-
-
- AddToArchive every year.
-
-
-
-
- AddToArchive every month.
-
-
-
-
- AddToArchive daily.
-
-
-
-
- AddToArchive every hour.
-
-
-
-
- AddToArchive every minute.
-
-
-
-
- Writes log messages to one or more files.
-
- Documentation on NLog Wiki
-
-
-
- Gets or sets a value indicating whether to compress archive files into the zip archive format.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Removes records of initialized files that have not been
- accessed in the last two days.
-
-
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
-
-
-
-
- Removes records of initialized files that have not been
- accessed after the specified date.
-
- The cleanup threshold.
-
- Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
-
-
-
-
- Flushes all pending file operations.
-
- The asynchronous continuation.
-
- The timeout parameter is ignored, because file APIs don't provide
- the needed functionality.
-
-
-
-
- Initializes file logging by creating data structures that
- enable efficient multi-file logging.
-
-
-
-
- Closes the file(s) opened for writing.
-
-
-
-
- Writes the specified logging event to a file specified in the FileName
- parameter.
-
- The logging event.
-
-
-
- Writes the specified array of logging events to a file specified in the FileName
- parameter.
-
- An array of objects.
-
- This function makes use of the fact that the events are batched by sorting
- the requests by filename. This optimizes the number of open/close calls
- and can help improve performance.
-
-
-
-
- Formats the log event for write.
-
- The log event to be formatted.
- A string representation of the log event.
-
-
-
- Gets the bytes to be written to the file.
-
- Log event.
- Array of bytes that are ready to be written.
-
-
-
- Modifies the specified byte array before it gets sent to a file.
-
- The byte array.
- The modified byte array. The function can do the modification in-place.
-
-
-
- Determines whether a file with a different name from is needed to receive .
-
-
-
-
- Deletes files among a given list, and stops as soon as the remaining files are fewer than the MaxArchiveFiles setting.
-
-
- Items are deleted in the same order as in .
- No file is deleted if MaxArchiveFile is equal to zero.
-
-
-
-
- Searches a given directory for archives that comply with the current archive pattern.
-
- An enumeration of archive infos, ordered by their file creation date.
-
-
-
- Deletes archive files in reverse chronological order until only the
- MaxArchiveFiles number of archive files remain.
-
- The pattern that archive filenames will match
-
-
-
- Gets the pattern that archive files will match
-
- Filename of the log file
- Log event info of the log that is currently been written
- A string with a pattern that will match the archive filenames
-
-
-
- Gets or sets the name of the file to write to.
-
-
- This FileName string is a layout which may include instances of layout renderers.
- This lets you use a single target to write to multiple files.
-
-
- The following value makes NLog write logging events to files based on the log level in the directory where
- the application runs.
- ${basedir}/${level}.log
- All Debug messages will go to Debug.log, all Info messages will go to Info.log and so on.
- You can combine as many of the layout renderers as you want to produce an arbitrary log file name.
-
-
-
-
-
- Gets or sets a value indicating whether to create directories if they do not exist.
-
-
- Setting this to false may improve performance a bit, but you'll receive an error
- when attempting to write to a directory that's not present.
-
-
-
-
-
- Gets or sets a value indicating whether to delete old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
-
-
-
-
-
- Gets or sets a value indicating whether to archive old log file on startup.
-
-
- This option works only when the "FileName" parameter denotes a single file.
- After archiving the old file, the current log file will be empty.
-
-
-
-
-
- Gets or sets a value indicating whether to replace file contents on each write instead of appending log message at the end.
-
-
-
-
-
- Gets or sets a value indicating whether to keep log file open instead of opening and closing it on each logging event.
-
-
- Setting this property to True helps improve performance.
-
-
-
-
-
- Gets or sets the maximum number of log filenames that should be stored as existing.
-
-
- The bigger this number is the longer it will take to write each log record. The smaller the number is
- the higher the chance that the clean function will be run when no new files have been opened.
-
-
-
-
-
- Gets or sets a value indicating whether to enable log file(s) to be deleted.
-
-
-
-
-
- Gets or sets a value specifying the date format to use when archving files.
-
-
- This option works only when the "ArchiveNumbering" parameter is set either to Date or DateAndSequence.
-
-
-
-
-
- Gets or sets the line ending mode.
-
-
-
-
-
- Gets or sets a value indicating whether to automatically flush the file buffers after each log message.
-
-
-
-
-
- Gets or sets the 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).
-
-
- The files are managed on a LRU (least recently used) basis, which flushes
- the files that have not been used for the longest period of time should the
- cache become full. As a rule of thumb, you shouldn't set this parameter to
- a very high value. A number like 10-15 shouldn't be exceeded, because you'd
- be keeping a large number of files open which consumes system resources.
-
-
-
-
-
- Gets or sets the 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.
-
-
-
-
-
- Gets or sets the log file buffer size in bytes.
-
-
-
-
-
- Gets or sets the file encoding.
-
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
-
-
- This makes multi-process logging possible. NLog uses a special technique
- that lets it keep the files open for writing.
-
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on different network hosts.
-
-
- This effectively prevents files from being kept open.
-
-
-
-
-
- Gets or sets the number of times the write is appended on the file before NLog
- discards the log message.
-
-
-
-
-
- Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
-
-
- The actual delay is a random value between 0 and the value specified
- in this parameter. On each failed attempt the delay base is doubled
- up to times.
-
-
- Assuming that ConcurrentWriteAttemptDelay is 10 the time to wait will be:
- a random value between 0 and 10 milliseconds - 1st attempt
- a random value between 0 and 20 milliseconds - 2nd attempt
- a random value between 0 and 40 milliseconds - 3rd attempt
- a random value between 0 and 80 milliseconds - 4th attempt
- ...
- and so on.
-
-
-
-
-
- Gets or sets the 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:
-
-
- Caution: Enabling this option can considerably slow down your file
- logging in multi-process scenarios. If only one process is going to
- be writing to the file, consider setting ConcurrentWrites
- to false for maximum performance.
-
-
-
-
-
- Gets or sets a value indicating whether to automatically archive log files every time the specified time passes.
-
-
- Files are moved to the archive as part of the write operation if the current period of time changes. For example
- if the current hour changes from 10 to 11, the first write that will occur
- on or after 11:00 will trigger the archiving.
-
- Caution: Enabling this option can considerably slow down your file
- logging in multi-process scenarios. If only one process is going to
- be writing to the file, consider setting ConcurrentWrites
- to false for maximum performance.
-
-
-
-
-
-
- Gets or sets the name of the file to be used for an archive.
-
-
- It may contain a special placeholder {#####}
- that will be replaced with a sequence of numbers depending on
- the archiving strategy. The number of hash characters used determines
- the number of numerical digits to be used for numbering files.
-
-
-
-
-
- Gets or sets the maximum number of archive files that should be kept.
-
-
-
-
-
- Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
-
-
-
-
- Gets or sets the way file archives are numbered.
-
-
-
-
-
- Gets the characters that are appended after each line.
-
-
-
-
- Adds a file into archive.
-
- File name of the archive
- Original file name
- Create a directory, if it does not exist
- Enables file compression
- true if the file has been moved successfully; false otherwise
-
-
-
-
-
-
-
-
-
-
-
-
- Remove old archive files when the files on the queue are more than the
- MaxArchiveFilesToKeep.
-
-
-
-
- Creates a new unique filename by appending a number to it. This method tests that
- the filename created does not exist.
-
- This process can be slow as it increments the number sequentially from a specified
- starting point until it finds a number which produces a filename which does not
- exist.
-
- Example:
- Original Filename trace.log
- Target Filename trace.15.log
-
- Original filename
- Number starting point
- File name suitable for archiving
-
-
-
- Characters determining the start of the .
-
-
-
-
- Characters determining the end of the .
-
-
-
-
- Replace the pattern with the specified String.
-
-
-
-
-
-
- File name which is used as template for matching and replacements.
- It is expected to contain a pattern to match.
-
-
-
-
- The begging position of the
- within the . -1 is returned
- when no pattern can be found.
-
-
-
-
- The ending position of the
- within the . -1 is returned
- when no pattern can be found.
-
-
-
-
- Line ending mode.
-
-
-
-
- Insert platform-dependent end-of-line sequence after each line.
-
-
-
-
- Insert CR LF sequence (ASCII 13, ASCII 10) after each line.
-
-
-
-
- Insert CR character (ASCII 13) after each line.
-
-
-
-
- Insert LF character (ASCII 10) after each line.
-
-
-
-
- Do not insert any line ending.
-
-
-
-
- Initializes a new instance of .
-
- The mode name.
- The new line characters to be used.
-
-
-
- Returns the that corresponds to the supplied .
-
-
- The textual representation of the line ending mode, such as CRLF, LF, Default etc.
- Name is not case sensitive.
-
- The value, that corresponds to the .
- There is no line ending mode with the specified name.
-
-
-
- Compares two objects and returns a
- value indicating whether the first one is equal to the second one.
-
- The first level.
- The second level.
- The value of mode1.NewLineCharacters == mode2.NewLineCharacters.
-
-
-
- Compares two objects and returns a
- value indicating whether the first one is not equal to the second one.
-
- The first mode
- The second mode
- The value of mode1.NewLineCharacters != mode2.NewLineCharacters.
-
-
-
- Returns a string representation of the log level.
-
- Log level name.
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms
- and data structures like a hash table.
-
-
-
-
- Determines whether the specified is
- equal to this instance.
-
- The to compare with
- this instance.
-
- Value of true if the specified
- is equal to this instance; otherwise, false.
-
-
- The parameter is null.
-
-
-
-
- Gets the name of the LineEndingMode instance.
-
-
-
-
- Gets the new line characters (value) of the LineEndingMode instance.
-
-
-
-
- Provides a type converter to convert objects to and from other representations.
-
-
-
-
- Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
-
-
- true if this converter can perform the conversion; otherwise, false.
-
- An that provides a format context. A that represents the type you want to convert from.
-
-
-
- Converts the given object to the type of this converter, using the specified context and culture information.
-
-
- An that represents the converted value.
-
- An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed.
-
-
-
- Sends log messages to a NLog Receiver Service (using WCF or Web Services).
-
- Documentation on NLog Wiki
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Called when log events are being sent (test hook).
-
- The events.
- The async continuations.
- True if events should be sent, false to stop processing them.
-
-
-
- Writes logging event to the log target. Must be overridden in inheriting
- classes.
-
- Logging event to be written out.
-
-
-
- Writes an array of logging events to the log target. By default it iterates on all
- events and passes them to "Append" method. Inheriting classes can use this method to
- optimize batch writes.
-
- Logging events to be written out.
-
-
-
- Flush any pending log messages asynchronously (in case of asynchronous targets).
-
- The asynchronous continuation.
-
-
-
- Creating a new instance of WcfLogReceiverClient
-
- Inheritors can override this method and provide their own
- service configuration - binding and endpoint address
-
-
-
-
-
- Creating a new instance of IWcfLogReceiverClient
-
- Inheritors can override this method and provide their own
- service configuration - binding and endpoint address
-
-
-
-
-
- Gets or sets the endpoint address.
-
- The endpoint address.
-
-
-
-
- Gets or sets the name of the endpoint configuration in WCF configuration file.
-
- The name of the endpoint configuration.
-
-
-
-
- Gets or sets a value indicating whether to use binary message encoding.
-
-
-
-
-
- Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply)
-
-
-
-
-
- Gets or sets the client ID.
-
- The client ID.
-
-
-
-
- Gets the list of parameters.
-
- The parameters.
-
-
-
-
- Gets or sets a value indicating whether to include per-event properties in the payload sent to the server.
-
-
-
-
-
- Writes log messages to an ArrayList in memory for programmatic retrieval.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Renders the logging event message and adds it to the internal ArrayList of log messages.
-
- The logging event.
-
-
-
- Gets the list of logs gathered in the .
-
-
-
-
- A parameter to MethodCall.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The layout to use for parameter value.
-
-
-
- Initializes a new instance of the class.
-
- Name of the parameter.
- The layout.
-
-
-
- Initializes a new instance of the class.
-
- The name of the parameter.
- The layout.
- The type of the parameter.
-
-
-
- Gets or sets the name of the parameter.
-
-
-
-
-
- Gets or sets the type of the parameter.
-
-
-
-
-
- Gets or sets the layout that should be use to calculate the value for the parameter.
-
-
-
-
-
- Calls the specified static method on each log message and passes contextual parameters to it.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- The base class for all targets which call methods (local or remote).
- Manages parameters and type coercion.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Prepares an array of parameters to be passed based on the logging event and calls DoInvoke().
-
-
- The logging event.
-
-
-
-
- Calls the target method. Must be implemented in concrete classes.
-
- Method call parameters.
- The continuation.
-
-
-
- Calls the target method. Must be implemented in concrete classes.
-
- Method call parameters.
-
-
-
- Gets the array of parameters to be passed.
-
-
-
-
-
- Initializes the target.
-
-
-
-
- Calls the specified Method.
-
- Method parameters.
-
-
-
- Gets or sets the class name.
-
-
-
-
-
- Gets or sets the method name. The method must be public and static.
-
-
-
-
-
- Action that should be taken if the message overflows.
-
-
-
-
- Report an error.
-
-
-
-
- Split the message into smaller pieces.
-
-
-
-
- Discard the entire message.
-
-
-
-
- Represents a parameter to a NLogViewer target.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets viewer parameter name.
-
-
-
-
-
- Gets or sets the layout that should be use to calcuate the value for the parameter.
-
-
-
-
-
- Discards log messages. Used mainly for debugging and benchmarking.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here.
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Does nothing. Optionally it calculates the layout text but
- discards the results.
-
- The logging event.
-
-
-
- Gets or sets a value indicating whether to perform layout calculation.
-
-
-
-
-
- Marks class as a logging target and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the target.
-
-
-
- Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page).
-
-
-
-
- Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page).
-
-
Web service protocol.
@@ -12910,41 +13443,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Calls the target method. Must be implemented in concrete classes.
-
- Method call parameters.
-
-
-
- Invokes the web service method.
-
- Parameters to be passed.
- The continuation.
-
-
-
- Helper for creating soap POST-XML request
-
-
-
-
-
-
-
-
-
- Write from input to output. Fix the UTF-8 bom
-
-
-
-
-
-
Gets or sets the web service URL.
@@ -12982,6 +13483,38 @@
+
+
+ Calls the target method. Must be implemented in concrete classes.
+
+ Method call parameters.
+
+
+
+ Invokes the web service method.
+
+ Parameters to be passed.
+ The continuation.
+
+
+
+ Helper for creating soap POST-XML request
+
+
+
+
+
+
+
+
+
+ Write from input to output. Fix the UTF-8 bom
+
+
+
+
+
+
Asynchronous request queue.
@@ -12994,6 +13527,22 @@
Request limit.
The overflow action.
+
+
+ Gets or sets the request limit.
+
+
+
+
+ Gets or sets the action to be taken when there's no more room in
+ the queue and another request is enqueued.
+
+
+
+
+ Gets the number of requests currently in the queue.
+
+
Enqueues another item. If the queue is overflown the appropriate
@@ -13014,22 +13563,6 @@
Clears the queue.
-
-
- Gets or sets the request limit.
-
-
-
-
- Gets or sets the action to be taken when there's no more room in
- the queue and another request is enqueued.
-
-
-
-
- Gets the number of requests currently in the queue.
-
-
Provides asynchronous, buffered execution of target writes.
@@ -13067,55 +13600,56 @@
-
-
- Base class for targets wrap other (single) targets.
-
-
-
-
- Returns the text representation of the object. Used for diagnostics.
-
- A string that describes the target.
-
-
-
- Flush any pending log messages (in case of asynchronous targets).
-
- The asynchronous continuation.
-
-
-
- Writes logging event to the log target. Must be overridden in inheriting
- classes.
-
- Logging event to be written out.
-
-
-
- Gets or sets the target that is wrapped by this target.
-
-
-
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
Maximum number of requests in the queue.
The action to be taken when the queue overflows.
+
+
+ Gets or sets the number of log events that should be processed in a batch
+ by the lazy writer thread.
+
+
+
+
+
+ Gets or sets the time in milliseconds to sleep between batches.
+
+
+
+
+
+ Gets or sets the action to be taken when the lazy writer thread request queue count
+ exceeds the set limit.
+
+
+
+
+
+ Gets or sets the limit on the number of requests in the lazy writer thread request queue.
+
+
+
+
+
+ Gets the queue of lazy writer thread requests.
+
+
Waits for the lazy writer thread to finish writing messages.
@@ -13154,37 +13688,6 @@
to ensure that the log event can be processed in another thread.
-
-
- Gets or sets the number of log events that should be processed in a batch
- by the lazy writer thread.
-
-
-
-
-
- Gets or sets the time in milliseconds to sleep between batches.
-
-
-
-
-
- Gets or sets the action to be taken when the lazy writer thread request queue count
- exceeds the set limit.
-
-
-
-
-
- Gets or sets the limit on the number of requests in the lazy writer thread request queue.
-
-
-
-
-
- Gets the queue of lazy writer thread requests.
-
-
The action to be taken when the queue overflows.
@@ -13225,7 +13728,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
@@ -13233,7 +13736,7 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
@@ -13252,53 +13755,30 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
Size of the buffer.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
Size of the buffer.
The flush timeout.
-
-
- Flushes pending events in the buffer (if any).
-
- The asynchronous continuation.
-
-
-
- Initializes the target.
-
-
-
-
- Closes the target by flushing pending events in the buffer (if any).
-
-
-
-
- Adds the specified log event to the buffer and flushes
- the buffer in case the buffer gets full.
-
- The log event.
-
Gets or sets the number of log events to be buffered.
@@ -13323,6 +13803,29 @@
+
+
+ Flushes pending events in the buffer (if any).
+
+ The asynchronous continuation.
+
+
+
+ Initializes the target.
+
+
+
+
+ Closes the target by flushing pending events in the buffer (if any).
+
+
+
+
+ Adds the specified log event to the buffer and flushes
+ the buffer in case the buffer gets full.
+
+ The log event.
+
A base class for targets which wrap other (multiple) targets
@@ -13331,10 +13834,15 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
+
+
+ Gets the collection of targets managed by this compound target.
+
+
Returns the text representation of the object. Used for diagnostics.
@@ -13353,11 +13861,6 @@
The asynchronous continuation.
-
-
- Gets the collection of targets managed by this compound target.
-
-
Provides fallback-on-error.
@@ -13385,10 +13888,16 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
+
+
+ Gets or sets a value indicating whether to return to the first target after any successful write.
+
+
+
Forwards the log event to the sub-targets until one of them succeeds.
@@ -13402,12 +13911,6 @@
stored in .
-
-
- Gets or sets a value indicating whether to return to the first target after any successful write.
-
-
-
Filtering rule for .
@@ -13458,16 +13961,23 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
The condition.
+
+
+ Gets or sets the condition expression. Log events who meet this condition will be forwarded
+ to the wrapped target.
+
+
+
Checks the condition against the passed log event.
@@ -13476,13 +13986,6 @@
Log event.
-
-
- Gets or sets the condition expression. Log events who meet this condition will be forwarded
- to the wrapped target.
-
-
-
Filters buffered log entries based on a set of conditions that are evaluated on a group of events.
@@ -13514,18 +14017,9 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
-
-
- Evaluates all filtering rules to find the first one that matches.
- The matching rule determines the filtering condition to be applied
- to all items in a buffer. If no condition matches, default filter
- is applied to the array of log events.
-
- Array of log events to be post-filtered.
-
Gets or sets the default filter to be applied when no specific rule matches.
@@ -13540,6 +14034,15 @@
+
+
+ Evaluates all filtering rules to find the first one that matches.
+ The matching rule determines the filtering condition to be applied
+ to all items in a buffer. If no condition matches, default filter
+ is applied to the array of log events.
+
+ Array of log events to be post-filtered.
+
Sends log messages to a randomly selected target.
@@ -13563,12 +14066,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
@@ -13600,28 +14103,28 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
The repeat count.
-
-
- Forwards the log message to the by calling the method times.
-
- The log event.
-
Gets or sets the number of times to repeat each log message.
+
+
+ Forwards the log message to the by calling the method times.
+
+ The log event.
+
Retries in case of write error.
@@ -13644,23 +14147,17 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The wrapped target.
The retry count.
The retry delay milliseconds.
-
-
- Writes the specified log event to the wrapped target, retrying and pausing in case of an error.
-
- The log event.
-
Gets or sets the number of retries that should be attempted on the wrapped target in case of a failure.
@@ -13673,6 +14170,12 @@
+
+
+ Writes the specified log event to the wrapped target, retrying and pausing in case of an error.
+
+ The log event.
+
Distributes log events to targets in a round-robin fashion.
@@ -13696,12 +14199,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
@@ -13741,12 +14244,12 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The targets.
@@ -13764,16 +14267,145 @@
Logging events to be written out.
+
+
+ Base class for targets wrap other (single) targets.
+
+
+
+
+ Gets or sets the target that is wrapped by this target.
+
+
+
+
+
+ Returns the text representation of the object. Used for diagnostics.
+
+ A string that describes the target.
+
+
+
+ Flush any pending log messages (in case of asynchronous targets).
+
+ The asynchronous continuation.
+
+
+
+ Writes logging event to the log target. Must be overridden in inheriting
+ classes.
+
+ Logging event to be written out.
+
Current local time retrieved directly from DateTime.Now.
+
+
+ Gets current local time directly from DateTime.Now.
+
+
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to local time.
+
+
+
+
+ Current UTC time retrieved directly from DateTime.UtcNow.
+
+
+
+
+ Gets current UTC time directly from DateTime.UtcNow.
+
+
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to UTC time.
+
+
+
+
+ Fast time source that updates current time only once per tick (15.6 milliseconds).
+
+
+
+
+ Gets raw uncached time from derived time source.
+
+
+
+
+ Gets current time cached for one system tick (15.6 milliseconds).
+
+
+
+
+ Fast local time source that is updated once per tick (15.6 milliseconds).
+
+
+
+
+ Gets uncached local time directly from DateTime.Now.
+
+
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to local time.
+
+
+
+
+ Fast UTC time source that is updated once per tick (15.6 milliseconds).
+
+
+
+
+ Gets uncached UTC time directly from DateTime.UtcNow.
+
+
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to UTC time.
+
+
Defines source of current time.
+
+
+ Gets current time.
+
+
+
+
+ Gets or sets current global time source used in all log events.
+
+
+ Default time source is .
+
+
Returns a that represents this instance.
@@ -13807,105 +14439,6 @@
-
-
- Gets current time.
-
-
-
-
- Gets or sets current global time source used in all log events.
-
-
- Default time source is .
-
-
-
-
- Converts the specified system time to the same form as the time value originated from this time source.
-
- The system originated time value to convert.
-
- The value of converted to local time.
-
-
-
-
- Gets current local time directly from DateTime.Now.
-
-
-
-
- Current UTC time retrieved directly from DateTime.UtcNow.
-
-
-
-
- Converts the specified system time to the same form as the time value originated from this time source.
-
- The system originated time value to convert.
-
- The value of converted to UTC time.
-
-
-
-
- Gets current UTC time directly from DateTime.UtcNow.
-
-
-
-
- Fast time source that updates current time only once per tick (15.6 milliseconds).
-
-
-
-
- Gets raw uncached time from derived time source.
-
-
-
-
- Gets current time cached for one system tick (15.6 milliseconds).
-
-
-
-
- Fast local time source that is updated once per tick (15.6 milliseconds).
-
-
-
-
- Converts the specified system time to the same form as the time value originated from this time source.
-
- The system originated time value to convert.
-
- The value of converted to local time.
-
-
-
-
- Gets uncached local time directly from DateTime.Now.
-
-
-
-
- Fast UTC time source that is updated once per tick (15.6 milliseconds).
-
-
-
-
- Converts the specified system time to the same form as the time value originated from this time source.
-
- The system originated time value to convert.
-
- The value of converted to UTC time.
-
-
-
-
- Gets uncached UTC time directly from DateTime.UtcNow.
-
-
Marks class as a time source and assigns a name to it.
@@ -13913,9 +14446,25 @@
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
Name of the time source.
+
+
+ Define Localizable attribute for platforms that don't have it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Determines whether the target is localizable.
+
+
+
+ Gets or sets a value indicating whether the target is localizable.
+
+
diff --git a/app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nupkg b/app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nupkg
deleted file mode 100644
index 59d6a63..0000000
Binary files a/app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nupkg and /dev/null differ
diff --git a/app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nuspec b/app/packages/NLog.Config.4.2.3/NLog.Config.4.2.3.nuspec
similarity index 62%
rename from app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nuspec
rename to app/packages/NLog.Config.4.2.3/NLog.Config.4.2.3.nuspec
index 0b5d0d7..2df7fc6 100644
--- a/app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nuspec
+++ b/app/packages/NLog.Config.4.2.3/NLog.Config.4.2.3.nuspec
@@ -2,22 +2,22 @@
NLog.Config
- 4.1.2
+ 4.2.3
NLog Configuration
- Kim Christensen, Julian Verdurmen
- Kim Christensen, Julian Verdurmen
+ Kim Christensen, Julian Verdurmen
+ Kim Christensen, Julian Verdurmen
http://raw.github.com/NLog/NLog/master/LICENSE.txt
http://nlog-project.org/
http://nlog-project.org/NConfig.png
false
Empty NLog.config file.
- NLog.config file to get started with NLog.
- NLog 4.1.2
+ Empty NLog.config file for use with NLog.
+ NLog 4.2.3
en-US
nlog xml config
-
-
+
+
\ No newline at end of file
diff --git a/app/packages/NLog.Config.4.1.2/content/NLog.config b/app/packages/NLog.Config.4.2.3/content/NLog.config
similarity index 100%
rename from app/packages/NLog.Config.4.1.2/content/NLog.config
rename to app/packages/NLog.Config.4.2.3/content/NLog.config
diff --git a/app/packages/NLog.Config.4.1.2/tools/Install.ps1 b/app/packages/NLog.Config.4.2.3/tools/Install.ps1
similarity index 100%
rename from app/packages/NLog.Config.4.1.2/tools/Install.ps1
rename to app/packages/NLog.Config.4.2.3/tools/Install.ps1
diff --git a/app/packages/NLog.Schema.4.0.1/NLog.Schema.4.0.1.nupkg b/app/packages/NLog.Schema.4.0.1/NLog.Schema.4.0.1.nupkg
deleted file mode 100644
index 14fff40..0000000
Binary files a/app/packages/NLog.Schema.4.0.1/NLog.Schema.4.0.1.nupkg and /dev/null differ
diff --git a/app/packages/NLog.Schema.4.0.1/NLog.Schema.4.0.1.nuspec b/app/packages/NLog.Schema.4.2.3/NLog.Schema.4.2.3.nuspec
similarity index 82%
rename from app/packages/NLog.Schema.4.0.1/NLog.Schema.4.0.1.nuspec
rename to app/packages/NLog.Schema.4.2.3/NLog.Schema.4.2.3.nuspec
index 8ca658d..ab9612a 100644
--- a/app/packages/NLog.Schema.4.0.1/NLog.Schema.4.0.1.nuspec
+++ b/app/packages/NLog.Schema.4.2.3/NLog.Schema.4.2.3.nuspec
@@ -2,10 +2,10 @@
NLog.Schema
- 4.0.1
+ 4.2.3
NLog Schema for Intellisense(TM)
- Kim Christensen
- Kim Christensen
+ Kim Christensen, Julian Verdurmen
+ Kim Christensen, Julian Verdurmen
http://raw.github.com/NLog/NLog/master/LICENSE.txt
http://nlog-project.org/
http://nlog-project.org/NConfig.png
diff --git a/app/packages/NLog.Schema.4.0.1/content/NLog.xsd b/app/packages/NLog.Schema.4.2.3/content/NLog.xsd
similarity index 95%
rename from app/packages/NLog.Schema.4.0.1/content/NLog.xsd
rename to app/packages/NLog.Schema.4.2.3/content/NLog.xsd
index 85019de..a719741 100644
--- a/app/packages/NLog.Schema.4.0.1/content/NLog.xsd
+++ b/app/packages/NLog.Schema.4.2.3/content/NLog.xsd
@@ -366,18 +366,20 @@
+
-
-
+
+
+
-
+
-
+
@@ -405,36 +407,41 @@
Indicates whether to append newline at the end of log message.
+
+
+ Action that should be taken if the will be more connections than .
+
+
Action that should be taken if the message is larger than maxMessageSize.
-
-
- Size of the connection cache (number of connections which are kept alive).
-
-
-
-
- Network address.
-
-
Indicates whether to keep connection open whenever possible.
+
+
+ Size of the connection cache (number of connections which are kept alive).
+
+
+
+
+ Maximum current connections. 0 = no maximum.
+
+
+
+
+ Network address.
+
+
Maximum queue size.
-
-
- Indicates whether to include NLog-specific extensions to log4j schema.
-
-
Indicates whether to include source info (file name and line number) in the information sent over the network.
@@ -445,6 +452,11 @@
NDC item separator.
+
+
+ Indicates whether to include stack contents.
+
+
Indicates whether to include call site (class and method name) in the information sent over the network.
@@ -455,9 +467,9 @@
AppInfo field. By default it's the friendly name of the current AppDomain.
-
+
- Indicates whether to include stack contents.
+ Indicates whether to include NLog-specific extensions to log4j schema.
@@ -468,6 +480,13 @@
+
+
+
+
+
+
+
@@ -683,6 +702,7 @@
+
@@ -735,6 +755,11 @@
Indicates whether to keep the database connection open between the log events.
+
+
+ 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.
+
+
Connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.
@@ -961,31 +986,32 @@
-
+
-
-
+
-
-
-
-
-
+
+
+
-
-
+
+
+
+
+
+
@@ -1017,11 +1043,6 @@
Line ending mode.
-
-
- Maximum number of archive files that should be kept.
-
-
Way file archives are numbered.
@@ -1039,7 +1060,12 @@
- Size in bytes above which log files will be automatically archived.
+ 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:
+
+
+
+
+ Maximum number of archive files that should be kept.
@@ -1049,17 +1075,12 @@
- Gets ors set a value indicating whether a managed file stream is forced, instead of used the native implementation.
+ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation.
-
+
- File attributes (Windows only).
-
-
-
-
- Indicates whether to replace file contents on each write instead of appending log message at the end.
+ 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.
@@ -1082,34 +1103,24 @@
Indicates whether to create directories if they do not exist.
-
-
- Indicates whether to delete old log file on startup.
-
-
Indicates whether to enable log file(s) to be deleted.
-
+
- 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.
+ File attributes (Windows only).
-
+
- Indicates whether concurrent writes to the log file by multiple processes on different network hosts.
+ Indicates whether to delete old log file on startup.
-
+
- Maximum number of log filenames that should be stored as existing.
-
-
-
-
- Indicates whether to keep log file open instead of opening and closing it on each logging event.
+ Indicates whether to replace file contents on each write instead of appending log message at the end.
@@ -1117,19 +1128,19 @@
Indicates whether concurrent writes to the log file by multiple processes on the same host.
-
-
- Number of times the write is appended on the file before NLog discards the log message.
-
-
Delay in milliseconds to wait before attempting to write to the file again.
-
+
- Indicates whether to automatically flush the file buffers after each log message.
+ Maximum number of log filenames that should be stored as existing.
+
+
+
+
+ Indicates whether concurrent writes to the log file by multiple processes on different network hosts.
@@ -1137,11 +1148,31 @@
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).
+
+
+ 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.
+
+
Log file buffer size in bytes.
+
+
+ Indicates whether to automatically flush the file buffers after each log message.
+
+
+
+
+ Number of times the write is appended on the file before NLog discards the log message.
+
+
+
+
+ Indicates whether to keep log file open instead of opening and closing it on each logging event.
+
+
@@ -1366,9 +1397,9 @@
-
-
+
+
@@ -1382,6 +1413,8 @@
+
+
@@ -1418,9 +1451,9 @@
Indicates whether to add new lines between log entries.
-
+
- BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
+ CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
@@ -1428,9 +1461,9 @@
Recipients' email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
-
+
- CC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
+ BCC email addresses separated by semicolons (e.g. john@domain.com;jane@domain.com).
@@ -1498,6 +1531,16 @@
Indicates whether the default Settings from System.Net.MailSettings should be used.
+
+
+ Folder where applications save mail messages to be processed by the local SMTP server.
+
+
+
+
+ Specifies how outgoing email messages will be handled.
+
+
@@ -1508,6 +1551,13 @@
+
+
+
+
+
+
+
@@ -1626,10 +1676,12 @@
+
+
@@ -1657,6 +1709,11 @@
Indicates whether to append newline at the end of log message.
+
+
+ Action that should be taken if the will be more connections than .
+
+
Action that should be taken if the message is larger than maxMessageSize.
@@ -1677,6 +1734,11 @@
Indicates whether to keep connection open whenever possible.
+
+
+ Maximum current connections. 0 = no maximum.
+
+
Maximum queue size.
@@ -1694,18 +1756,20 @@
+
-
-
+
+
+
-
+
-
+
@@ -1733,36 +1797,41 @@
Indicates whether to append newline at the end of log message.
+
+
+ Action that should be taken if the will be more connections than .
+
+
Action that should be taken if the message is larger than maxMessageSize.
-
-
- Size of the connection cache (number of connections which are kept alive).
-
-
-
-
- Network address.
-
-
Indicates whether to keep connection open whenever possible.
+
+
+ Size of the connection cache (number of connections which are kept alive).
+
+
+
+
+ Maximum current connections. 0 = no maximum.
+
+
+
+
+ Network address.
+
+
Maximum queue size.
-
-
- Indicates whether to include NLog-specific extensions to log4j schema.
-
-
Indicates whether to include source info (file name and line number) in the information sent over the network.
@@ -1773,6 +1842,11 @@
NDC item separator.
+
+
+ Indicates whether to include stack contents.
+
+
Indicates whether to include call site (class and method name) in the information sent over the network.
@@ -1783,9 +1857,9 @@
AppInfo field. By default it's the friendly name of the current AppDomain.
-
+
- Indicates whether to include stack contents.
+ Indicates whether to include NLog-specific extensions to log4j schema.
@@ -1852,6 +1926,7 @@
+
@@ -1884,6 +1959,11 @@
Performance counter type.
+
+
+ The value by which to increment the counter.
+
+
Performance counter instance name.
@@ -2224,15 +2304,27 @@
+
+
+
+ Option to suppress the extra spaces in the output json
+
+
+
+
+
+ Determines wether or not this attribute will be Json encoded.
+
+
Layout that will be rendered as the attribute's value.