diff --git a/ArchiSteamFarm/packages.config b/ArchiSteamFarm/packages.config index d12689311..89c71218c 100644 --- a/ArchiSteamFarm/packages.config +++ b/ArchiSteamFarm/packages.config @@ -5,7 +5,7 @@ - + \ No newline at end of file diff --git a/GUI/packages.config b/GUI/packages.config index a35c84d9d..e7a28f604 100644 --- a/GUI/packages.config +++ b/GUI/packages.config @@ -5,7 +5,7 @@ - + diff --git a/packages/NLog.5.0.0-beta03/NLog.5.0.0-beta03.nupkg b/packages/NLog.5.0.0-beta03/NLog.5.0.0-beta03.nupkg deleted file mode 100644 index 1701c9e2c..000000000 Binary files a/packages/NLog.5.0.0-beta03/NLog.5.0.0-beta03.nupkg and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.dll b/packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.dll deleted file mode 100644 index c747e16b8..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/net35/NLog.dll b/packages/NLog.5.0.0-beta03/lib/net35/NLog.dll deleted file mode 100644 index a394dac9e..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/net35/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/net40/NLog.dll b/packages/NLog.5.0.0-beta03/lib/net40/NLog.dll deleted file mode 100644 index 6b710f5a4..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/net40/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/net45/NLog.dll b/packages/NLog.5.0.0-beta03/lib/net45/NLog.dll deleted file mode 100644 index 06e5314e6..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/net45/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.dll b/packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.dll deleted file mode 100644 index ccb9c16bd..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.dll b/packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.dll deleted file mode 100644 index 00bfcbabd..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/sl40/NLog.dll b/packages/NLog.5.0.0-beta03/lib/sl40/NLog.dll deleted file mode 100644 index 01a435139..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/sl40/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/sl50/NLog.dll b/packages/NLog.5.0.0-beta03/lib/sl50/NLog.dll deleted file mode 100644 index 746dcd4ab..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/sl50/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/wp80/NLog.dll b/packages/NLog.5.0.0-beta03/lib/wp80/NLog.dll deleted file mode 100644 index ff55f3a4b..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/wp80/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.dll b/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.dll deleted file mode 100644 index 66b1c238b..000000000 Binary files a/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta04/NLog.5.0.0-beta04.nupkg b/packages/NLog.5.0.0-beta04/NLog.5.0.0-beta04.nupkg new file mode 100644 index 000000000..1c35efe4b Binary files /dev/null and b/packages/NLog.5.0.0-beta04/NLog.5.0.0-beta04.nupkg differ diff --git a/packages/NLog.5.0.0-beta04/lib/monoandroid23/NLog.dll b/packages/NLog.5.0.0-beta04/lib/monoandroid23/NLog.dll new file mode 100644 index 000000000..1f3195db4 Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/monoandroid23/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.xml b/packages/NLog.5.0.0-beta04/lib/monoandroid23/NLog.xml similarity index 94% rename from packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/monoandroid23/NLog.xml index 6c8d404ae..15a2fe1bf 100644 --- a/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/monoandroid23/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1909,6 +1910,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1961,6 +1963,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2055,6 +2058,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2107,6 +2111,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2201,6 +2206,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2253,6 +2259,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2347,6 +2354,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2399,6 +2407,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2493,6 +2502,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2545,6 +2555,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2639,6 +2650,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2691,6 +2703,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3087,6 +3100,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3138,6 +3152,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3333,6 +3348,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3355,6 +3371,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -3364,6 +3385,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3410,6 +3432,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3524,18 +3547,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -3620,7 +3649,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -3665,6 +3694,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -3675,7 +3706,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -6110,6 +6144,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6142,6 +6177,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6322,6 +6358,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6350,6 +6387,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6468,6 +6506,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6496,6 +6535,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6614,6 +6654,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6642,6 +6683,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6760,6 +6802,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6788,6 +6831,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6906,6 +6950,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6934,6 +6979,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7052,6 +7098,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7080,6 +7127,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7430,6 +7478,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7468,6 +7517,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -7483,6 +7538,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7539,7 +7595,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -7690,6 +7746,7 @@ Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -7735,6 +7792,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -7900,6 +7958,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -7963,6 +8029,20 @@ The class name is null or is zero (0). + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -9186,6 +9266,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -9425,6 +9551,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -9443,6 +9576,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -9604,6 +9742,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -9780,6 +9943,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -9822,12 +9986,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -9849,6 +10014,8 @@ The target object. + when is + when is @@ -9981,6 +10148,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -10261,6 +10434,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -10306,6 +10484,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -10411,6 +10594,11 @@ This class is thread-safe..ToList() is used for that purpose. + + + Prefix for assets in Xamarin Android + + Initializes a new instance of the class. @@ -10559,6 +10747,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -11384,17 +11581,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -11422,16 +11619,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -11561,6 +11777,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -11662,14 +11879,47 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + Portable implementation of . + + + + + Initializes a new instance of the class. + + + + + Gets current thread ID. + + + + + + Gets current process name. + + + + + + Gets current process name (excluding filename extension, if any). + + + + + + Gets the name of the process. + + Reflection helpers for accessing properties. @@ -11701,6 +11951,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -11724,6 +11986,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -11847,6 +12124,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -11929,6 +12285,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -11941,6 +12303,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -11984,6 +12381,38 @@ A value that determines stack trace handling. + + + Returns details about current process and thread in a portable manner. + + + + + Initializes static members of the ThreadIDHelper class. + + + + + Gets the singleton instance of PortableThreadIDHelper or + Win32ThreadIDHelper depending on runtime environment. + + The instance. + + + + Gets current thread ID. + + + + + Gets current process name. + + + + + Gets current process name (excluding filename extension, if any). + + Helper for dealing with thread-local storage. @@ -12033,34 +12462,70 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding Win32-optimized implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + Win32-optimized implementation of . + + + + + Initializes a new instance of the class. + + + + + Gets current thread ID. + + + + + + Gets current process name. + + + + + + Gets current process name (excluding filename extension, if any). + + + Helper class for XML @@ -12071,6 +12536,13 @@ removes any unusual unicode characters that can't be encoded into XML + + + Cleans string of any invalid XML chars found + + unclean string + string with only valid XML chars + Safe version of WriteAttributeString @@ -12220,21 +12692,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -12242,12 +12717,6 @@ The file creation parameters. - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - Writes the specified bytes. @@ -12264,6 +12733,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12293,6 +12782,27 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + Implementation of which caches @@ -12316,6 +12826,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -12459,7 +12989,7 @@ - Gets or 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 using the native implementation. @@ -12514,6 +13044,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -12557,6 +13107,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -12629,11 +13199,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -13026,6 +13591,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -13152,6 +13723,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -13187,6 +13764,7 @@ Log event context data. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -13396,6 +13974,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -13649,6 +14256,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -13958,6 +14595,18 @@ The to append the rendered data to. Logging event. + + + The identifier of the current process. + + + + + Renders the current process ID. + + The to append the rendered data to. + Logging event. + The information about the running process. @@ -13974,6 +14623,12 @@ + + + Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) + + + Initializes the layout renderer. @@ -14191,6 +14846,24 @@ Working Set Size (64-bit). + + + The name of the current process. + + + + + Gets or sets a value indicating whether to write the full path to the process executable. + + + + + + Renders the current process name (optionally with a full path). + + The to append the rendered data to. + Logging event. + The process time in format HH:mm:ss.mmm. @@ -14211,6 +14884,61 @@ + + + High precision timer, based on the value returned from QueryPerformanceCounter() optionally converted to seconds. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to normalize the result by subtracting + it from the result of the first call (so that it's effectively zero-based). + + + + + + Gets or sets a value indicating whether to output the difference between the result + of QueryPerformanceCounter and the previous one. + + + + + + Gets or sets a value indicating whether to convert the result to seconds by dividing + by the result of QueryPerformanceFrequency(). + + + + + + Gets or sets the number of decimal digits to be included in output. + + + + + + Gets or sets a value indicating whether to align decimal point (emit non-significant zeros). + + + + + + Initializes the layout renderer. + + + + + Renders the ticks value of current time and appends it to the specified . + + The to append the rendered data to. + Logging event. + The short date in a sortable format yyyy-MM-dd. @@ -14943,6 +15671,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -15372,6 +16114,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -15492,6 +16244,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -15686,6 +16454,7 @@ Service contract for Log Receiver client. + This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -16455,6 +17224,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Action that should be taken if the message is greater than @@ -16902,7 +17701,7 @@ - Gets or 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 using the native implementation. @@ -17400,6 +18199,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -17725,7 +18538,7 @@ to initialize logging. - + Create mail and send with SMTP @@ -18365,6 +19178,50 @@ The logging event. + + + Outputs log messages through the OutputDebugString() Win32 API. + + 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} + + + + + Initializes a new instance of the class. + + + The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} + + Name of the target. + + + + Outputs the rendered logging event through the OutputDebugString() Win32 API. + + The logging event. + SMTP authentication modes. @@ -18518,6 +19375,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -18526,6 +19389,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -18533,6 +19402,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -18683,6 +19568,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -18709,6 +19604,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -18757,6 +19658,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -18777,16 +19709,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -18796,6 +19718,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Win32 file attributes. @@ -19073,6 +20003,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -19095,7 +20031,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -19111,6 +20048,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -19138,7 +20081,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -19403,6 +20347,189 @@ Log event. + + + Impersonates another user for the duration of the write. + + Documentation on NLog Wiki + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + Name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Gets or sets username to change context to. + + + + + + Gets or sets the user account password. + + + + + + Gets or sets Windows domain name to change context to. + + + + + + Gets or sets the Logon Type. + + + + + + Gets or sets the type of the logon provider. + + + + + + Gets or sets the required impersonation level. + + + + + + Gets or sets a value indicating whether to revert to the credentials of the process instead of impersonating another user. + + + + + + Initializes the impersonation context. + + + + + Closes the impersonation context. + + + + + Changes the security context, forwards the call to the .Write() + and switches the context back to original. + + The log event. + + + + Changes the security context, forwards the call to the .Write() + and switches the context back to original. + + Log events. + + + + Flush any pending log messages (in case of asynchronous targets). + + The asynchronous continuation. + + + + Helper class which reverts the given + to its original value as part of . + + + + + Initializes a new instance of the class. + + The windows impersonation context. + + + + Reverts the impersonation context. + + + + + Limits the number of messages written per timespan to the wrapped target. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. + + + + Gets or sets the maximum allowed number of messages written per . + + + Messages received after has been reached in the current will be discarded. + + + + + Gets or sets the interval in which messages will be written up to the number of messages. + + + Messages received after has been reached in the current will be discarded. + + + + + Gets the DateTime when the current will be reset. + + + + + Gets the number of written in the current . + + + + + Initializes the target and resets the current Interval and . + + + + + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + + Log event to be written out. + Logon provider. diff --git a/packages/NLog.5.0.0-beta04/lib/net35/NLog.dll b/packages/NLog.5.0.0-beta04/lib/net35/NLog.dll new file mode 100644 index 000000000..110a53573 Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/net35/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/net45/NLog.xml b/packages/NLog.5.0.0-beta04/lib/net35/NLog.xml similarity index 96% rename from packages/NLog.5.0.0-beta03/lib/net45/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/net35/NLog.xml index 070641d22..be9705363 100644 --- a/packages/NLog.5.0.0-beta03/lib/net45/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/net35/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1909,6 +1910,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1961,6 +1963,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2055,6 +2058,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2107,6 +2111,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2201,6 +2206,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2253,6 +2259,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2347,6 +2354,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2399,6 +2407,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2493,6 +2502,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2545,6 +2555,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2639,6 +2650,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2691,6 +2703,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3087,6 +3100,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3138,6 +3152,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3238,46 +3253,6 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - 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 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. - A task that completes in the state when completes. - - - - 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. - Represents the logging event. @@ -3373,6 +3348,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3395,6 +3371,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -3404,6 +3385,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3450,6 +3432,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3569,18 +3552,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -3665,7 +3654,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -3710,6 +3699,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -3720,7 +3711,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -6155,6 +6149,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6187,6 +6182,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6301,45 +6297,6 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - 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 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. - Gets a value indicating whether logging is enabled for the Trace level. @@ -6406,6 +6363,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6434,6 +6392,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6552,6 +6511,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6580,6 +6540,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6698,6 +6659,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6726,6 +6688,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6844,6 +6807,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6872,6 +6836,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6990,6 +6955,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7018,6 +6984,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7136,6 +7103,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7164,6 +7132,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7514,6 +7483,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7557,6 +7527,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -7572,6 +7548,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7628,7 +7605,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -7775,97 +7752,11 @@ 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. - - - - - Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). - In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. - - Must be true for any subsequent dictionary modification operation - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - If the value isn't a already, this call locks the for reading the needed for converting to . - - - - 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 . - If is null and the value isn't a already, this call locks the for reading the needed for converting to . - - - - 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. - - - - Returns all item names - - A collection of the names of all items in current logical context. - - - - 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. - - - - - Clears the content of current logical context. - - Free the full slot. - Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -7911,6 +7802,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -8076,6 +7968,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -8213,7 +8113,7 @@ - Flushes the output buffer. + Flushes the output (if is not true) buffer with the default timeout of 15 seconds. @@ -8303,6 +8203,20 @@ The related activity id. + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -9547,6 +9461,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -9800,6 +9760,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -9818,6 +9785,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -9979,6 +9951,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -10155,6 +10152,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -10197,12 +10195,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -10224,6 +10223,8 @@ The target object. + when is + when is @@ -10356,6 +10357,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -10660,6 +10667,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -10705,6 +10717,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -10964,6 +10981,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -11257,61 +11283,6 @@ - if the log event should be logged
. - - - 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. @@ -11448,31 +11419,22 @@ Index of the first user stack frame within the stack trace. current for chaining calls. - + 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. @@ -11529,11 +11491,6 @@ The logger to write the log event to. current for chaining calls. - - - Various helper methods for accessing state of ASP application. - - Helpers for . @@ -11870,17 +11827,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -11908,16 +11865,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -12057,6 +12033,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -12121,6 +12098,11 @@ we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' + + + 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. + + Scans (breadth-first) the object graph following all the edges whose are @@ -12196,12 +12178,12 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -12268,6 +12250,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -12291,6 +12285,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -12414,6 +12423,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -12496,6 +12584,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -12508,6 +12602,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -12632,32 +12761,40 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding Win32-optimized implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -12847,21 +12984,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -12869,12 +13009,6 @@ The file creation parameters. - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - Writes the specified bytes. @@ -12891,6 +13025,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12913,25 +13067,6 @@ Date and time when the last write occurred in UTC. - - - Creates a mutually-exclusive lock for archiving files. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex for archiving that is sharable by more than one process. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - Creates the file stream. @@ -12939,6 +13074,46 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex for archiving that is sharable by more than one process. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex that is sharable by more than one process. + + The prefix to use for the name of the mutex. + A object which is sharable by multiple processes. + Implementation of which caches @@ -12962,6 +13137,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -13115,7 +13310,7 @@ - Gets or 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 using the native implementation. @@ -13177,6 +13372,26 @@ Flushes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -13227,6 +13442,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -13276,6 +13511,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -13291,6 +13546,64 @@ Instance of which can be used to write to the file. + + + Provides a multiprocess-safe atomic file append while + keeping the files open. + + + + + Initializes a new instance of the class. + + Name of the file. + The parameters. + + + + Creates or opens a file in a special mode, so that writes are automatically + as atomic writes at the file end. + See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms. + + File to create or open + + + + Writes the specified bytes. + + The bytes to be written. + + + + Closes this instance. + + + + + Flushes this instance. + + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + + + + Factory class. + + + + + 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. + + Network sender which uses HTTP or HTTPS POST. @@ -13348,11 +13661,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -13613,14 +13921,6 @@ - - - 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. @@ -13634,19 +13934,6 @@ 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? (, - , ). - - - Designates a property of the class as an ambient property. @@ -13698,84 +13985,6 @@ - - - ASP Application variable. - - - - - Gets or sets the ASP Application variable name. - - - - - - Renders the specified ASP Application variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - ASP Request variable. - - - - - Gets or sets the item name. The QueryString, Form, Cookies, or ServerVariables collection variables having the specified name are rendered. - - - - - - Gets or sets the QueryString variable to be rendered. - - - - - - Gets or sets the form variable to be rendered. - - - - - - Gets or sets the cookie to be rendered. - - - - - - Gets or sets the ServerVariables item to be rendered. - - - - - - Renders the specified ASP Request variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - ASP Session variable. - - - - - Gets or sets the session variable name. - - - - - - Renders the specified ASP Session variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - Assembly version. @@ -13844,6 +14053,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -13970,6 +14185,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -14005,6 +14226,7 @@ Log event context data. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -14214,6 +14436,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -14467,6 +14718,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -14671,24 +14952,6 @@ The to append the rendered data to. Logging event. - - - Mapped Diagnostic Logical Context item (based on CallContext). - - - - - Gets or sets the name of the item. - - - - - - Renders the specified MDLC item and appends it to the specified . - - The to append the rendered data to. - Logging event. - The formatted log message. @@ -14868,6 +15131,12 @@ + + + Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) + + + Initializes the layout renderer. @@ -15211,12 +15480,6 @@ Default value wasn't a Layout before and needed an escape of the slash - - - Gets or sets the registry view (see: https://msdn.microsoft.com/de-de/library/microsoft.win32.registryview.aspx). - Allowed values: Registry32, Registry64, Default - - Gets or sets the registry key. @@ -15997,6 +16260,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -16426,6 +16703,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -16546,6 +16833,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -16768,6 +17071,7 @@ Service contract for Log Receiver client. + This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -16944,12 +17248,6 @@ Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. - - - Gets or sets the cookie container. - - The cookie container. - Implementation of which forwards received logs through or a given . @@ -17108,8 +17406,11 @@ Log Receiver Client using WCF. - This will be removed when ILogReceiverClient is removed. - This provides an implementation of the legacy interface. + This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. + + It provides an implementation of the legacy interface and it will be completely obsolete when the + ILogReceiverClient is removed. + @@ -17320,12 +17621,6 @@ Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. - - - Gets or sets the cookie container. - - The cookie container. - Completes an asynchronous operation to close a communication object. @@ -17483,12 +17778,6 @@ Occurs when Close operation has completed. - - - Gets or sets the cookie container. - - The cookie container. - Opens the client asynchronously. @@ -17677,41 +17966,6 @@ The most recent archive has the highest number (in combination with the date). - - - Outputs log messages through the ASP Response object. - - Documentation on NLog Wiki - - - - Gets or sets a value indicating whether to add <!-- --> comments around all written texts. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class with a name. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - Sends log messages to the remote instance of Chainsaw application from log4j. @@ -17756,7 +18010,7 @@ Documentation on NLog Wiki - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -18697,6 +18951,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Writes log message to the Event Log. @@ -19292,7 +19576,12 @@ - Gets or 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 using the native implementation. + + + + + Gets or sets a value indicationg whether file creation calls should be synchronized by a system global mutex. @@ -19790,6 +20079,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -20018,7 +20321,7 @@ Inheritors can override this method and provide their own service configuration - binding and endpoint address - + This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -20233,7 +20536,7 @@ to initialize logging. - + Create mail and send with SMTP @@ -21188,6 +21491,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -21196,6 +21505,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -21203,6 +21518,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -21353,6 +21684,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -21379,6 +21720,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -21427,6 +21774,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -21447,16 +21825,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -21466,6 +21834,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Win32 file attributes. @@ -21555,19 +21931,6 @@ A file is accessed according to POSIX rules. - - - Builtin IFileCompressor implementation utilizing the .Net4.5 specific - and is used as the default value for on .Net4.5. - So log files created via can be zipped when archived - w/o 3rd party zip library when run on .Net4.5 or higher. - - - - - Implements using the .Net4.5 specific - - Asynchronous request queue. @@ -21756,6 +22119,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -21778,7 +22147,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -21794,6 +22164,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -21821,7 +22197,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -22199,6 +22576,76 @@ Reverts the impersonation context. + + + Limits the number of messages written per timespan to the wrapped target. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. + + + + Gets or sets the maximum allowed number of messages written per . + + + Messages received after has been reached in the current will be discarded. + + + + + Gets or sets the interval in which messages will be written up to the number of messages. + + + Messages received after has been reached in the current will be discarded. + + + + + Gets the DateTime when the current will be reset. + + + + + Gets the number of written in the current . + + + + + Initializes the target and resets the current Interval and . + + + + + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + + Log event to be written out. + Logon provider. diff --git a/packages/NLog.5.0.0-beta04/lib/net40/NLog.dll b/packages/NLog.5.0.0-beta04/lib/net40/NLog.dll new file mode 100644 index 000000000..4c7c10547 Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/net40/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/net40/NLog.xml b/packages/NLog.5.0.0-beta04/lib/net40/NLog.xml similarity index 95% rename from packages/NLog.5.0.0-beta03/lib/net40/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/net40/NLog.xml index 9ace24b9b..d5de7efb4 100644 --- a/packages/NLog.5.0.0-beta03/lib/net40/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/net40/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1909,6 +1910,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1961,6 +1963,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2055,6 +2058,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2107,6 +2111,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2201,6 +2206,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2253,6 +2259,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2347,6 +2354,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2399,6 +2407,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2493,6 +2502,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2545,6 +2555,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2639,6 +2650,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2691,6 +2703,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3087,6 +3100,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3138,6 +3152,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3333,6 +3348,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3355,6 +3371,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -3364,6 +3385,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3410,6 +3432,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3529,18 +3552,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -3625,7 +3654,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -3670,6 +3699,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -3680,7 +3711,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -6115,6 +6149,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6147,6 +6182,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6327,6 +6363,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6355,6 +6392,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6473,6 +6511,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6501,6 +6540,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6619,6 +6659,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6647,6 +6688,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6765,6 +6807,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6793,6 +6836,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6911,6 +6955,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6939,6 +6984,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7057,6 +7103,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7085,6 +7132,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7435,6 +7483,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7478,6 +7527,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -7493,6 +7548,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7549,7 +7605,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -7787,6 +7843,7 @@ Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -7832,6 +7889,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -7997,6 +8055,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -8134,7 +8200,7 @@ - Flushes the output buffer. + Flushes the output (if is not true) buffer with the default timeout of 15 seconds. @@ -8224,6 +8290,20 @@ The related activity id. + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -9468,6 +9548,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -9721,6 +9847,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -9739,6 +9872,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -9900,6 +10038,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -10076,6 +10239,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -10118,12 +10282,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -10145,6 +10310,8 @@ The target object. + when is + when is @@ -10277,6 +10444,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -10581,6 +10754,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -10626,6 +10804,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -10885,6 +11068,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -11386,11 +11578,6 @@ The logger to write the log event to. current for chaining calls. - - - Various helper methods for accessing state of ASP application. - - Helpers for . @@ -11727,17 +11914,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -11765,16 +11952,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -11914,6 +12120,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -12053,12 +12260,12 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -12125,6 +12332,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -12148,6 +12367,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -12271,6 +12505,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -12353,6 +12666,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -12365,6 +12684,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -12489,32 +12843,40 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding Win32-optimized implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -12555,6 +12917,13 @@ removes any unusual unicode characters that can't be encoded into XML + + + Cleans string of any invalid XML chars found + + unclean string + string with only valid XML chars + Safe version of WriteAttributeString @@ -12704,21 +13073,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -12726,12 +13098,6 @@ The file creation parameters. - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - Writes the specified bytes. @@ -12748,6 +13114,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12770,25 +13156,6 @@ Date and time when the last write occurred in UTC. - - - Creates a mutually-exclusive lock for archiving files. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex for archiving that is sharable by more than one process. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - Creates the file stream. @@ -12796,6 +13163,46 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex for archiving that is sharable by more than one process. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex that is sharable by more than one process. + + The prefix to use for the name of the mutex. + A object which is sharable by multiple processes. + Implementation of which caches @@ -12819,6 +13226,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -12972,7 +13399,7 @@ - Gets or 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 using the native implementation. @@ -13034,6 +13461,26 @@ Flushes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -13084,6 +13531,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -13133,6 +13600,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -13148,6 +13635,64 @@ Instance of which can be used to write to the file. + + + Provides a multiprocess-safe atomic file append while + keeping the files open. + + + + + Initializes a new instance of the class. + + Name of the file. + The parameters. + + + + Creates or opens a file in a special mode, so that writes are automatically + as atomic writes at the file end. + See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms. + + File to create or open + + + + Writes the specified bytes. + + The bytes to be written. + + + + Closes this instance. + + + + + Flushes this instance. + + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + + + + Factory class. + + + + + 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. + + Network sender which uses HTTP or HTTPS POST. @@ -13205,11 +13750,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -13534,84 +14074,6 @@ - - - ASP Application variable. - - - - - Gets or sets the ASP Application variable name. - - - - - - Renders the specified ASP Application variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - ASP Request variable. - - - - - Gets or sets the item name. The QueryString, Form, Cookies, or ServerVariables collection variables having the specified name are rendered. - - - - - - Gets or sets the QueryString variable to be rendered. - - - - - - Gets or sets the form variable to be rendered. - - - - - - Gets or sets the cookie to be rendered. - - - - - - Gets or sets the ServerVariables item to be rendered. - - - - - - Renders the specified ASP Request variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - ASP Session variable. - - - - - Gets or sets the session variable name. - - - - - - Renders the specified ASP Session variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - Assembly version. @@ -13680,6 +14142,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -13806,6 +14274,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -13841,6 +14315,7 @@ Log event context data. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -14050,6 +14525,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -14303,6 +14807,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -14704,6 +15238,12 @@ + + + Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) + + + Initializes the layout renderer. @@ -15833,6 +16373,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -16262,6 +16816,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -16382,6 +16946,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -16604,6 +17184,7 @@ Service contract for Log Receiver client. + This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -16938,8 +17519,11 @@ Log Receiver Client using WCF. - This will be removed when ILogReceiverClient is removed. - This provides an implementation of the legacy interface. + This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. + + It provides an implementation of the legacy interface and it will be completely obsolete when the + ILogReceiverClient is removed. + @@ -17495,41 +18079,6 @@ The most recent archive has the highest number (in combination with the date). - - - Outputs log messages through the ASP Response object. - - Documentation on NLog Wiki - - - - Gets or sets a value indicating whether to add <!-- --> comments around all written texts. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class with a name. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - Sends log messages to the remote instance of Chainsaw application from log4j. @@ -17574,7 +18123,7 @@ Documentation on NLog Wiki - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -18515,6 +19064,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Writes log message to the Event Log. @@ -19110,7 +19689,12 @@ - Gets or 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 using the native implementation. + + + + + Gets or sets a value indicationg whether file creation calls should be synchronized by a system global mutex. @@ -19608,6 +20192,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -19836,7 +20434,7 @@ Inheritors can override this method and provide their own service configuration - binding and endpoint address - + This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -20051,7 +20649,7 @@ to initialize logging. - + Create mail and send with SMTP @@ -21006,6 +21604,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -21014,6 +21618,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -21021,6 +21631,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -21171,6 +21797,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -21197,6 +21833,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -21245,6 +21887,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -21265,16 +21938,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -21284,6 +21947,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Win32 file attributes. @@ -21561,6 +22232,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -21583,7 +22260,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -21599,6 +22277,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -21626,7 +22310,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -22004,6 +22689,76 @@ Reverts the impersonation context. + + + Limits the number of messages written per timespan to the wrapped target. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. + + + + Gets or sets the maximum allowed number of messages written per . + + + Messages received after has been reached in the current will be discarded. + + + + + Gets or sets the interval in which messages will be written up to the number of messages. + + + Messages received after has been reached in the current will be discarded. + + + + + Gets the DateTime when the current will be reset. + + + + + Gets the number of written in the current . + + + + + Initializes the target and resets the current Interval and . + + + + + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + + Log event to be written out. + Logon provider. diff --git a/packages/NLog.5.0.0-beta04/lib/net45/NLog.dll b/packages/NLog.5.0.0-beta04/lib/net45/NLog.dll new file mode 100644 index 000000000..f72b1485a Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/net45/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/net35/NLog.xml b/packages/NLog.5.0.0-beta04/lib/net45/NLog.xml similarity index 94% rename from packages/NLog.5.0.0-beta03/lib/net35/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/net45/NLog.xml index 1d68a0d22..1b2fc199f 100644 --- a/packages/NLog.5.0.0-beta03/lib/net35/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/net45/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1909,6 +1910,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1961,6 +1963,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2055,6 +2058,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2107,6 +2111,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2201,6 +2206,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2253,6 +2259,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2347,6 +2354,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2399,6 +2407,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2493,6 +2502,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2545,6 +2555,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2639,6 +2650,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2691,6 +2703,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3087,6 +3100,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3138,6 +3152,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3238,6 +3253,46 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Logs an exception is logged at Error level if the provided task does not run to completion. + + The task for which to log an error if it does not run to completion. + This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. + + + + 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 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. + A task that completes in the state when completes. + + + + 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. + Represents the logging event. @@ -3333,6 +3388,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3355,6 +3411,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -3364,6 +3425,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3410,6 +3472,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3529,18 +3592,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -3625,7 +3694,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -3670,6 +3739,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -3680,7 +3751,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -6115,6 +6189,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6147,6 +6222,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6261,6 +6337,45 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Logs an exception is logged at Error level if the provided task does not run to completion. + + The task for which to log an error if it does not run to completion. + This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. + + + + 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 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. + Gets a value indicating whether logging is enabled for the Trace level. @@ -6327,6 +6442,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6355,6 +6471,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6473,6 +6590,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6501,6 +6619,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6619,6 +6738,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6647,6 +6767,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6765,6 +6886,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6793,6 +6915,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6911,6 +7034,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6939,6 +7063,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7057,6 +7182,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7085,6 +7211,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7435,6 +7562,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7478,6 +7606,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -7493,6 +7627,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7549,7 +7684,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -7696,10 +7831,98 @@ 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. + + + + + Simulate ImmutableDictionary behavior (which is not yet part of all .NET frameworks). + In future the real ImmutableDictionary could be used here to minimize memory usage and copying time. + + Must be true for any subsequent dictionary modification operation + + + + + Gets the current logical context named item, as . + + Item name. + The value of , if defined; otherwise . + If the value isn't a already, this call locks the for reading the needed for converting to . + + + + 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 . + If is null and the value isn't a already, this call locks the for reading the needed for converting to . + + + + 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. + + + + Returns all item names + + A collection of the names of all items in current logical context. + + + + 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. + + + + + Clears the content of current logical context. + + Free the full slot. + Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -7745,6 +7968,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -7910,6 +8134,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -8047,7 +8279,7 @@ - Flushes the output buffer. + Flushes the output (if is not true) buffer with the default timeout of 15 seconds. @@ -8137,6 +8369,20 @@ The related activity id. + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -9381,6 +9627,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -9634,6 +9926,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -9652,6 +9951,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -9813,6 +10117,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -9989,6 +10318,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -10031,12 +10361,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -10058,6 +10389,8 @@ The target object. + when is + when is @@ -10190,6 +10523,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -10494,6 +10833,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -10539,6 +10883,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -10798,6 +11147,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -11091,6 +11449,61 @@ - if the log event should be logged
. + + + 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. @@ -11227,22 +11640,31 @@ Index of the first user stack frame within the stack trace. current for chaining calls. - + 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. @@ -11299,11 +11721,6 @@ The logger to write the log event to. current for chaining calls. - - - Various helper methods for accessing state of ASP application. - - Helpers for . @@ -11640,17 +12057,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -11678,16 +12095,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -11827,6 +12263,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -11891,11 +12328,6 @@ we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead' - - - 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. - - Scans (breadth-first) the object graph following all the edges whose are @@ -11971,12 +12403,12 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -12043,6 +12475,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -12066,6 +12510,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -12189,6 +12648,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -12271,6 +12809,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -12283,6 +12827,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -12407,32 +12986,40 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding Win32-optimized implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -12473,6 +13060,13 @@ removes any unusual unicode characters that can't be encoded into XML + + + Cleans string of any invalid XML chars found + + unclean string + string with only valid XML chars + Safe version of WriteAttributeString @@ -12622,21 +13216,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -12644,12 +13241,6 @@ The file creation parameters. - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - Writes the specified bytes. @@ -12666,6 +13257,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12688,25 +13299,6 @@ Date and time when the last write occurred in UTC. - - - Creates a mutually-exclusive lock for archiving files. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex for archiving that is sharable by more than one process. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - Creates the file stream. @@ -12714,6 +13306,46 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex for archiving that is sharable by more than one process. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex that is sharable by more than one process. + + The prefix to use for the name of the mutex. + A object which is sharable by multiple processes. + Implementation of which caches @@ -12737,6 +13369,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -12890,7 +13542,7 @@ - Gets or 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 using the native implementation. @@ -12952,6 +13604,26 @@ Flushes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -13002,6 +13674,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -13051,6 +13743,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -13066,6 +13778,64 @@ Instance of which can be used to write to the file. + + + Provides a multiprocess-safe atomic file append while + keeping the files open. + + + + + Initializes a new instance of the class. + + Name of the file. + The parameters. + + + + Creates or opens a file in a special mode, so that writes are automatically + as atomic writes at the file end. + See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms. + + File to create or open + + + + Writes the specified bytes. + + The bytes to be written. + + + + Closes this instance. + + + + + Flushes this instance. + + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + + + + Factory class. + + + + + 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. + + Network sender which uses HTTP or HTTPS POST. @@ -13123,11 +13893,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -13388,6 +14153,14 @@ + + + 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. @@ -13401,6 +14174,19 @@ 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? (, + , ). + + + Designates a property of the class as an ambient property. @@ -13452,84 +14238,6 @@ - - - ASP Application variable. - - - - - Gets or sets the ASP Application variable name. - - - - - - Renders the specified ASP Application variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - ASP Request variable. - - - - - Gets or sets the item name. The QueryString, Form, Cookies, or ServerVariables collection variables having the specified name are rendered. - - - - - - Gets or sets the QueryString variable to be rendered. - - - - - - Gets or sets the form variable to be rendered. - - - - - - Gets or sets the cookie to be rendered. - - - - - - Gets or sets the ServerVariables item to be rendered. - - - - - - Renders the specified ASP Request variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - ASP Session variable. - - - - - Gets or sets the session variable name. - - - - - - Renders the specified ASP Session variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - Assembly version. @@ -13598,6 +14306,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -13724,6 +14438,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -13759,6 +14479,7 @@ Log event context data. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -13968,6 +14689,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -14221,6 +14971,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -14425,6 +15205,24 @@ The to append the rendered data to. Logging event. + + + Mapped Diagnostic Logical Context item (based on CallContext). + + + + + Gets or sets the name of the item. + + + + + + Renders the specified MDLC item and appends it to the specified . + + The to append the rendered data to. + Logging event. + The formatted log message. @@ -14604,6 +15402,12 @@ + + + Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) + + + Initializes the layout renderer. @@ -14947,6 +15751,12 @@ Default value wasn't a Layout before and needed an escape of the slash + + + Gets or sets the registry view (see: https://msdn.microsoft.com/de-de/library/microsoft.win32.registryview.aspx). + Allowed values: Registry32, Registry64, Default + + Gets or sets the registry key. @@ -15727,6 +16537,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -16156,6 +16980,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -16276,6 +17110,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -16498,6 +17348,7 @@ Service contract for Log Receiver client. + This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -16674,6 +17525,12 @@ Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. + + + Gets or sets the cookie container. + + The cookie container. + Implementation of which forwards received logs through or a given . @@ -16832,8 +17689,11 @@ Log Receiver Client using WCF. - This will be removed when ILogReceiverClient is removed. - This provides an implementation of the legacy interface. + This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. + + It provides an implementation of the legacy interface and it will be completely obsolete when the + ILogReceiverClient is removed. + @@ -17044,6 +17904,12 @@ Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it. + + + Gets or sets the cookie container. + + The cookie container. + Completes an asynchronous operation to close a communication object. @@ -17201,6 +18067,12 @@ Occurs when Close operation has completed. + + + Gets or sets the cookie container. + + The cookie container. + Opens the client asynchronously. @@ -17389,41 +18261,6 @@ The most recent archive has the highest number (in combination with the date). - - - Outputs log messages through the ASP Response object. - - Documentation on NLog Wiki - - - - Gets or sets a value indicating whether to add <!-- --> comments around all written texts. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class with a name. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - Sends log messages to the remote instance of Chainsaw application from log4j. @@ -17468,7 +18305,7 @@ Documentation on NLog Wiki - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -18409,6 +19246,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Writes log message to the Event Log. @@ -19004,7 +19871,12 @@ - Gets or 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 using the native implementation. + + + + + Gets or sets a value indicationg whether file creation calls should be synchronized by a system global mutex. @@ -19502,6 +20374,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -19730,7 +20616,7 @@ Inheritors can override this method and provide their own service configuration - binding and endpoint address - + This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -19945,7 +20831,7 @@ to initialize logging. - + Create mail and send with SMTP @@ -20900,6 +21786,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -20908,6 +21800,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -20915,6 +21813,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -21065,6 +21979,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -21091,6 +22015,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -21139,6 +22069,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -21159,16 +22120,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -21178,6 +22129,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Win32 file attributes. @@ -21267,6 +22226,19 @@ A file is accessed according to POSIX rules. + + + Builtin IFileCompressor implementation utilizing the .Net4.5 specific + and is used as the default value for on .Net4.5. + So log files created via can be zipped when archived + w/o 3rd party zip library when run on .Net4.5 or higher. + + + + + Implements using the .Net4.5 specific + + Asynchronous request queue. @@ -21455,6 +22427,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -21477,7 +22455,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -21493,6 +22472,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -21520,7 +22505,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -21898,6 +22884,76 @@ Reverts the impersonation context. + + + Limits the number of messages written per timespan to the wrapped target. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. + + + + Gets or sets the maximum allowed number of messages written per . + + + Messages received after has been reached in the current will be discarded. + + + + + Gets or sets the interval in which messages will be written up to the number of messages. + + + Messages received after has been reached in the current will be discarded. + + + + + Gets the DateTime when the current will be reset. + + + + + Gets the number of written in the current . + + + + + Initializes the target and resets the current Interval and . + + + + + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + + Log event to be written out. + Logon provider. diff --git a/packages/NLog.5.0.0-beta04/lib/netstandard1.3/NLog.dll b/packages/NLog.5.0.0-beta04/lib/netstandard1.3/NLog.dll new file mode 100644 index 000000000..31b55e10c Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/netstandard1.3/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.xml b/packages/NLog.5.0.0-beta04/lib/netstandard1.3/NLog.xml similarity index 95% rename from packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/netstandard1.3/NLog.xml index 893e52e07..20d93ed6d 100644 --- a/packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/netstandard1.3/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1909,6 +1910,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1961,6 +1963,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2055,6 +2058,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2107,6 +2111,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2201,6 +2206,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2253,6 +2259,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2347,6 +2354,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2399,6 +2407,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2493,6 +2502,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2545,6 +2555,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2639,6 +2650,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2691,6 +2703,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3087,6 +3100,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3138,6 +3152,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3373,6 +3388,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3395,6 +3411,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -3404,6 +3425,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3450,6 +3472,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3564,18 +3587,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -3641,7 +3670,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -3686,6 +3715,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -3696,7 +3727,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -6131,6 +6165,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6163,6 +6198,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6382,6 +6418,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6410,6 +6447,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6528,6 +6566,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6556,6 +6595,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6674,6 +6714,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6702,6 +6743,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6820,6 +6862,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6848,6 +6891,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6966,6 +7010,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6994,6 +7039,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7112,6 +7158,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7140,6 +7187,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7490,6 +7538,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7528,6 +7577,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -7543,6 +7598,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7600,7 +7656,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -7745,6 +7801,7 @@ Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -7790,6 +7847,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -7955,6 +8013,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -7992,6 +8058,20 @@ The message. The inner exception. + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -9205,6 +9285,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -9444,6 +9570,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -9462,6 +9595,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -9623,6 +9761,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -9794,6 +9957,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -9836,12 +10000,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -9863,6 +10028,8 @@ The target object. + when is + when is @@ -9995,6 +10162,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -10299,6 +10472,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -10344,6 +10522,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -10584,6 +10767,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -11465,17 +11657,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -11498,16 +11690,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -11593,6 +11804,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -11723,12 +11935,12 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -11762,6 +11974,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -11785,6 +12009,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -11908,6 +12147,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -11989,6 +12307,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -12001,6 +12325,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -12093,32 +12452,40 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding Win32-optimized implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -12229,21 +12596,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -12251,12 +12621,6 @@ The file creation parameters. - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - Writes the specified bytes. @@ -12273,6 +12637,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12295,25 +12679,6 @@ Date and time when the last write occurred in UTC. - - - Creates a mutually-exclusive lock for archiving files. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex for archiving that is sharable by more than one process. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - Creates the file stream. @@ -12321,6 +12686,46 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex for archiving that is sharable by more than one process. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex that is sharable by more than one process. + + The prefix to use for the name of the mutex. + A object which is sharable by multiple processes. + Implementation of which caches @@ -12344,6 +12749,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -12487,7 +12912,7 @@ - Gets or 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 using the native implementation. @@ -12549,6 +12974,26 @@ Flushes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -12599,6 +13044,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -12648,6 +13113,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -12720,11 +13205,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -13013,10 +13493,10 @@ - - Also render the call attributes? (, - , ). - + + Also render the call attributes? (, + , ). + @@ -13079,6 +13559,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -13205,6 +13691,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -13240,6 +13732,7 @@ Log event context data. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -13456,6 +13949,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -13667,6 +14189,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -13836,23 +14388,6 @@ The to append the rendered data to. Logging event. - - - The machine name that the process is running on. - - - - - Initializes the layout renderer. - - - - - Renders the machine name and appends it to the specified . - - The to append the rendered data to. - Logging event. - Mapped Diagnostic Context item. Provided for compatibility with log4net. @@ -14803,6 +15338,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -15232,6 +15781,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -15352,6 +15911,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -15576,7 +16151,7 @@ Documentation on NLog Wiki - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -16463,6 +17038,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Action that should be taken if the message is greater than @@ -16910,7 +17515,12 @@ - Gets or 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 using the native implementation. + + + + + Gets or sets a value indicationg whether file creation calls should be synchronized by a system global mutex. @@ -17408,6 +18018,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -18144,6 +18768,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -18152,6 +18782,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -18159,6 +18795,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -18262,6 +18914,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -18288,6 +18950,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -18336,6 +19004,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -18356,16 +19055,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -18375,6 +19064,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Win32 file attributes. @@ -18665,6 +19362,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -18687,7 +19390,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -18703,6 +19407,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -18730,7 +19440,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -18995,6 +19706,76 @@ Log event. + + + Limits the number of messages written per timespan to the wrapped target. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. + + + + Gets or sets the maximum allowed number of messages written per . + + + Messages received after has been reached in the current will be discarded. + + + + + Gets or sets the interval in which messages will be written up to the number of messages. + + + Messages received after has been reached in the current will be discarded. + + + + + Gets the DateTime when the current will be reset. + + + + + Gets the number of written in the current . + + + + + Initializes the target and resets the current Interval and . + + + + + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + + Log event to be written out. + Logon provider. diff --git a/packages/NLog.5.0.0-beta04/lib/netstandard1.5/NLog.dll b/packages/NLog.5.0.0-beta04/lib/netstandard1.5/NLog.dll new file mode 100644 index 000000000..5379edbe0 Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/netstandard1.5/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.xml b/packages/NLog.5.0.0-beta04/lib/netstandard1.5/NLog.xml similarity index 95% rename from packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/netstandard1.5/NLog.xml index cb3f0efaf..e61b3ea9d 100644 --- a/packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/netstandard1.5/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1909,6 +1910,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1961,6 +1963,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2055,6 +2058,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2107,6 +2111,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2201,6 +2206,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2253,6 +2259,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2347,6 +2354,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2399,6 +2407,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2493,6 +2502,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2545,6 +2555,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2639,6 +2650,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2691,6 +2703,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3087,6 +3100,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3138,6 +3152,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3373,6 +3388,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3395,6 +3411,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -3404,6 +3425,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3450,6 +3472,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3564,18 +3587,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -3641,7 +3670,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -3686,6 +3715,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -3696,7 +3727,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -6131,6 +6165,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6163,6 +6198,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6382,6 +6418,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6410,6 +6447,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6528,6 +6566,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6556,6 +6595,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6674,6 +6714,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6702,6 +6743,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6820,6 +6862,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6848,6 +6891,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6966,6 +7010,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6994,6 +7039,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7112,6 +7158,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7140,6 +7187,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7490,6 +7538,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7528,6 +7577,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -7543,6 +7598,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7600,7 +7656,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -7745,6 +7801,7 @@ Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -7790,6 +7847,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -7955,6 +8013,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -7992,6 +8058,20 @@ The message. The inner exception. + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -9205,6 +9285,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -9444,6 +9570,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -9462,6 +9595,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -9623,6 +9761,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -9794,6 +9957,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -9836,12 +10000,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -9863,6 +10028,8 @@ The target object. + when is + when is @@ -9995,6 +10162,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -10299,6 +10472,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -10344,6 +10522,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -10584,6 +10767,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -11465,17 +11657,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -11498,16 +11690,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -11593,6 +11804,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -11723,12 +11935,12 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -11762,6 +11974,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -11785,6 +12009,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -11908,6 +12147,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -11989,6 +12307,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -12001,6 +12325,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -12093,32 +12452,40 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding Win32-optimized implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -12229,21 +12596,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -12251,12 +12621,6 @@ The file creation parameters. - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - Writes the specified bytes. @@ -12273,6 +12637,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12295,25 +12679,6 @@ Date and time when the last write occurred in UTC. - - - Creates a mutually-exclusive lock for archiving files. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex for archiving that is sharable by more than one process. - - A object which can be used for controlling the archiving of files. - - - - Creates a mutex that is sharable by more than one process. - - The prefix to use for the name of the mutex. - A object which is sharable by multiple processes. - Creates the file stream. @@ -12321,6 +12686,46 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex for archiving that is sharable by more than one process. + + A object which can be used for controlling the archiving of files. + + + + Creates a mutex that is sharable by more than one process. + + The prefix to use for the name of the mutex. + A object which is sharable by multiple processes. + Implementation of which caches @@ -12344,6 +12749,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -12487,7 +12912,7 @@ - Gets or 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 using the native implementation. @@ -12549,6 +12974,26 @@ Flushes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -12599,6 +13044,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Creates a mutually-exclusive lock for archiving files. @@ -12648,6 +13113,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -12720,11 +13205,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -13013,10 +13493,10 @@ - - Also render the call attributes? (, - , ). - + + Also render the call attributes? (, + , ). + @@ -13079,6 +13559,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -13205,6 +13691,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -13240,6 +13732,7 @@ Log event context data. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -13456,6 +13949,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -13667,6 +14189,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -13836,6 +14388,23 @@ The to append the rendered data to. Logging event. + + + The machine name that the process is running on. + + + + + Initializes the layout renderer. + + + + + Renders the machine name and appends it to the specified . + + The to append the rendered data to. + Logging event. + Mapped Diagnostic Context item. Provided for compatibility with log4net. @@ -14786,6 +15355,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -15215,6 +15798,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -15335,6 +15928,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -15559,7 +16168,7 @@ Documentation on NLog Wiki - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -16446,6 +17055,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Action that should be taken if the message is greater than @@ -16893,7 +17532,12 @@ - Gets or 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 using the native implementation. + + + + + Gets or sets a value indicationg whether file creation calls should be synchronized by a system global mutex. @@ -17391,6 +18035,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -18127,6 +18785,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -18135,6 +18799,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -18142,6 +18812,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -18245,6 +18931,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -18271,6 +18967,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -18319,6 +19021,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -18339,16 +19072,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -18358,6 +19081,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Win32 file attributes. @@ -18648,6 +19379,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -18670,7 +19407,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -18686,6 +19424,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -18713,7 +19457,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -18978,6 +19723,76 @@ Log event. + + + Limits the number of messages written per timespan to the wrapped target. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. + + + + Gets or sets the maximum allowed number of messages written per . + + + Messages received after has been reached in the current will be discarded. + + + + + Gets or sets the interval in which messages will be written up to the number of messages. + + + Messages received after has been reached in the current will be discarded. + + + + + Gets the DateTime when the current will be reset. + + + + + Gets the number of written in the current . + + + + + Initializes the target and resets the current Interval and . + + + + + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + + Log event to be written out. + Logon provider. diff --git a/packages/NLog.5.0.0-beta04/lib/sl40/NLog.dll b/packages/NLog.5.0.0-beta04/lib/sl40/NLog.dll new file mode 100644 index 000000000..97e33564a Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/sl40/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/sl50/NLog.xml b/packages/NLog.5.0.0-beta04/lib/sl40/NLog.xml similarity index 94% rename from packages/NLog.5.0.0-beta03/lib/sl50/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/sl40/NLog.xml index 6b02b530b..149187a95 100644 --- a/packages/NLog.5.0.0-beta03/lib/sl50/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/sl40/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -556,6 +557,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -608,6 +610,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -702,6 +705,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -754,6 +758,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -848,6 +853,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -900,6 +906,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -994,6 +1001,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1046,6 +1054,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1140,6 +1149,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1192,6 +1202,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1286,6 +1297,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1338,6 +1350,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1476,6 +1489,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1527,6 +1541,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1722,6 +1737,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1744,6 +1760,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -1753,6 +1774,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1799,6 +1821,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1913,18 +1936,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -2035,6 +2064,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -2045,7 +2076,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -2872,6 +2906,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2904,6 +2939,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3084,6 +3120,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3112,6 +3149,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3230,6 +3268,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3258,6 +3297,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3376,6 +3416,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3404,6 +3445,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3522,6 +3564,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3550,6 +3593,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3668,6 +3712,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3696,6 +3741,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3814,6 +3860,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3842,6 +3889,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -4192,6 +4240,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -4225,6 +4274,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -4240,6 +4295,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -4430,6 +4486,7 @@ Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -4475,6 +4532,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -4640,6 +4698,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -4677,6 +4743,20 @@ The message. The inner exception. + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -5874,6 +5954,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -6113,6 +6239,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -6131,6 +6264,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -6292,6 +6430,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -6463,6 +6626,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -6505,12 +6669,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -6532,6 +6697,8 @@ The target object. + when is + when is @@ -6664,6 +6831,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -6944,6 +7117,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -6989,6 +7167,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -7222,6 +7405,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -8047,17 +8239,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -8075,16 +8267,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -8170,6 +8381,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -8262,12 +8474,12 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -8301,6 +8513,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -8324,6 +8548,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -8447,6 +8686,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -8529,6 +8847,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -8541,6 +8865,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -8633,20 +8992,28 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding @@ -8658,6 +9025,13 @@ removes any unusual unicode characters that can't be encoded into XML + + + Cleans string of any invalid XML chars found + + unclean string + string with only valid XML chars + Safe version of WriteAttributeString @@ -8737,21 +9111,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -8775,6 +9152,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -8804,6 +9201,21 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + Implementation of which caches @@ -8827,6 +9239,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -8970,7 +9402,7 @@ - Gets or 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 using the native implementation. @@ -9020,6 +9452,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -9063,6 +9515,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -9135,11 +9607,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -9413,6 +9880,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -9505,6 +9978,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -9528,6 +10007,7 @@ Log event context data. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -9744,6 +10224,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -9955,6 +10464,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -10977,6 +11516,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -11406,6 +11959,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -11526,6 +12089,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -11720,6 +12299,7 @@ Service contract for Log Receiver client. + This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -12001,8 +12581,11 @@ Log Receiver Client using WCF. - This will be removed when ILogReceiverClient is removed. - This provides an implementation of the legacy interface. + This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. + + It provides an implementation of the legacy interface and it will be completely obsolete when the + ILogReceiverClient is removed. + @@ -12866,6 +13449,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Modes of archiving files based on time. @@ -13286,7 +13899,7 @@ - Gets or 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 using the native implementation. @@ -13784,6 +14397,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -14012,7 +14639,7 @@ Inheritors can override this method and provide their own service configuration - binding and endpoint address - + This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -14732,6 +15359,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -14740,6 +15373,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -14747,6 +15386,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -14850,6 +15505,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -14876,6 +15541,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -14924,6 +15595,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -14944,16 +15646,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -14963,6 +15655,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Asynchronous request queue. @@ -15151,6 +15851,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -15173,7 +15879,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -15189,6 +15896,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -15216,7 +15929,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -15481,6 +16195,76 @@ Log event. + + + Limits the number of messages written per timespan to the wrapped target. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. + + + + Gets or sets the maximum allowed number of messages written per . + + + Messages received after has been reached in the current will be discarded. + + + + + Gets or sets the interval in which messages will be written up to the number of messages. + + + Messages received after has been reached in the current will be discarded. + + + + + Gets the DateTime when the current will be reset. + + + + + Gets the number of written in the current . + + + + + Initializes the target and resets the current Interval and . + + + + + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + + Log event to be written out. + Filters buffered log entries based on a set of conditions that are evaluated on a group of events. diff --git a/packages/NLog.5.0.0-beta04/lib/sl50/NLog.dll b/packages/NLog.5.0.0-beta04/lib/sl50/NLog.dll new file mode 100644 index 000000000..08e613ccb Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/sl50/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/wp80/NLog.xml b/packages/NLog.5.0.0-beta04/lib/sl50/NLog.xml similarity index 89% rename from packages/NLog.5.0.0-beta03/lib/wp80/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/sl50/NLog.xml index 91e27b64d..149187a95 100644 --- a/packages/NLog.5.0.0-beta03/lib/wp80/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/sl50/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -556,6 +557,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -608,6 +610,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -702,6 +705,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -754,6 +758,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -848,6 +853,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -900,6 +906,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -994,6 +1001,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1046,6 +1054,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1140,6 +1149,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1192,6 +1202,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1286,6 +1297,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1338,6 +1350,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1476,6 +1489,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1527,6 +1541,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1722,6 +1737,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1744,6 +1760,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -1753,6 +1774,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1799,6 +1821,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1913,18 +1936,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -2035,6 +2064,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -2045,7 +2076,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -2872,6 +2906,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2904,6 +2939,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3084,6 +3120,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3112,6 +3149,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3230,6 +3268,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3258,6 +3297,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3376,6 +3416,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3404,6 +3445,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3522,6 +3564,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3550,6 +3593,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3668,6 +3712,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3696,6 +3741,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3814,6 +3860,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3842,6 +3889,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -4192,6 +4240,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -4225,6 +4274,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -4240,6 +4295,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -4430,6 +4486,7 @@ Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -4475,6 +4532,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -4640,6 +4698,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -4677,6 +4743,20 @@ The message. The inner exception. + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -5874,6 +5954,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -6113,6 +6239,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -6131,6 +6264,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -6292,6 +6430,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -6463,6 +6626,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -6505,12 +6669,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -6532,6 +6697,8 @@ The target object. + when is + when is @@ -6664,6 +6831,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -6944,6 +7117,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -6989,6 +7167,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -7222,6 +7405,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -8047,17 +8239,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -8075,16 +8267,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -8170,6 +8381,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -8262,12 +8474,12 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -8301,6 +8513,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -8324,6 +8548,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -8447,6 +8686,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -8529,6 +8847,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -8541,6 +8865,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -8633,20 +8992,28 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding @@ -8658,6 +9025,13 @@ removes any unusual unicode characters that can't be encoded into XML + + + Cleans string of any invalid XML chars found + + unclean string + string with only valid XML chars + Safe version of WriteAttributeString @@ -8737,21 +9111,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -8775,6 +9152,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -8804,6 +9201,21 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + Implementation of which caches @@ -8827,6 +9239,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -8970,7 +9402,7 @@ - Gets or 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 using the native implementation. @@ -9020,6 +9452,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -9063,6 +9515,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -9135,11 +9607,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -9413,6 +9880,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -9505,6 +9978,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -9512,10 +9991,23 @@ 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. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -9732,6 +10224,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -9943,6 +10464,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -10255,6 +10806,29 @@ The to append the date to The date to append + + + Information about Silverlight application. + + + + + 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 . + + The to append the rendered data to. + Logging event. + Specifies application information to display in ${sl-appinfo} renderer. @@ -10942,6 +11516,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -11371,6 +11959,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -11491,6 +12089,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -11685,6 +12299,7 @@ Service contract for Log Receiver client. + This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -11747,6 +12362,99 @@ The result. + + + 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. + + + + + 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. + + + + Gets or sets the cookie container. + + The cookie container. + Internal configuration of Log Receiver Service contracts. @@ -11868,6 +12576,577 @@ Initializes a new instance of the class. + + + Log Receiver Client using WCF. + + + This class marked as obsolete before NLog 4.3.11 and it will be removed in a future release. + + It provides an implementation of the legacy interface and it will be completely obsolete when the + ILogReceiverClient is removed. + + + + + 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. + + + + 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. + + + + Returns a new channel from the client to the service. + + + A channel of type that identifies the type + of service contract encapsulated by this client object (proxy). + + + + + Log Receiver Client facade. It allows the use either of the one way or two way + service contract using WCF through its unified interface. + + + Delegating methods are generated with Resharper. + 1. change ProxiedClient to private field (instead of public property) + 2. delegate members + 3. change ProxiedClient back to public property. + + + + + + The client getting proxied + + + + + Do we use one-way or two-way messaging? + + + + + Initializes a new instance of the class. + + Whether to use the one way or two way WCF client. + + + + Initializes a new instance of the class. + + Whether to use the one way or two way WCF client. + Name of the endpoint configuration. + + + + Initializes a new instance of the class. + + Whether to use the one way or two way WCF client. + Name of the endpoint configuration. + The remote address. + + + + Initializes a new instance of the class. + + Whether to use the one way or two way WCF client. + Name of the endpoint configuration. + The remote address. + + + + Initializes a new instance of the class. + + Whether to use the one way or two way WCF client. + The binding. + The remote address. + + + + Causes a communication object to transition immediately from its current state into the closed state. + + + + + Begins an asynchronous operation to close a communication object. + + + The that references the asynchronous close operation. + + The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The default timeout elapsed before the was able to close gracefully. + + + + Begins an asynchronous operation to close a communication object with a specified timeout. + + + The that references the asynchronous close operation. + + The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The specified timeout elapsed before the was able to close gracefully. + + + + Begins an asynchronous operation to open a communication object. + + + The that references the asynchronous open operation. + + The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. + + + + Begins an asynchronous operation to open a communication object within a specified interval of time. + + + The that references the asynchronous open operation. + + The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. + + + + Begins processing of log messages. + + The events to send. + The callback. + Asynchronous state. + + 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. + + The that specifies how long the send operation has to complete before timing out. was called on an object in the state.The timeout elapsed before the was able to close gracefully. + + + + Causes a communication object to transition from its current state into the closed state. + + was called on an object in the state.The default close timeout elapsed before the was able to close gracefully. + + + + Closes the client asynchronously. + + User-specific state. + + + + 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. + + The that is returned by a call to the method. was called on an object in the state.The timeout elapsed before the was able to close gracefully. + + + + Completes an asynchronous operation to open a communication object. + + 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. + + The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. + + + + Causes a communication object to transition from the created state into the opened state within a specified interval of time. + + The that specifies how long the send operation has to complete before timing out.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. + + + + Opens the client asynchronously. + + + + + Opens the client asynchronously. + + User-specific state. + + + + Occurs when Open operation has completed. + + + + + Occurs when the communication object completes its transition from the opening state into the opened state. + + + + + 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. + + + + + Gets the current state of the communication-oriented object. + + + 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. + + Type of the WCF service. + + + + 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. + + + + + 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. + + + + 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. + + + + Returns a new channel from the client to the service. + + + A channel of type that identifies the type + of service contract encapsulated by this client object (proxy). + + + + + Log Receiver Client using WCF. + + + + + 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. + + + + 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. + + + + Returns a new channel from the client to the service. + + + A channel of type that identifies the type + of service contract encapsulated by this client object (proxy). + + Specifies the way archive numbering is performed. @@ -12170,6 +13449,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Modes of archiving files based on time. @@ -12590,7 +13899,7 @@ - Gets or 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 using the native implementation. @@ -13088,6 +14397,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -13217,6 +14540,117 @@ 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. + + + + + Initializes a new instance of the class. + + Name of the target. + + + + 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 + + This method marked as obsolete before NLog 4.3.11 and it may be removed in a future release. + + + + 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. @@ -13925,6 +15359,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -13933,6 +15373,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -13940,6 +15386,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -14043,6 +15505,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -14069,6 +15541,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -14117,6 +15595,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -14137,16 +15646,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -14156,6 +15655,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Asynchronous request queue. @@ -14344,6 +15851,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -14366,7 +15879,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -14382,6 +15896,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -14409,7 +15929,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -14674,6 +16195,76 @@ Log event. + + + Limits the number of messages written per timespan to the wrapped target. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. + + + + Gets or sets the maximum allowed number of messages written per . + + + Messages received after has been reached in the current will be discarded. + + + + + Gets or sets the interval in which messages will be written up to the number of messages. + + + Messages received after has been reached in the current will be discarded. + + + + + Gets the DateTime when the current will be reset. + + + + + Gets the number of written in the current . + + + + + Initializes the target and resets the current Interval and . + + + + + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + + Log event to be written out. + Filters buffered log entries based on a set of conditions that are evaluated on a group of events. diff --git a/packages/NLog.5.0.0-beta04/lib/wp80/NLog.dll b/packages/NLog.5.0.0-beta04/lib/wp80/NLog.dll new file mode 100644 index 000000000..115963745 Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/wp80/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/sl40/NLog.xml b/packages/NLog.5.0.0-beta04/lib/wp80/NLog.xml similarity index 94% rename from packages/NLog.5.0.0-beta03/lib/sl40/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/wp80/NLog.xml index 6b02b530b..dc753420d 100644 --- a/packages/NLog.5.0.0-beta03/lib/sl40/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/wp80/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -556,6 +557,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -608,6 +610,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -702,6 +705,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -754,6 +758,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -848,6 +853,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -900,6 +906,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -994,6 +1001,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1046,6 +1054,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1140,6 +1149,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1192,6 +1202,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1286,6 +1297,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1338,6 +1350,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1476,6 +1489,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1527,6 +1541,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1722,6 +1737,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1744,6 +1760,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -1753,6 +1774,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1799,6 +1821,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1913,18 +1936,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -2035,6 +2064,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -2045,7 +2076,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -2872,6 +2906,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2904,6 +2939,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3084,6 +3120,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3112,6 +3149,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3230,6 +3268,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3258,6 +3297,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3376,6 +3416,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3404,6 +3445,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3522,6 +3564,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3550,6 +3593,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3668,6 +3712,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3696,6 +3741,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3814,6 +3860,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3842,6 +3889,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -4192,6 +4240,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -4225,6 +4274,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -4240,6 +4295,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -4430,6 +4486,7 @@ Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -4475,6 +4532,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -4640,6 +4698,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -4677,6 +4743,20 @@ The message. The inner exception. + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -5874,6 +5954,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -6113,6 +6239,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -6131,6 +6264,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -6292,6 +6430,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -6463,6 +6626,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -6505,12 +6669,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -6532,6 +6697,8 @@ The target object. + when is + when is @@ -6664,6 +6831,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -6944,6 +7117,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -6989,6 +7167,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -7222,6 +7405,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -8047,17 +8239,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -8075,16 +8267,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -8170,6 +8381,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -8262,12 +8474,12 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -8301,6 +8513,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -8324,6 +8548,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -8447,6 +8686,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -8529,6 +8847,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -8541,6 +8865,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -8633,20 +8992,28 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding @@ -8658,6 +9025,13 @@ removes any unusual unicode characters that can't be encoded into XML + + + Cleans string of any invalid XML chars found + + unclean string + string with only valid XML chars + Safe version of WriteAttributeString @@ -8737,21 +9111,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -8775,6 +9152,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -8804,6 +9201,21 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + Implementation of which caches @@ -8827,6 +9239,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -8970,7 +9402,7 @@ - Gets or 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 using the native implementation. @@ -9020,6 +9452,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -9063,6 +9515,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -9135,11 +9607,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -9413,6 +9880,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -9505,6 +9978,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -9512,22 +9991,11 @@ 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. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -9744,6 +10212,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -9955,6 +10452,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -10267,29 +10794,6 @@ The to append the date to The date to append - - - Information about Silverlight application. - - - - - 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 . - - The to append the rendered data to. - Logging event. - Specifies application information to display in ${sl-appinfo} renderer. @@ -10977,6 +11481,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -11406,6 +11924,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -11526,6 +12054,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -11720,6 +12264,7 @@ Service contract for Log Receiver client. + This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -11782,99 +12327,6 @@ The result. - - - 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. - - - - - 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. - - - - Gets or sets the cookie container. - - The cookie container. - Internal configuration of Log Receiver Service contracts. @@ -11996,574 +12448,6 @@ Initializes a new instance of the class. - - - Log Receiver Client using WCF. - - - This will be removed when ILogReceiverClient is removed. - This provides an implementation of the legacy interface. - - - - 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. - - - - 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. - - - - Returns a new channel from the client to the service. - - - A channel of type that identifies the type - of service contract encapsulated by this client object (proxy). - - - - - Log Receiver Client facade. It allows the use either of the one way or two way - service contract using WCF through its unified interface. - - - Delegating methods are generated with Resharper. - 1. change ProxiedClient to private field (instead of public property) - 2. delegate members - 3. change ProxiedClient back to public property. - - - - - - The client getting proxied - - - - - Do we use one-way or two-way messaging? - - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - Name of the endpoint configuration. - The remote address. - - - - Initializes a new instance of the class. - - Whether to use the one way or two way WCF client. - The binding. - The remote address. - - - - Causes a communication object to transition immediately from its current state into the closed state. - - - - - Begins an asynchronous operation to close a communication object. - - - The that references the asynchronous close operation. - - The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The default timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to close a communication object with a specified timeout. - - - The that references the asynchronous close operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous close operation.An object, specified by the application, that contains state information associated with the asynchronous close operation. was called on an object in the state.The specified timeout elapsed before the was able to close gracefully. - - - - Begins an asynchronous operation to open a communication object. - - - The that references the asynchronous open operation. - - The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins an asynchronous operation to open a communication object within a specified interval of time. - - - The that references the asynchronous open operation. - - The that specifies how long the send operation has to complete before timing out.The delegate that receives notification of the completion of the asynchronous open operation.An object, specified by the application, that contains state information associated with the asynchronous open operation.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Begins processing of log messages. - - The events to send. - The callback. - Asynchronous state. - - 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. - - The that specifies how long the send operation has to complete before timing out. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Causes a communication object to transition from its current state into the closed state. - - was called on an object in the state.The default close timeout elapsed before the was able to close gracefully. - - - - Closes the client asynchronously. - - User-specific state. - - - - 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. - - The that is returned by a call to the method. was called on an object in the state.The timeout elapsed before the was able to close gracefully. - - - - Completes an asynchronous operation to open a communication object. - - 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. - - The was unable to be opened and has entered the state.The default open timeout elapsed before the was able to enter the state and has entered the state. - - - - Causes a communication object to transition from the created state into the opened state within a specified interval of time. - - The that specifies how long the send operation has to complete before timing out.The was unable to be opened and has entered the state.The specified timeout elapsed before the was able to enter the state and has entered the state. - - - - Opens the client asynchronously. - - - - - Opens the client asynchronously. - - User-specific state. - - - - Occurs when Open operation has completed. - - - - - Occurs when the communication object completes its transition from the opening state into the opened state. - - - - - 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. - - - - - Gets the current state of the communication-oriented object. - - - 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. - - Type of the WCF service. - - - - 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. - - - - - 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. - - - - 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. - - - - Returns a new channel from the client to the service. - - - A channel of type that identifies the type - of service contract encapsulated by this client object (proxy). - - - - - Log Receiver Client using WCF. - - - - - 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. - - - - 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. - - - - Returns a new channel from the client to the service. - - - A channel of type that identifies the type - of service contract encapsulated by this client object (proxy). - - Specifies the way archive numbering is performed. @@ -12866,6 +12750,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Modes of archiving files based on time. @@ -13286,7 +13200,7 @@ - Gets or 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 using the native implementation. @@ -13784,6 +13698,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -13913,117 +13841,6 @@ 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. - - - - - Initializes a new instance of the class. - - Name of the target. - - - - 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. @@ -14732,6 +14549,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -14740,6 +14563,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -14747,6 +14576,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -14850,6 +14695,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -14876,6 +14731,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -14924,6 +14785,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -14944,16 +14836,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -14963,6 +14845,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Asynchronous request queue. @@ -15151,6 +15041,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -15173,7 +15069,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -15189,6 +15086,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -15216,7 +15119,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -15481,6 +15385,76 @@ Log event. + + + Limits the number of messages written per timespan to the wrapped target. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The name of the target. + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + + + + Initializes a new instance of the class. + + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. + + + + Gets or sets the maximum allowed number of messages written per . + + + Messages received after has been reached in the current will be discarded. + + + + + Gets or sets the interval in which messages will be written up to the number of messages. + + + Messages received after has been reached in the current will be discarded. + + + + + Gets the DateTime when the current will be reset. + + + + + Gets the number of written in the current . + + + + + Initializes the target and resets the current Interval and . + + + + + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + + Log event to be written out. + Filters buffered log entries based on a set of conditions that are evaluated on a group of events. diff --git a/packages/NLog.5.0.0-beta04/lib/xamarinios10/NLog.dll b/packages/NLog.5.0.0-beta04/lib/xamarinios10/NLog.dll new file mode 100644 index 000000000..33c809ace Binary files /dev/null and b/packages/NLog.5.0.0-beta04/lib/xamarinios10/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.xml b/packages/NLog.5.0.0-beta04/lib/xamarinios10/NLog.xml similarity index 96% rename from packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.xml rename to packages/NLog.5.0.0-beta04/lib/xamarinios10/NLog.xml index f5765aeb8..3cb6f032d 100644 --- a/packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.xml +++ b/packages/NLog.5.0.0-beta04/lib/xamarinios10/NLog.xml @@ -368,6 +368,7 @@ Global Diagnostics Context - used for log4net compatibility. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -1909,6 +1910,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -1961,6 +1963,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2055,6 +2058,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2107,6 +2111,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2201,6 +2206,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2253,6 +2259,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2347,6 +2354,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2399,6 +2407,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2493,6 +2502,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2545,6 +2555,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2639,6 +2650,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -2691,6 +2703,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3087,6 +3100,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3138,6 +3152,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3333,6 +3348,7 @@ Gets the logger short name. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3355,6 +3371,11 @@ Gets the formatted message. + + + Checks if any per-event context properties (Without allocation) + + Gets the dictionary of per-event context properties. @@ -3364,6 +3385,7 @@ Gets the dictionary of per-event context properties. + This property was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -3410,6 +3432,7 @@ The message. The exception. Instance of . + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -3524,18 +3547,24 @@ This option is for backwards-compatiblity. By default exceptions are not thrown under any circumstances. - + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + 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. + existing loggers will be re-configured, so there is no need to call + manually. - Gets or sets the global log threshold. Log events below this threshold are not logged. + Gets or sets the global log level threshold. Log events below this threshold are not logged. @@ -3620,7 +3649,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -3665,6 +3694,8 @@ Logging is enabled if the number of calls is greater than or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. An object that implements IDisposable whose Dispose() method re-enables logging. To be used with C# using () statement. @@ -3675,7 +3706,10 @@ Logging is enabled if the number of calls is greater than - or equal to calls. + or equal to calls. + + This method was marked as obsolete on NLog 4.0 and it may be removed in a future release. + @@ -6110,6 +6144,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6142,6 +6177,7 @@ The log level. A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6322,6 +6358,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6350,6 +6387,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6468,6 +6506,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6496,6 +6535,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6614,6 +6654,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6642,6 +6683,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6760,6 +6802,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6788,6 +6831,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6906,6 +6950,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -6934,6 +6979,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7052,6 +7098,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7080,6 +7127,7 @@ A to be written. An exception to be logged. + This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7430,6 +7478,7 @@ Delegate used to set/get the culture in use. + This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7468,6 +7517,12 @@ + + + Gets or sets a value indicating whether Variables should be kept on configuration reload. + Default value - false. + + Gets or sets the current logging configuration. @@ -7483,6 +7538,7 @@ Gets or sets the default culture to use. + This property was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -7539,7 +7595,7 @@ - Flush any pending log messages (in case of asynchronous targets). + Flush any pending log messages (in case of asynchronous targets) with the default timeout of 15 seconds. @@ -7690,6 +7746,7 @@ Mapped Diagnostics Context - used for log4net compatibility. + This class marked as obsolete before NLog 2.0 and it may be removed in a future release. @@ -7735,6 +7792,7 @@ Nested Diagnostics Context - for log4net compatibility. + This class marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -7900,6 +7958,14 @@ The message. Parameters for the message + + + Initializes a new instance of the class. + + The inner exception. + The message. + Parameters for the message + Initializes a new instance of the class. @@ -7963,6 +8029,20 @@ The class name is null or is zero (0). + + + It works as a normal but it discards all messages which an application requests + to be logged. + + It effectively implements the "Null Object" pattern for objects. + + + + + Initializes a new instance of . + + The factory class to be used for the creation of this logger. + Asynchronous continuation delegate - function invoked at the end of asynchronous @@ -9186,6 +9266,52 @@ The relational operator. Result of the given relational operator. + + + Promote values to the type needed for the comparision, e.g. parse a string to int. + + + + + + + Promoto to type + + + + success? + + + + Try to promote both values. First try to promote to , + when failed, try to . + + + + + + Get the order for the type for comparision. + + + index, 0 to maxint. Lower is first + + + + Dictionary from type to index. Lower index should be tested first. + + + + + Build the dictionary needed for the order of the types. + + + + + + Get the string representing the current + + + Relational operators used in conditions. @@ -9425,6 +9551,13 @@ The filter factory. + + + gets the factory + + not using due to backwardscomp. + + Gets the factory. @@ -9443,6 +9576,11 @@ The ambient property factory. + + + Gets or sets the JSON serializer to use with . + + Gets the time source factory. @@ -9604,6 +9742,31 @@ The name of the item. Created item. + + + Factory specialized for s. + + + + + Clear all func layouts + + + + + Register a layout renderer with a callback function. + + Name of the layoutrenderer, without ${}. + the renderer that renders the value. + + + + 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.). @@ -9780,6 +9943,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete on NLog 4.1 and it may be removed in a future release. @@ -9822,12 +9986,13 @@ - Compare on name + Compare objects based on their name. + This property is use to cache the comparer object. - + - Compare on name + Defines methods to support the comparison of objects for equality based on their name. @@ -9849,6 +10014,8 @@ The target object. + when is + when is @@ -9981,6 +10148,12 @@ Validates the configuration. + + + Copies all variables from provided dictionary into current configuration variables. + + Master variables dictionary + Arguments for events. @@ -10261,6 +10434,11 @@ Gets the value of the element. + + + Last error occured during configuration read + + Returns children elements with the specified element name. @@ -10306,6 +10484,11 @@ The allowed names. + + + Returns all parsing errors from current and all child elements. + + Attribute used to mark the required parameters for targets, @@ -10411,11 +10594,6 @@ This class is thread-safe..ToList() is used for that purpose. - - - Prefix for assets in Xamarin Android - - Initializes a new instance of the class. @@ -10564,6 +10742,15 @@ Name of the file that contains the element (to be used as a base for including other files). Ignore any errors during configuration. + + + Checks whether any error during XML configuration parsing has occured. + If there are any and ThrowConfigExceptions or ThrowExceptions + setting is enabled - throws NLogConfigurationException, otherwise + just write an internal log at Warn level. + + Root NLog configuration xml element + Checks whether unused targets exist. If found any, just write an internal log at Warn level. @@ -11065,11 +11252,6 @@ The logger to write the log event to. current for chaining calls. - - - Various helper methods for accessing state of ASP application. - - Helpers for . @@ -11394,17 +11576,17 @@ Optimized routines to get the basic file characteristics of the specified file. - + Initializes static members of the FileCharacteristicsHelper class. - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. @@ -11432,16 +11614,35 @@ non null is fixed, + + + is the cache-key, and when newly rendered filename matches the cache-key, + then it reuses the cleaned cache-value . + + + + + is the cache-value that is reused, when the newly rendered filename + matches the cache-key + + Initializes a new instance of the class. - + - Render, as cleaned if requested. + Render the raw filename from Layout The log event. String representation of a layout. + + + Convert the raw filename to a correct filename + + The filename generated by Layout. + String representation of a correct filename. + Is this (templated/invalid) path an absolute, relative or unknown? @@ -11571,6 +11772,7 @@ Use the old exception log handling of NLog 3.0? + This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5. @@ -11672,47 +11874,14 @@ Portable implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. - - - Portable implementation of . - - - - - Initializes a new instance of the class. - - - - - Gets current thread ID. - - - - - - Gets current process name. - - - - - - Gets current process name (excluding filename extension, if any). - - - - - - Gets the name of the process. - - Reflection helpers for accessing properties. @@ -11744,6 +11913,18 @@ result when success. success. + + + Try parse of string to (Generic) list, comma separated. + + + If there is a comma in the value, then (single) quote the value. For single quotes, use the backslash as escape + + + + + + Reflection helpers. @@ -11767,6 +11948,21 @@ From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static + + + Optimized delegate for calling MethodInfo + + Object instance, use null for static methods. + Complete list of parameters that matches the method, including optional/default parameters. + + + + + Creates an optimized delegate for calling the MethodInfo using Expression-Trees + + Method to optimize + Optimized delegate for invoking the MethodInfo + Supported operating systems. @@ -11890,6 +12086,85 @@ Dictionary where keys are unique input keys, and values are lists of . + + + Performs bucket sort (group by) on an array of items and returns a dictionary for easy traversal of the result set. + + The type of the value. + The type of the key. + The inputs. + The key selector function. + + Dictionary where keys are unique input keys, and values are lists of . + + + + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. + + + + + + + + + + + + + + + + Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Consider to use instead for better safety. + + Key value for lookup + Mapped value found + + + + Non-Allocating struct-enumerator + + + + + + + + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + Will always throw, as dictionary is readonly + + + Will always throw, as dictionary is readonly + + + + + + + + + Will always throw, as dictionary is readonly + Ext for stackframe @@ -11972,6 +12247,12 @@ value to append + + + Clears the provider StringBuilder + + + Helpers for . @@ -11984,6 +12265,41 @@ + + + Split a string + + + + + Split string with escape. The escape char is the same as the splitchar + + + split char. escaped also with this char + + + + + Split string with escape + + + + + + + + + Split a string, optional quoted value + + Text to split + Character to split the + Quote character + + Escape for the , not escape for the + , use quotes for that. + + + Represents target with a chain of filters which determine @@ -12027,38 +12343,6 @@ A value that determines stack trace handling. - - - Returns details about current process and thread in a portable manner. - - - - - Initializes static members of the ThreadIDHelper class. - - - - - Gets the singleton instance of PortableThreadIDHelper or - Win32ThreadIDHelper depending on runtime environment. - - The instance. - - - - Gets current thread ID. - - - - - Gets current process name. - - - - - Gets current process name (excluding filename extension, if any). - - Helper for dealing with thread-local storage. @@ -12108,62 +12392,42 @@ URL Encoding helper. - - - Url encode and URL - - URL to be encoded - space as + or %20? false (%20) is the safe option. - Encoded url. + + Allow UnreservedMarks instead of ReservedMarks, as specified by chosen RFC - + + Use RFC2396 standard (instead of RFC3986) + + + Should use lowercase when doing HEX escaping of special characters + + + Replace space ' ' with '+' instead of '%20' + + + Skip UTF8 encoding, and prefix special characters with '%u' + + - Is this character safe in the URL? + Escape unicode string data for use in http-requests - char to test. - true is safe. + unicode string-data to be encoded + target for the encoded result + s for how to perform the encoding Win32-optimized implementation of . - + Gets the information about a file. Name of the file. - The file handle. + The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. - - - Win32-optimized implementation of . - - - - - Initializes a new instance of the class. - - - - - Gets current thread ID. - - - - - - Gets current process name. - - - - - - Gets current process name (excluding filename extension, if any). - - - Helper class for XML @@ -12174,6 +12438,13 @@ removes any unusual unicode characters that can't be encoded into XML + + + Cleans string of any invalid XML chars found + + unclean string + string with only valid XML chars + Safe version of WriteAttributeString @@ -12323,21 +12594,24 @@ - Gets the file creation time. + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated + Universal Time [UTC] standard. - The file creation time. DateTime value must be of UTC kind. + The creation time of the file. - Gets the open time of the file. + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated + Universal Time [UTC] standard. - The open time. DateTime value must be of UTC kind. + The time the file was last opened. - Gets the last write time. + Gets the last time the file associated with the appeander is written. The time returned is in + Coordinated Universal Time [UTC] standard. - The time the file was last written to. DateTime value must be of UTC kind. + The time the file was last written to. @@ -12345,12 +12619,6 @@ The file creation parameters. - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - Writes the specified bytes. @@ -12367,6 +12635,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12396,6 +12684,27 @@ If set to true sets the file stream to allow shared writing. A object which can be used to write to the file. + + + Base class for optimized file appenders which require the usage of a mutex. + + It is possible to use this class as replacement of BaseFileAppender and the mutex functionality + is not enforced to the implementing subclasses. + + + + + Initializes a new instance of the class. + + Name of the file. + The create parameters. + + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + Implementation of which caches @@ -12419,6 +12728,26 @@ Flushes this current appender. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Writes the specified bytes to a file. @@ -12562,7 +12891,7 @@ - Gets or 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 using the native implementation. @@ -12617,6 +12946,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -12660,6 +13009,26 @@ Closes this instance. + + + Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal + Time [UTC] standard. + + The file creation time. + + + + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated + Universal Time [UTC] standard. + + The time the file was last written to. + + + + Gets the length in bytes of the file associated with the appeander. + + A long value representing the length of the file in bytes. + Factory class. @@ -12732,11 +13101,6 @@ The network URL. - - - Finalizes an instance of the NetworkSender class. - - Gets the address of the network endpoint. @@ -13061,84 +13425,6 @@ - - - ASP Application variable. - - - - - Gets or sets the ASP Application variable name. - - - - - - Renders the specified ASP Application variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - ASP Request variable. - - - - - Gets or sets the item name. The QueryString, Form, Cookies, or ServerVariables collection variables having the specified name are rendered. - - - - - - Gets or sets the QueryString variable to be rendered. - - - - - - Gets or sets the form variable to be rendered. - - - - - - Gets or sets the cookie to be rendered. - - - - - - Gets or sets the ServerVariables item to be rendered. - - - - - - Renders the specified ASP Request variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - - - - ASP Session variable. - - - - - Gets or sets the session variable name. - - - - - - Renders the specified ASP Session variable and appends it to the specified . - - The to append the rendered data to. - Logging event. - Assembly version. @@ -13207,6 +13493,12 @@ + + + Gets or sets a value indicating whether to render the include the namespace with . + + + Gets or sets a value indicating whether to render the method name. @@ -13333,6 +13625,12 @@ + + Cache-key (Last DateTime.UtcNow) + Cache-Value (DateTime.Format result) + + + Cache-key (Last DateTime.Now) + Cache-Value (DateTime.Format result) + Renders the current date and appends it to the specified . @@ -13368,6 +13666,7 @@ Log event context data. + This class was marked as obsolete on NLog 2.0 and it may be removed in a future release. @@ -13577,6 +13876,35 @@ The to append the rendered data to. Logging event. + + + A layout renderer which could have different behavior per instance by using a . + + + + + Create a new. + + Name without ${}. + Method that renders the layout. + + + + Name used in config without ${}. E.g. "test" could be used as "${test}". + + + + + Method that renders the layout. + + + + + Renders the specified environmental information and appends it to the specified . + + The to append the rendered data to. + Logging event. + The information about the garbage collector. @@ -13830,6 +14158,36 @@ is preferred + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer. + + Short-cut for registing to default + Type of the layout renderer. + Name of the layout renderer - without ${}. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + + + + Register a custom layout renderer with a callback function . The callback recieves the logEvent and the current configuration. + + Name of the layout renderer - without ${}. + Callback that returns the value for the layout renderer. + Marks class as a layout renderer and assigns a name to it. @@ -14139,18 +14497,6 @@ The to append the rendered data to. Logging event. - - - The identifier of the current process. - - - - - Renders the current process ID. - - The to append the rendered data to. - Logging event. - The information about the running process. @@ -14167,6 +14513,12 @@ + + + Gets or sets the format-string to use if the property supports it (Ex. DateTime / TimeSpan / Enum) + + + Initializes the layout renderer. @@ -14384,24 +14736,6 @@ Working Set Size (64-bit). - - - The name of the current process. - - - - - Gets or sets a value indicating whether to write the full path to the process executable. - - - - - - Renders the current process name (optionally with a full path). - - The to append the rendered data to. - Logging event. - The process time in format HH:mm:ss.mmm. @@ -14422,61 +14756,6 @@ - - - High precision timer, based on the value returned from QueryPerformanceCounter() optionally converted to seconds. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to normalize the result by subtracting - it from the result of the first call (so that it's effectively zero-based). - - - - - - Gets or sets a value indicating whether to output the difference between the result - of QueryPerformanceCounter and the previous one. - - - - - - Gets or sets a value indicating whether to convert the result to seconds by dividing - by the result of QueryPerformanceFrequency(). - - - - - - Gets or sets the number of decimal digits to be included in output. - - - - - - Gets or sets a value indicating whether to align decimal point (emit non-significant zeros). - - - - - - Initializes the layout renderer. - - - - - Renders the ticks value of current time and appends it to the specified . - - The to append the rendered data to. - Logging event. - The short date in a sortable format yyyy-MM-dd. @@ -15209,6 +15488,20 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + Transforms the output of another layout. @@ -15638,6 +15931,16 @@ Gets or sets the option to render the empty object value {} + + + Gets or sets the option to include all properties from the log events + + + + + List of property names to exclude when is true + + Formats the log event as a JSON document for writing. @@ -15758,6 +16061,22 @@ The logging event. The rendered layout. + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + + + + Register a custom Layout. + + Short-cut for registing to default + Type of the Layout. + Name of the Layout. + Marks class as a layout renderer and assigns a format string to it. @@ -15952,6 +16271,7 @@ Service contract for Log Receiver client. + This class marked as obsolete before NLog 4.3.11 and it may be removed in a future release. @@ -16163,41 +16483,6 @@ The most recent archive has the highest number (in combination with the date). - - - Outputs log messages through the ASP Response object. - - Documentation on NLog Wiki - - - - Gets or sets a value indicating whether to add <!-- --> comments around all written texts. - - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - - - - Initializes a new instance of the class with a name. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - Sends log messages to the remote instance of Chainsaw application from log4j. @@ -16756,6 +17041,36 @@ The logging event. + + + Default class for serialization of values to JSON format. + + + + + Singleton instance of the serializer. + + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + Serialized value. + + + + Returns a serialization of an object + int JSON format. + + The object to serialize to JSON. + The objects in path. + The current depth (level) of recursion. + + Serialized value. + + Action that should be taken if the message is greater than @@ -17203,7 +17518,7 @@ - Gets or 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 using the native implementation. @@ -17701,6 +18016,20 @@ Absolute path to the log file to compress. Absolute path to the compressed archive file to create. + + + Interface for serialization of values, maybe even objects to JSON format. + Useful for wrappers for existing serializers. + + + + + Returns a serialization of an object + into JSON format. + + The object to serialize to JSON. + Serialized value. + Line ending mode. @@ -18026,7 +18355,7 @@ to initialize logging. - + Create mail and send with SMTP @@ -18666,50 +18995,6 @@ The logging event. - - - Outputs log messages through the OutputDebugString() Win32 API. - - 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} - - - - - Initializes a new instance of the class. - - - The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message} - - Name of the target. - - - - Outputs the rendered logging event through the OutputDebugString() Win32 API. - - The logging event. - SMTP authentication modes. @@ -18863,6 +19148,12 @@ Log event to be written out. + + + Writes a log event to the log target, in a thread safe manner. + + Log event to be written out. + Writes an array of logging events to the log target. By default it iterates on all @@ -18871,6 +19162,12 @@ Logging events to be written out. + + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + Merges (copies) the event context properties from any event info object stored in @@ -18878,6 +19175,22 @@ The event info object to perform the merge to. + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + + + + Register a custom Target. + + Short-cut for registing to default + Type of the Target. + Name of the Target. + Marks class as a logging target and assigns a name to it. @@ -19028,6 +19341,16 @@ Use HTTP GET Protocol. + + + Do an HTTP POST of a JSON document. + + + + + Do an HTTP POST of an XML document. + + Calls the specified web service on each log message. @@ -19054,6 +19377,12 @@ + + + dictionary that maps a concrete implementation + to a specific -value. + + Initializes a new instance of the class. @@ -19102,6 +19431,37 @@ + + + Gets or sets a value whether escaping be done according to Rfc3986 (Supports Internationalized Resource Identifiers - IRIs) + + A value of true if Rfc3986; otherwise, false for legacy Rfc2396. + + + + + Gets or sets a value whether escaping be done according to the old NLog style (Very non-standard) + + A value of true if legacy encoding; otherwise, false for standard UTF8 encoding. + + + + + Gets or sets the name of the root XML element, + if POST of XML document chosen. + If so, this property must not be null. + (see and ). + + + + + + Gets or sets the (optional) root namespace of the XML document, + if POST of XML document chosen. + (see and ). + + + Calls the target method. Must be implemented in concrete classes. @@ -19122,16 +19482,6 @@ - - - Helper for creating soap POST-XML request - - - - - - - Write from input to output. Fix the UTF-8 bom @@ -19141,6 +19491,14 @@ + + + base class for POST formatters, that + implement former PrepareRequest() method, + that creates the content for + the requested kind of HTTP request + + Win32 file attributes. @@ -19418,6 +19776,12 @@ to ensure that the log event can be processed in another thread. + + + Write to queue without locking + + + The action to be taken when the queue overflows. @@ -19440,7 +19804,8 @@ - Causes a flush after each write on a wrapped target. + Causes a flush on a wrapped target if LogEvent statisfies the . + If condition isn't set, flushes on each write. Documentation on NLog Wiki @@ -19456,6 +19821,12 @@ + + + Gets or sets the condition expression. Log events who meet this condition will cause + a flush on the wrapped target. + + Initializes a new instance of the class. @@ -19483,7 +19854,8 @@ Forwards the call to the .Write() - and calls on it. + and calls on it if LogEvent satisfies + the flush condition or condition is null. Logging event to be written out. @@ -19748,118 +20120,75 @@ Log event. - + - Impersonates another user for the duration of the write. - - Documentation on NLog Wiki - - - - Initializes a new instance of the class. + Limits the number of messages written per timespan to the wrapped target. - + - Initializes a new instance of the class. + Initializes a new instance of the class. - Name of the target. + + + + Initializes a new instance of the class. + + The name of the target. The wrapped target. - + - Initializes a new instance of the class. + Initializes a new instance of the class. The wrapped target. - + - Gets or sets username to change context to. + Initializes a new instance of the class. - + The wrapped target. + Maximum number of messages written per interval. + Interval in which the maximum number of messages can be written. - + - Gets or sets the user account password. + Gets or sets the maximum allowed number of messages written per . - + + Messages received after has been reached in the current will be discarded. + - + - Gets or sets Windows domain name to change context to. + Gets or sets the interval in which messages will be written up to the number of messages. - + + Messages received after has been reached in the current will be discarded. + - + - Gets or sets the Logon Type. - - - - - - Gets or sets the type of the logon provider. - - - - - - Gets or sets the required impersonation level. - - - - - - Gets or sets a value indicating whether to revert to the credentials of the process instead of impersonating another user. - - - - - - Initializes the impersonation context. + Gets the DateTime when the current will be reset. - + - Closes the impersonation context. + Gets the number of written in the current . - + - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - The log event. + Initializes the target and resets the current Interval and . + - + - Changes the security context, forwards the call to the .Write() - and switches the context back to original. - - Log events. - - - - Flush any pending log messages (in case of asynchronous targets). - - The asynchronous continuation. - - - - Helper class which reverts the given - to its original value as part of . - - - - - Initializes a new instance of the class. - - The windows impersonation context. - - - - Reverts the impersonation context. + Writes log event to the wrapped target if the current is lower than . + If the is already reached, no log event will be written to the wrapped target. + resets when the current is expired. + Log event to be written out.