diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index 69907b184..df10bf8dc 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -83,8 +83,8 @@ ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll True - - ..\packages\NLog.4.4.0-betaV15\lib\net45\NLog.dll + + ..\packages\NLog.5.0.0-beta03\lib\net45\NLog.dll True @@ -96,14 +96,18 @@ True + + + + diff --git a/ArchiSteamFarm/packages.config b/ArchiSteamFarm/packages.config index d56dca20f..c0225b2ce 100644 --- a/ArchiSteamFarm/packages.config +++ b/ArchiSteamFarm/packages.config @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/GUI/GUI.csproj b/GUI/GUI.csproj index 26788b763..9af6852d5 100644 --- a/GUI/GUI.csproj +++ b/GUI/GUI.csproj @@ -52,8 +52,8 @@ ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll True - - ..\packages\NLog.4.4.0-betaV15\lib\net45\NLog.dll + + ..\packages\NLog.5.0.0-beta03\lib\net45\NLog.dll True @@ -69,12 +69,17 @@ True + + + + + diff --git a/GUI/packages.config b/GUI/packages.config index 30bf123a7..7412e17dd 100644 --- a/GUI/packages.config +++ b/GUI/packages.config @@ -4,7 +4,7 @@ - + diff --git a/packages/NLog.4.4.0-betaV15/NLog.4.4.0-betaV15.nupkg b/packages/NLog.4.4.0-betaV15/NLog.4.4.0-betaV15.nupkg deleted file mode 100644 index a4333000a..000000000 Binary files a/packages/NLog.4.4.0-betaV15/NLog.4.4.0-betaV15.nupkg and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/monoandroid23/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/monoandroid23/NLog.dll deleted file mode 100644 index 2af173953..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/monoandroid23/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/net35/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/net35/NLog.dll deleted file mode 100644 index 93b383b31..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/net35/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/net40/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/net40/NLog.dll deleted file mode 100644 index f304c74f7..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/net40/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/net45/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/net45/NLog.dll deleted file mode 100644 index 1af93abae..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/net45/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/netstandard1.3/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/netstandard1.3/NLog.dll deleted file mode 100644 index 6f03cecae..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/netstandard1.3/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/netstandard1.5/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/netstandard1.5/NLog.dll deleted file mode 100644 index cd5025e93..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/netstandard1.5/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/sl40/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/sl40/NLog.dll deleted file mode 100644 index 2901b1125..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/sl40/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/sl50/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/sl50/NLog.dll deleted file mode 100644 index 6f1d8b3c4..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/sl50/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/wp80/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/wp80/NLog.dll deleted file mode 100644 index d07e6216f..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/wp80/NLog.dll and /dev/null differ diff --git a/packages/NLog.4.4.0-betaV15/lib/xamarinios10/NLog.dll b/packages/NLog.4.4.0-betaV15/lib/xamarinios10/NLog.dll deleted file mode 100644 index 8f8accbbb..000000000 Binary files a/packages/NLog.4.4.0-betaV15/lib/xamarinios10/NLog.dll and /dev/null differ 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 new file mode 100644 index 000000000..1701c9e2c Binary files /dev/null and b/packages/NLog.5.0.0-beta03/NLog.5.0.0-beta03.nupkg 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 new file mode 100644 index 000000000..c747e16b8 Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/xamarinios10/NLog.xml b/packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.xml similarity index 94% rename from packages/NLog.4.4.0-betaV15/lib/xamarinios10/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.xml index 9f23fb730..f5765aeb8 100644 --- a/packages/NLog.4.4.0-betaV15/lib/xamarinios10/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/monoandroid23/NLog.xml @@ -1910,6 +1910,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -2049,6 +2056,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -2188,6 +2202,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -2327,6 +2348,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -2466,6 +2494,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -2605,6 +2640,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -3438,6 +3480,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -3662,6 +3710,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -3669,6 +3722,28 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. + + Logger cache key. @@ -6276,6 +6351,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -6415,6 +6497,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -6554,6 +6643,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -6693,6 +6789,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -6832,6 +6935,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -6971,6 +7081,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -8060,6 +8177,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -8088,6 +8235,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -8116,6 +8293,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -8144,6 +8351,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -8172,6 +8409,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -8200,6 +8467,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -8311,6 +8608,16 @@ The assembly to log. + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -10099,9 +10406,16 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. + + + Prefix for assets in Xamarin Android + + Initializes a new instance of the class. @@ -10207,6 +10521,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -10734,6 +11065,11 @@ The logger to write the log event to. current for chaining calls. + + + Various helper methods for accessing state of ASP application. + + Helpers for . @@ -11071,6 +11407,51 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + + + not null when == false + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -11247,6 +11628,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -11272,6 +11662,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -11285,6 +11680,39 @@ The file handle. 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. @@ -11490,6 +11918,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -11512,6 +11956,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -11567,6 +12027,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. @@ -11644,6 +12136,34 @@ The file handle. 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 @@ -11742,8 +12262,11 @@ - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + Interface for fakeable the current AppDomain. + + Not fully implemented, please methods/properties as necessary. + @@ -11822,6 +12345,12 @@ The file creation parameters. + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + Writes the specified bytes. @@ -11838,12 +12367,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -11896,12 +12419,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -11977,14 +12494,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -12001,18 +12510,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -12068,6 +12570,11 @@ Gets or sets the file attributes (Windows only). + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -12081,63 +12588,6 @@ Creation parameters. Instance of which can be used to write to the file. - - - Provides a multiprocess-safe atomic file appends while - keeping the files open. - - - On Unix you can get all the appends to be atomic, even when multiple - processes are trying to write to the same file, because setting the file - pointer to the end of the file and appending can be made one operation. - On Win32 we need to maintain some synchronization between processes - (global named mutex is used for this) - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes to be written. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - - - - 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. - - Multi-process and multi-host file appender which attempts @@ -12167,12 +12617,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -12216,12 +12660,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -12623,10 +13061,94 @@ + + + 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. + The entry assembly can't be found in some cases e.g. ASP.NET, Unit tests etc. + + + + The (full) name of the assembly. If null, using the entry assembly. + @@ -12929,6 +13451,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -13283,6 +13811,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -13592,6 +14139,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. @@ -13825,6 +14384,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. @@ -13837,12 +14414,68 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff + + + + + 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. @@ -14177,6 +14810,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -14727,6 +15365,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -14962,6 +15633,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -15487,6 +16163,41 @@ 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. @@ -15698,12 +16409,36 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -15714,6 +16449,7 @@ + Initializes a new instance of the class. @@ -15741,7 +16477,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -16076,6 +16812,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -16099,16 +16856,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -16142,21 +16889,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -16207,6 +16949,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -16263,6 +17010,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -16406,6 +17158,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -16449,6 +17206,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -16517,6 +17279,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -16585,13 +17354,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -16641,6 +17403,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -16709,30 +17482,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -16766,11 +17553,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -16803,13 +17591,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -16819,16 +17600,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -17596,6 +18367,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -17889,6 +18666,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. @@ -18443,13 +19264,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -18573,6 +19395,13 @@ queued log messages.
+ + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. @@ -18919,6 +19748,119 @@ 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. + + Logon provider. diff --git a/packages/NLog.5.0.0-beta03/lib/net35/NLog.dll b/packages/NLog.5.0.0-beta03/lib/net35/NLog.dll new file mode 100644 index 000000000..a394dac9e Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/net35/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/net45/NLog.xml b/packages/NLog.5.0.0-beta03/lib/net35/NLog.xml similarity index 97% rename from packages/NLog.4.4.0-betaV15/lib/net45/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/net35/NLog.xml index 6d60f54ce..1d68a0d22 100644 --- a/packages/NLog.4.4.0-betaV15/lib/net45/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/net35/NLog.xml @@ -1910,6 +1910,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -2049,6 +2056,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -2188,6 +2202,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -2327,6 +2348,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -2466,6 +2494,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -2605,6 +2640,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -3196,46 +3238,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. @@ -3478,6 +3480,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -3707,6 +3715,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -3714,9 +3727,26 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Is this in disposing state? + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. @@ -6231,45 +6261,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. @@ -6365,6 +6356,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -6504,6 +6502,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -6643,6 +6648,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -6782,6 +6794,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -6921,6 +6940,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -7060,6 +7086,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -7663,85 +7696,6 @@ Clears the content of current thread MDC. - - - Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary - of strings and provides methods to output them in layouts. Allows for maintaining state across - asynchronous tasks and call contexts. - - - Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original - NLog library so that state can be maintained for multiple threads in asynchronous situations. - - - - - Gets the current logical context named item, as . - - Item name. - The value of , if defined; otherwise . - 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. @@ -8397,6 +8351,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -8425,6 +8409,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -8453,6 +8467,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -8481,6 +8525,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -8509,6 +8583,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -8537,6 +8641,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -8664,6 +8798,21 @@ The assembly to log. + + + Get the setting value from config/Environment. + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -10490,6 +10639,8 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. @@ -10604,6 +10755,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -10923,61 +11091,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. @@ -11114,31 +11227,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. @@ -11549,6 +11653,51 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + + + not null when == false + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -11742,6 +11891,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 @@ -11773,6 +11927,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -11798,6 +11961,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -12049,6 +12217,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -12071,6 +12255,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -12361,8 +12561,11 @@ - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + Interface for fakeable the current AppDomain. + + Not fully implemented, please methods/properties as necessary. + @@ -12441,6 +12644,12 @@ The file creation parameters. + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + Writes the specified bytes. @@ -12457,12 +12666,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12485,6 +12688,25 @@ 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. @@ -12515,12 +12737,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -12606,14 +12822,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -12630,18 +12838,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -12697,6 +12898,11 @@ Gets or sets the file attributes (Windows only). + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -12746,11 +12952,11 @@ Flushes this instance. - + - Gets the file info. + Creates a mutually-exclusive lock for archiving files. - The file characteristics, if the file information was retrieved successfully, otherwise null. + A object which can be used for controlling the archiving of files. @@ -12796,11 +13002,11 @@ Closes this instance. - + - Gets the file info. + Creates a mutually-exclusive lock for archiving files. - The file characteristics, if the file information was retrieved successfully, otherwise null. + A object which can be used for controlling the archiving of files. @@ -12845,12 +13051,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -13188,14 +13388,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. @@ -13209,19 +13401,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. @@ -13355,6 +13534,12 @@ Assembly version. + The entry assembly can't be found in some cases e.g. ASP.NET, Unit tests etc. + + + + The (full) name of the assembly. If null, using the entry assembly. + @@ -13657,6 +13842,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -14011,6 +14202,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -14215,24 +14425,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. @@ -14659,12 +14851,13 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff + @@ -14754,12 +14947,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. @@ -15141,6 +15328,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -15691,6 +15883,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -15926,6 +16151,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -16444,12 +16674,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 . @@ -16820,12 +17044,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. @@ -16983,12 +17201,6 @@ Occurs when Close operation has completed. - - - Gets or sets the cookie container. - - The cookie container. - Opens the client asynchronously. @@ -17256,6 +17468,23 @@ Documentation on NLog Wiki + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Initializes a new instance of the class. @@ -17331,6 +17560,13 @@ Has side effect + + + Gets or sets a value indicating whether to auto-check if the console is available. + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Gets the row highlighting rules. @@ -17538,6 +17774,23 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. @@ -17550,6 +17803,13 @@ Has side effect + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -17560,6 +17820,7 @@ + Initializes a new instance of the class. @@ -17587,7 +17848,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -17996,6 +18257,17 @@ Logging events to be written out. + + + Build the connectionstring from the properties. + + + Using at first, and falls back to the properties , + , and + + Event to render the layout inside the properties. + + A descriptor for an archive created with the DateAndSequence numbering mode. @@ -18341,6 +18613,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -18364,16 +18657,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -18407,21 +18690,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -18472,6 +18750,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -18528,6 +18811,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -18671,6 +18959,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -18714,6 +19007,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -18782,6 +19080,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -18850,13 +19155,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -18906,6 +19204,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -18974,30 +19283,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -19031,11 +19354,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -19068,13 +19392,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -19084,16 +19401,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -19979,6 +20286,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -20954,19 +21267,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. @@ -21001,13 +21301,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -21131,6 +21432,13 @@ queued log messages. + + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. diff --git a/packages/NLog.5.0.0-beta03/lib/net40/NLog.dll b/packages/NLog.5.0.0-beta03/lib/net40/NLog.dll new file mode 100644 index 000000000..6b710f5a4 Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/net40/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/net40/NLog.xml b/packages/NLog.5.0.0-beta03/lib/net40/NLog.xml similarity index 96% rename from packages/NLog.4.4.0-betaV15/lib/net40/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/net40/NLog.xml index 723018464..9ace24b9b 100644 --- a/packages/NLog.4.4.0-betaV15/lib/net40/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/net40/NLog.xml @@ -1910,6 +1910,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -2049,6 +2056,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -2188,6 +2202,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -2327,6 +2348,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -2466,6 +2494,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -2605,6 +2640,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -3438,6 +3480,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -3667,6 +3715,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -3674,9 +3727,26 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Is this in disposing state? + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. @@ -6286,6 +6356,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -6425,6 +6502,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -6564,6 +6648,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -6703,6 +6794,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -6842,6 +6940,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -6981,6 +7086,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -7595,6 +7707,14 @@ 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 . @@ -8318,6 +8438,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -8346,6 +8496,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -8374,6 +8554,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -8402,6 +8612,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -8430,6 +8670,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -8458,6 +8728,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -8585,6 +8885,21 @@ The assembly to log. + + + Get the setting value from config/Environment. + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -10411,6 +10726,8 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. @@ -10525,6 +10842,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -11406,6 +11740,51 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + + + not null when == false + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -11630,6 +12009,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -11655,6 +12043,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -11906,6 +12299,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -11928,6 +12337,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -12218,8 +12643,11 @@ - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + Interface for fakeable the current AppDomain. + + Not fully implemented, please methods/properties as necessary. + @@ -12298,6 +12726,12 @@ The file creation parameters. + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + Writes the specified bytes. @@ -12314,12 +12748,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12342,6 +12770,25 @@ 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. @@ -12372,12 +12819,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -12463,14 +12904,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -12487,18 +12920,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -12554,6 +12980,11 @@ Gets or sets the file attributes (Windows only). + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -12603,11 +13034,11 @@ Flushes this instance. - + - Gets the file info. + Creates a mutually-exclusive lock for archiving files. - The file characteristics, if the file information was retrieved successfully, otherwise null. + A object which can be used for controlling the archiving of files. @@ -12653,11 +13084,11 @@ Closes this instance. - + - Gets the file info. + Creates a mutually-exclusive lock for archiving files. - The file characteristics, if the file information was retrieved successfully, otherwise null. + A object which can be used for controlling the archiving of files. @@ -12702,12 +13133,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -13191,6 +13616,12 @@ Assembly version. + The entry assembly can't be found in some cases e.g. ASP.NET, Unit tests etc. + + + + The (full) name of the assembly. If null, using the entry assembly. + @@ -13493,6 +13924,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -13847,6 +14284,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -14495,12 +14951,13 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff + @@ -14977,6 +15434,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -15527,6 +15989,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -15762,6 +16257,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -17074,6 +17574,23 @@ Documentation on NLog Wiki + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Initializes a new instance of the class. @@ -17149,6 +17666,13 @@ Has side effect + + + Gets or sets a value indicating whether to auto-check if the console is available. + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Gets the row highlighting rules. @@ -17356,6 +17880,23 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. @@ -17368,6 +17909,13 @@ Has side effect + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -17378,6 +17926,7 @@ + Initializes a new instance of the class. @@ -17405,7 +17954,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -17814,6 +18363,17 @@ Logging events to be written out. + + + Build the connectionstring from the properties. + + + Using at first, and falls back to the properties , + , and + + Event to render the layout inside the properties. + + A descriptor for an archive created with the DateAndSequence numbering mode. @@ -18159,6 +18719,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -18182,16 +18763,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -18225,21 +18796,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -18290,6 +18856,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -18346,6 +18917,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -18489,6 +19065,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -18532,6 +19113,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -18600,6 +19186,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -18668,13 +19261,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -18724,6 +19310,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -18792,30 +19389,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -18849,11 +19460,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -18886,13 +19498,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -18902,16 +19507,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -19797,6 +20392,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -20806,13 +21407,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -20936,6 +21538,13 @@ queued log messages. + + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. diff --git a/packages/NLog.5.0.0-beta03/lib/net45/NLog.dll b/packages/NLog.5.0.0-beta03/lib/net45/NLog.dll new file mode 100644 index 000000000..06e5314e6 Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/net45/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/net35/NLog.xml b/packages/NLog.5.0.0-beta03/lib/net45/NLog.xml similarity index 95% rename from packages/NLog.4.4.0-betaV15/lib/net35/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/net45/NLog.xml index 45aa67022..070641d22 100644 --- a/packages/NLog.4.4.0-betaV15/lib/net35/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/net45/NLog.xml @@ -1910,6 +1910,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -2049,6 +2056,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -2188,6 +2202,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -2327,6 +2348,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -2466,6 +2494,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -2605,6 +2640,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -3196,6 +3238,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. @@ -3438,6 +3520,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -3667,6 +3755,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -3674,9 +3767,26 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Is this in disposing state? + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. @@ -6191,6 +6301,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. @@ -6286,6 +6435,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -6425,6 +6581,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -6564,6 +6727,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -6703,6 +6873,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -6842,6 +7019,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -6981,6 +7165,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -7584,6 +7775,93 @@ 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. @@ -8239,6 +8517,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -8267,6 +8575,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -8295,6 +8633,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -8323,6 +8691,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -8351,6 +8749,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -8379,6 +8807,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -8506,6 +8964,21 @@ The assembly to log. + + + Get the setting value from config/Environment. + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -10332,6 +10805,8 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. @@ -10446,6 +10921,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -10765,6 +11257,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. @@ -10901,22 +11448,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. @@ -11327,6 +11883,51 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + + + not null when == false + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -11520,11 +12121,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 @@ -11556,6 +12152,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -11581,6 +12186,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -11832,6 +12442,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -11854,6 +12480,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -12144,8 +12786,11 @@ - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + Interface for fakeable the current AppDomain. + + Not fully implemented, please methods/properties as necessary. + @@ -12224,6 +12869,12 @@ The file creation parameters. + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + Writes the specified bytes. @@ -12240,12 +12891,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -12268,6 +12913,25 @@ 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. @@ -12298,12 +12962,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -12389,14 +13047,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -12413,18 +13063,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -12480,6 +13123,11 @@ Gets or sets the file attributes (Windows only). + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -12529,11 +13177,11 @@ Flushes this instance. - + - Gets the file info. + Creates a mutually-exclusive lock for archiving files. - The file characteristics, if the file information was retrieved successfully, otherwise null. + A object which can be used for controlling the archiving of files. @@ -12579,11 +13227,11 @@ Closes this instance. - + - Gets the file info. + Creates a mutually-exclusive lock for archiving files. - The file characteristics, if the file information was retrieved successfully, otherwise null. + A object which can be used for controlling the archiving of files. @@ -12628,12 +13276,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -12971,6 +13613,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. @@ -12984,6 +13634,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. @@ -13117,6 +13780,12 @@ Assembly version. + The entry assembly can't be found in some cases e.g. ASP.NET, Unit tests etc. + + + + The (full) name of the assembly. If null, using the entry assembly. + @@ -13419,6 +14088,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -13773,6 +14448,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -13977,6 +14671,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. @@ -14403,12 +15115,13 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff + @@ -14498,6 +15211,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. @@ -14879,6 +15598,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -15429,6 +16153,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -15664,6 +16421,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -16182,6 +16944,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 . @@ -16552,6 +17320,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. @@ -16709,6 +17483,12 @@ Occurs when Close operation has completed. + + + Gets or sets the cookie container. + + The cookie container. + Opens the client asynchronously. @@ -16976,6 +17756,23 @@ Documentation on NLog Wiki + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Initializes a new instance of the class. @@ -17051,6 +17848,13 @@ Has side effect + + + Gets or sets a value indicating whether to auto-check if the console is available. + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Gets the row highlighting rules. @@ -17258,6 +18062,23 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. @@ -17270,6 +18091,13 @@ Has side effect + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -17280,6 +18108,7 @@ + Initializes a new instance of the class. @@ -17307,7 +18136,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -17716,6 +18545,17 @@ Logging events to be written out. + + + Build the connectionstring from the properties. + + + Using at first, and falls back to the properties , + , and + + Event to render the layout inside the properties. + + A descriptor for an archive created with the DateAndSequence numbering mode. @@ -18061,6 +18901,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -18084,16 +18945,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -18127,21 +18978,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -18192,6 +19038,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -18248,6 +19099,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -18391,6 +19247,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -18434,6 +19295,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -18502,6 +19368,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -18570,13 +19443,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -18626,6 +19492,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -18694,30 +19571,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -18751,11 +19642,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -18788,13 +19680,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -18804,16 +19689,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -19699,6 +20574,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -20674,6 +21555,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. @@ -20708,13 +21602,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -20838,6 +21733,13 @@ queued log messages. + + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. 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 new file mode 100644 index 000000000..ccb9c16bd Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/netstandard1.5/NLog.xml b/packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.xml similarity index 95% rename from packages/NLog.4.4.0-betaV15/lib/netstandard1.5/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.xml index 6f3730bf6..cb3f0efaf 100644 --- a/packages/NLog.4.4.0-betaV15/lib/netstandard1.5/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/netstandard1.3/NLog.xml @@ -1910,6 +1910,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -2049,6 +2056,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -2188,6 +2202,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -2327,6 +2348,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -2466,6 +2494,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -2605,6 +2640,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -3478,6 +3520,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -3683,6 +3731,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -3690,9 +3743,26 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Is this in disposing state? + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. @@ -6341,6 +6411,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -6480,6 +6557,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -6619,6 +6703,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -6758,6 +6849,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -6897,6 +6995,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -7036,6 +7141,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -8094,6 +8206,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -8122,6 +8264,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -8150,6 +8322,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -8178,6 +8380,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -8206,6 +8438,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -8234,6 +8496,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -8361,6 +8653,16 @@ The assembly to log. + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -10129,6 +10431,8 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. @@ -10237,6 +10541,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -11157,6 +11478,46 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -11318,6 +11679,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -11343,6 +11713,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -11560,6 +11935,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -11582,6 +11973,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -11759,6 +12166,49 @@ + + + Interface for fakeable the current AppDomain. + + + Not fully implemented, please methods/properties as necessary. + + + + + Gets or sets the base directory that the assembly resolver uses to probe for assemblies. + + + + + Gets or sets the name of the configuration file for an application domain. + + + + + Gets or sets the list of directories under the application base directory that are probed for private assemblies. + + + + + Gets or set the friendly name. + + + + + Gets an integer that uniquely identifies the application domain within the process. + + + + + Process exit event. + + + + + Domain unloaded event. + + Base class for optimized file appenders. @@ -11801,6 +12251,12 @@ The file creation parameters. + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + Writes the specified bytes. @@ -11817,12 +12273,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -11845,6 +12295,25 @@ 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. @@ -11875,12 +12344,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -11956,14 +12419,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -11980,18 +12435,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -12047,6 +12495,11 @@ Gets or sets the file attributes (Windows only). + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -12060,6 +12513,63 @@ Creation parameters. Instance of which can be used to write to the file. + + + Provides a multiprocess-safe atomic file appends while + keeping the files open. + + + On Unix you can get all the appends to be atomic, even when multiple + processes are trying to write to the same file, because setting the file + pointer to the end of the file and appending can be made one operation. + On Win32 we need to maintain some synchronization between processes + (global named mutex is used for this) + + + + + Initializes a new instance of the class. + + Name of the file. + The parameters. + + + + Writes the specified bytes. + + The bytes to be written. + + + + Closes this instance. + + + + + Flushes this instance. + + + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + + + 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. + + Multi-process and multi-host file appender which attempts @@ -12089,11 +12599,11 @@ Closes this instance. - + - Gets the file info. + Creates a mutually-exclusive lock for archiving files. - The file characteristics, if the file information was retrieved successfully, otherwise null. + A object which can be used for controlling the archiving of files. @@ -12138,12 +12648,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -12819,6 +13323,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -13138,6 +13648,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -13196,6 +13725,81 @@ The to append the rendered data to. Logging event. + + + XML event description compatible with log4j, Chainsaw and NLogViewer. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. + + + + + + Gets or sets a value indicating whether the XML should use spaces for indentation. + + + + + + Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. + + + + + + Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. + + + + + + Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. + + + + + + Gets or sets a value indicating whether to include contents of the dictionary. + + + + + + Gets or sets a value indicating whether to include contents of the stack. + + + + + + Gets or sets the NDC item separator. + + + + + + Gets the level of stack trace information required by the implementing class. + + + + + Renders the XML logging event and appends it to the specified . + + The to append the rendered data to. + Logging event. + The logger name. @@ -13232,23 +13836,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. @@ -13555,12 +14142,13 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff + @@ -13799,6 +14387,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -14349,6 +14942,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -14584,6 +15210,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -14750,6 +15381,31 @@ The logging event. The rendered layout. + + + A specialized layout that renders Log4j-compatible XML events. + + + This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. + + + + + Initializes a new instance of the class. + + + + + Gets the instance that renders log events. + + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + The rendered layout. + Represents a string with embedded placeholders that can render contextual information. @@ -14903,6 +15559,23 @@ Documentation on NLog Wiki + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Initializes a new instance of the class. @@ -14972,6 +15645,13 @@ + + + Gets or sets a value indicating whether to auto-check if the console is available. + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Gets the row highlighting rules. @@ -15179,12 +15859,36 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -15195,6 +15899,7 @@ + Initializes a new instance of the class. @@ -15222,7 +15927,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -15625,6 +16330,17 @@ Logging events to be written out. + + + Build the connectionstring from the properties. + + + Using at first, and falls back to the properties , + , and + + Event to render the layout inside the properties. + + Fake transaction @@ -15786,6 +16502,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -15809,16 +16546,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -15852,21 +16579,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -15917,6 +16639,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -15973,6 +16700,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -16116,6 +16848,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -16159,6 +16896,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -16227,6 +16969,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -16295,13 +17044,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -16351,6 +17093,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -16419,30 +17172,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -16476,11 +17243,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -16513,13 +17281,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -16529,16 +17290,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -17028,6 +17779,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -17737,13 +18494,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -17867,6 +18625,13 @@ queued log messages. + + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. 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 new file mode 100644 index 000000000..00bfcbabd Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/netstandard1.3/NLog.xml b/packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.xml similarity index 95% rename from packages/NLog.4.4.0-betaV15/lib/netstandard1.3/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.xml index 43bb9cb55..893e52e07 100644 --- a/packages/NLog.4.4.0-betaV15/lib/netstandard1.3/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/netstandard1.5/NLog.xml @@ -1910,6 +1910,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -2049,6 +2056,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -2188,6 +2202,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -2327,6 +2348,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -2466,6 +2494,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -2605,6 +2640,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -3478,6 +3520,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -3683,6 +3731,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -3690,9 +3743,26 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. - + - Is this in disposing state? + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. @@ -6341,6 +6411,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -6480,6 +6557,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -6619,6 +6703,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -6758,6 +6849,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -6897,6 +6995,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -7036,6 +7141,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -8094,6 +8206,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -8122,6 +8264,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -8150,6 +8322,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -8178,6 +8380,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -8206,6 +8438,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -8234,6 +8496,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -8361,6 +8653,16 @@ The assembly to log. + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -10129,6 +10431,8 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. @@ -10237,6 +10541,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -11157,6 +11478,46 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -11318,6 +11679,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -11343,6 +11713,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -11560,6 +11935,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -11582,6 +11973,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -11759,6 +12166,49 @@ + + + Interface for fakeable the current AppDomain. + + + Not fully implemented, please methods/properties as necessary. + + + + + Gets or sets the base directory that the assembly resolver uses to probe for assemblies. + + + + + Gets or sets the name of the configuration file for an application domain. + + + + + Gets or sets the list of directories under the application base directory that are probed for private assemblies. + + + + + Gets or set the friendly name. + + + + + Gets an integer that uniquely identifies the application domain within the process. + + + + + Process exit event. + + + + + Domain unloaded event. + + Base class for optimized file appenders. @@ -11801,6 +12251,12 @@ The file creation parameters. + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + Writes the specified bytes. @@ -11817,12 +12273,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -11845,6 +12295,25 @@ 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. @@ -11875,12 +12344,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -11956,14 +12419,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -11980,18 +12435,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -12047,6 +12495,11 @@ Gets or sets the file attributes (Windows only). + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -12060,6 +12513,63 @@ Creation parameters. Instance of which can be used to write to the file. + + + Provides a multiprocess-safe atomic file appends while + keeping the files open. + + + On Unix you can get all the appends to be atomic, even when multiple + processes are trying to write to the same file, because setting the file + pointer to the end of the file and appending can be made one operation. + On Win32 we need to maintain some synchronization between processes + (global named mutex is used for this) + + + + + Initializes a new instance of the class. + + Name of the file. + The parameters. + + + + Writes the specified bytes. + + The bytes to be written. + + + + Closes this instance. + + + + + Flushes this instance. + + + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + + + 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. + + Multi-process and multi-host file appender which attempts @@ -12089,11 +12599,11 @@ Closes this instance. - + - Gets the file info. + Creates a mutually-exclusive lock for archiving files. - The file characteristics, if the file information was retrieved successfully, otherwise null. + A object which can be used for controlling the archiving of files. @@ -12138,12 +12648,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -12819,6 +13323,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -13138,6 +13648,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -13196,6 +13725,81 @@ The to append the rendered data to. Logging event. + + + XML event description compatible with log4j, Chainsaw and NLogViewer. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to include NLog-specific extensions to log4j schema. + + + + + + Gets or sets a value indicating whether the XML should use spaces for indentation. + + + + + + Gets or sets the AppInfo field. By default it's the friendly name of the current AppDomain. + + + + + + Gets or sets a value indicating whether to include call site (class and method name) in the information sent over the network. + + + + + + Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network. + + + + + + Gets or sets a value indicating whether to include contents of the dictionary. + + + + + + Gets or sets a value indicating whether to include contents of the stack. + + + + + + Gets or sets the NDC item separator. + + + + + + Gets the level of stack trace information required by the implementing class. + + + + + Renders the XML logging event and appends it to the specified . + + The to append the rendered data to. + Logging event. + The logger name. @@ -13232,6 +13836,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. @@ -13538,12 +14159,13 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff + @@ -13782,6 +14404,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -14332,6 +14959,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -14567,6 +15227,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -14733,6 +15398,31 @@ The logging event. The rendered layout. + + + A specialized layout that renders Log4j-compatible XML events. + + + This layout is not meant to be used explicitly. Instead you can use ${log4jxmlevent} layout renderer. + + + + + Initializes a new instance of the class. + + + + + Gets the instance that renders log events. + + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + The rendered layout. + Represents a string with embedded placeholders that can render contextual information. @@ -14886,6 +15576,23 @@ Documentation on NLog Wiki + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Initializes a new instance of the class. @@ -14955,6 +15662,13 @@ + + + Gets or sets a value indicating whether to auto-check if the console is available. + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Gets the row highlighting rules. @@ -15162,12 +15876,36 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -15178,6 +15916,7 @@ + Initializes a new instance of the class. @@ -15205,7 +15944,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -15608,6 +16347,17 @@ Logging events to be written out. + + + Build the connectionstring from the properties. + + + Using at first, and falls back to the properties , + , and + + Event to render the layout inside the properties. + + Fake transaction @@ -15769,6 +16519,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -15792,16 +16563,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -15835,21 +16596,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -15900,6 +16656,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -15956,6 +16717,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -16099,6 +16865,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -16142,6 +16913,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -16210,6 +16986,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -16278,13 +17061,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -16334,6 +17110,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -16402,30 +17189,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -16459,11 +17260,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -16496,13 +17298,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -16512,16 +17307,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -17011,6 +17796,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -17720,13 +18511,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -17850,6 +18642,13 @@ queued log messages. + + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. diff --git a/packages/NLog.5.0.0-beta03/lib/sl40/NLog.dll b/packages/NLog.5.0.0-beta03/lib/sl40/NLog.dll new file mode 100644 index 000000000..01a435139 Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/sl40/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/sl40/NLog.xml b/packages/NLog.5.0.0-beta03/lib/sl40/NLog.xml similarity index 96% rename from packages/NLog.4.4.0-betaV15/lib/sl40/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/sl40/NLog.xml index a17a1aa79..6b02b530b 100644 --- a/packages/NLog.4.4.0-betaV15/lib/sl40/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/sl40/NLog.xml @@ -557,6 +557,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -696,6 +703,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -835,6 +849,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -974,6 +995,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -1113,6 +1141,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -1252,6 +1287,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -1827,6 +1869,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -2032,6 +2080,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -2039,6 +2092,28 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. + + Logger cache key. @@ -3038,6 +3113,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -3177,6 +3259,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -3316,6 +3405,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -3455,6 +3551,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -3594,6 +3697,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -3733,6 +3843,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -4774,6 +4891,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -4802,6 +4949,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -4830,6 +5007,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -4858,6 +5065,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -4886,6 +5123,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -4914,6 +5181,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -5025,6 +5322,16 @@ The assembly to log. + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -6777,6 +7084,8 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. @@ -6870,6 +7179,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -7734,6 +8060,41 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -7857,6 +8218,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -7882,6 +8252,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -8100,6 +8475,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -8122,6 +8513,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -8304,8 +8711,11 @@ - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + Interface for fakeable the current AppDomain. + + Not fully implemented, please methods/properties as necessary. + @@ -8365,12 +8775,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -8423,12 +8827,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -8504,14 +8902,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -8528,18 +8918,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -8590,6 +8973,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -8632,12 +9020,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -8681,12 +9063,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -9007,6 +9383,12 @@ Assembly version. + The entry assembly can't be found in some cases e.g. ASP.NET, Unit tests etc. + + + + The (full) name of the assembly. If null, using the entry assembly. + @@ -9229,6 +9611,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -9548,6 +9936,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -9823,12 +10230,13 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff + @@ -10170,6 +10578,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -10720,6 +11133,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -10955,6 +11401,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -12200,12 +12651,36 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -12216,6 +12691,7 @@ + Initializes a new instance of the class. @@ -12243,7 +12719,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -12425,6 +12901,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -12448,11 +12945,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -12486,21 +12978,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -12551,6 +13038,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -12601,6 +13093,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -12744,6 +13241,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -12787,6 +13289,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -12855,6 +13362,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -12923,13 +13437,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -12979,6 +13486,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -13047,30 +13565,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -13104,11 +13636,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -13141,13 +13674,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -13157,16 +13683,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -13790,6 +14306,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -14475,13 +14997,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -14605,6 +15128,13 @@ queued log messages. + + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. diff --git a/packages/NLog.5.0.0-beta03/lib/sl50/NLog.dll b/packages/NLog.5.0.0-beta03/lib/sl50/NLog.dll new file mode 100644 index 000000000..746dcd4ab Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/sl50/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/sl50/NLog.xml b/packages/NLog.5.0.0-beta03/lib/sl50/NLog.xml similarity index 96% rename from packages/NLog.4.4.0-betaV15/lib/sl50/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/sl50/NLog.xml index a17a1aa79..6b02b530b 100644 --- a/packages/NLog.4.4.0-betaV15/lib/sl50/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/sl50/NLog.xml @@ -557,6 +557,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -696,6 +703,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -835,6 +849,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -974,6 +995,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -1113,6 +1141,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -1252,6 +1287,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -1827,6 +1869,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -2032,6 +2080,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -2039,6 +2092,28 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. + + Logger cache key. @@ -3038,6 +3113,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -3177,6 +3259,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -3316,6 +3405,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -3455,6 +3551,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -3594,6 +3697,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -3733,6 +3843,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -4774,6 +4891,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -4802,6 +4949,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -4830,6 +5007,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -4858,6 +5065,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -4886,6 +5123,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -4914,6 +5181,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -5025,6 +5322,16 @@ The assembly to log. + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -6777,6 +7084,8 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. @@ -6870,6 +7179,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -7734,6 +8060,41 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -7857,6 +8218,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -7882,6 +8252,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -8100,6 +8475,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -8122,6 +8513,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -8304,8 +8711,11 @@ - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + Interface for fakeable the current AppDomain. + + Not fully implemented, please methods/properties as necessary. + @@ -8365,12 +8775,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -8423,12 +8827,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -8504,14 +8902,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -8528,18 +8918,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -8590,6 +8973,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -8632,12 +9020,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -8681,12 +9063,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -9007,6 +9383,12 @@ Assembly version. + The entry assembly can't be found in some cases e.g. ASP.NET, Unit tests etc. + + + + The (full) name of the assembly. If null, using the entry assembly. + @@ -9229,6 +9611,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -9548,6 +9936,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -9823,12 +10230,13 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff + @@ -10170,6 +10578,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -10720,6 +11133,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -10955,6 +11401,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -12200,12 +12651,36 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -12216,6 +12691,7 @@ + Initializes a new instance of the class. @@ -12243,7 +12719,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -12425,6 +12901,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -12448,11 +12945,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -12486,21 +12978,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -12551,6 +13038,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -12601,6 +13093,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -12744,6 +13241,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -12787,6 +13289,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -12855,6 +13362,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -12923,13 +13437,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -12979,6 +13486,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -13047,30 +13565,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -13104,11 +13636,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -13141,13 +13674,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -13157,16 +13683,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -13790,6 +14306,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -14475,13 +14997,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -14605,6 +15128,13 @@ queued log messages. + + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. diff --git a/packages/NLog.5.0.0-beta03/lib/wp80/NLog.dll b/packages/NLog.5.0.0-beta03/lib/wp80/NLog.dll new file mode 100644 index 000000000..ff55f3a4b Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/wp80/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/wp80/NLog.xml b/packages/NLog.5.0.0-beta03/lib/wp80/NLog.xml similarity index 95% rename from packages/NLog.4.4.0-betaV15/lib/wp80/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/wp80/NLog.xml index f9d83ebfb..91e27b64d 100644 --- a/packages/NLog.4.4.0-betaV15/lib/wp80/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/wp80/NLog.xml @@ -557,6 +557,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -696,6 +703,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -835,6 +849,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -974,6 +995,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -1113,6 +1141,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -1252,6 +1287,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -1827,6 +1869,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -2032,6 +2080,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -2039,6 +2092,28 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. + + Logger cache key. @@ -3038,6 +3113,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -3177,6 +3259,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -3316,6 +3405,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -3455,6 +3551,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -3594,6 +3697,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -3733,6 +3843,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -4774,6 +4891,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -4802,6 +4949,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -4830,6 +5007,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -4858,6 +5065,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -4886,6 +5123,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -4914,6 +5181,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -5025,6 +5322,16 @@ The assembly to log. + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -6777,6 +7084,8 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. @@ -6870,6 +7179,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -7734,6 +8060,41 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -7857,6 +8218,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -7882,6 +8252,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -8100,6 +8475,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -8122,6 +8513,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -8304,8 +8711,11 @@ - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + Interface for fakeable the current AppDomain. + + Not fully implemented, please methods/properties as necessary. + @@ -8365,12 +8775,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -8423,12 +8827,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -8504,14 +8902,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -8528,18 +8918,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -8590,6 +8973,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -8632,12 +9020,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -8681,12 +9063,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -9007,6 +9383,12 @@ Assembly version. + The entry assembly can't be found in some cases e.g. ASP.NET, Unit tests etc. + + + + The (full) name of the assembly. If null, using the entry assembly. + @@ -9217,6 +9599,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -9536,6 +9924,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -9811,12 +10218,13 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff + @@ -10135,6 +10543,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -10685,6 +11098,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -10920,6 +11366,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -11504,12 +11955,36 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -11520,6 +11995,7 @@ + Initializes a new instance of the class. @@ -11547,7 +12023,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -11729,6 +12205,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -11752,11 +12249,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -11790,21 +12282,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -11855,6 +12342,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -11905,6 +12397,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -12048,6 +12545,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -12091,6 +12593,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -12159,6 +12666,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -12227,13 +12741,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -12283,6 +12790,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -12351,30 +12869,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -12408,11 +12940,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -12445,13 +12978,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -12461,16 +12987,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -12983,6 +13499,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -13668,13 +14190,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -13798,6 +14321,13 @@ queued log messages. + + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. diff --git a/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.dll b/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.dll new file mode 100644 index 000000000..66b1c238b Binary files /dev/null and b/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.dll differ diff --git a/packages/NLog.4.4.0-betaV15/lib/monoandroid23/NLog.xml b/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.xml similarity index 97% rename from packages/NLog.4.4.0-betaV15/lib/monoandroid23/NLog.xml rename to packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.xml index a59948f45..6c8d404ae 100644 --- a/packages/NLog.4.4.0-betaV15/lib/monoandroid23/NLog.xml +++ b/packages/NLog.5.0.0-beta03/lib/xamarinios10/NLog.xml @@ -1910,6 +1910,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -2049,6 +2056,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -2188,6 +2202,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -2327,6 +2348,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -2466,6 +2494,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -2605,6 +2640,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -3438,6 +3480,12 @@ Creates and manages instances of objects. + + + Overwrite possible file paths (including filename) for possible NLog config files. + When this property is null, the default file paths ( are used. + + Occurs when logging changes. @@ -3662,6 +3710,11 @@ Event arguments. + + + Is this in disposing state? + + Releases unmanaged and - optionally - managed resources. @@ -3669,6 +3722,28 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + + + + Get default file paths (including filename) for possible NLog config files. + + Logger cache key. @@ -6276,6 +6351,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Trace level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Trace level. @@ -6415,6 +6497,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Debug level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Debug level. @@ -6554,6 +6643,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Info level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Info level. @@ -6693,6 +6789,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Warn level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Warn level. @@ -6832,6 +6935,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Error level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Error level. @@ -6971,6 +7081,13 @@ A to be written. An exception to be logged. + + + Writes the diagnostic message and exception at the Fatal level. + + A to be written. + An exception to be logged. + Writes the diagnostic message and exception at the Fatal level. @@ -8060,6 +8177,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Trace level. @@ -8088,6 +8235,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Debug level. @@ -8116,6 +8293,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Info level. @@ -8144,6 +8351,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Warn level. @@ -8172,6 +8409,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Error level. @@ -8200,6 +8467,36 @@ Message which may include positional parameters. Arguments to the message. + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + Message which may include positional parameters. + Argument {0} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + + + + Logs the specified message without an at the Trace level. + + The type of the first argument. + The type of the second argument. + The type of the third argument. + Message which may include positional parameters. + Argument {0} to the message. + Argument {1} to the message. + Argument {2} to the message. + Logs the specified message with an at the Fatal level. @@ -8311,6 +8608,16 @@ The assembly to log. + + + Get the setting value from config/Environment. For unsupported platforms, just return + + + + + Get the setting value from config/Environment. For unsupported platforms, just return + + A cyclic buffer of object. @@ -10099,14 +10406,11 @@ A class for configuring NLog through an XML configuration file (App.config style or App.nlog style). + + Parsing of the XML file is also implemented in this class. This class is thread-safe..ToList() is used for that purpose. - - - Prefix for assets in Xamarin Android - - Initializes a new instance of the class. @@ -10212,6 +10516,23 @@ The new object. + + + Get file paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Overwrite the paths (including filename) for the possible NLog config files. + + The filepaths to the possible config file + + + + Clear the candidate file paths and return to the defaults. + + Remove all spaces, also in between text. @@ -10739,11 +11060,6 @@ The logger to write the log event to. current for chaining calls. - - - Various helper methods for accessing state of ASP application. - - Helpers for . @@ -11081,6 +11397,51 @@ The file handle. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + A layout that represents a filePath. + + + + + Cached directory separator char array to avoid memory allocation on each method call. + + + + + Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + + + not null when == false + + + + + non null is fixed, + + + + Initializes a new instance of the class. + + + + Render, as cleaned if requested. + + The log event. + String representation of a layout. + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + + + + Is this (templated/invalid) path an absolute, relative or unknown? + + toString(format) if the object is a @@ -11257,6 +11618,15 @@ The value to check. Name of the parameter. + + + Combine paths + + basepath, not null + optional dir + optional file + + Detects the platform the NLog is running on. @@ -11282,6 +11652,11 @@ Gets a value indicating whether current OS is Unix-based. + + + Gets a value indicating whether current runtime is Mono-based + + Portable implementation of . @@ -11295,39 +11670,6 @@ The file handle. 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. @@ -11533,6 +11875,22 @@ Stream helpers + + + Copy to output stream and skip BOM if encoding is UTF8 + + + + + + + + Copy stream input to output. Skip the first bytes + + stream to read from + stream to write to + .net35 doesn't have a .copyto + Copy stream input to output. Skip the first bytes @@ -11555,6 +11913,22 @@ current logEvent for FormatProvider. Configuration for DefaultCultureInfo + + + Appends int without using culture, and most importantly without garbage + + + value to append + + + + Appends uint without using culture, and most importantly without garbage + + Credits Gavin Pugh - http://www.gavpugh.com/2010/04/01/xnac-avoiding-garbage-when-working-with-stringbuilder/ + + + value to append + Helpers for . @@ -11610,38 +11984,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. @@ -11719,34 +12061,6 @@ The file handle. 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 @@ -11845,8 +12159,11 @@ - Interface for fakeable the current . Not fully implemented, please methods/properties as necessary. + Interface for fakeable the current AppDomain. + + Not fully implemented, please methods/properties as necessary. + @@ -11925,6 +12242,12 @@ The file creation parameters. + + + Gets the mutually-exclusive lock for archiving files. + + The mutex for archiving. + Writes the specified bytes. @@ -11941,12 +12264,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. @@ -11999,12 +12316,6 @@ Flushes this current appender. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Writes the specified bytes to a file. @@ -12080,14 +12391,6 @@ Thrown when is called on an Empty instance. - - - Get fullpath for a relative file pattern, e.g *.log - crashes on patterns: ArgumentException: Illegal characters in path. - - - - Close all the allocated appenders. @@ -12104,18 +12407,11 @@ Fluch all the allocated appenders. - - - Gets the file info for a particular appender. - - The file name associated with a particular appender. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Closes the specified appender and removes it from the list. - File name of the appender to be closed. + File name of the appender to be closed. @@ -12171,6 +12467,11 @@ Gets or sets the file attributes (Windows only). + + + Should we capture the last write time of a file? + + Interface implemented by all factories capable of creating file appenders. @@ -12184,63 +12485,6 @@ Creation parameters. Instance of which can be used to write to the file. - - - Provides a multiprocess-safe atomic file appends while - keeping the files open. - - - On Unix you can get all the appends to be atomic, even when multiple - processes are trying to write to the same file, because setting the file - pointer to the end of the file and appending can be made one operation. - On Win32 we need to maintain some synchronization between processes - (global named mutex is used for this) - - - - - Initializes a new instance of the class. - - Name of the file. - The parameters. - - - - Writes the specified bytes. - - The bytes to be written. - - - - Closes this instance. - - - - - Flushes this instance. - - - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - - - - 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. - - Multi-process and multi-host file appender which attempts @@ -12270,12 +12514,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -12319,12 +12557,6 @@ Closes this instance. - - - Gets the file info. - - The file characteristics, if the file information was retrieved successfully, otherwise null. - Factory class. @@ -12726,88 +12958,16 @@ - - - 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. + The entry assembly can't be found in some cases e.g. ASP.NET, Unit tests etc. + + + + The (full) name of the assembly. If null, using the entry assembly. + @@ -13110,6 +13270,12 @@ + + + Gets or sets the separator used to concatenate exception data specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. @@ -13464,6 +13630,25 @@ True to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Get the for rendering the messages to a + + LogEvent with culture + Culture in on Layout level + + + + + Get the for rendering the messages to a , needed for date and number formats + + LogEvent with culture + Culture in on Layout level + + + is preferred + + Marks class as a layout renderer and assigns a name to it. @@ -13773,18 +13958,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. @@ -14018,24 +14191,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. @@ -14048,67 +14203,13 @@ The to append the rendered data to. Logging event. - + Write timestamp to builder with format hh:mm:ss:fff - - - - 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. + @@ -14443,6 +14544,11 @@ Gets or sets a value indicating when the cache is cleared. + + + Cachekey. If the cachekey changes, resets the value. For example, the cachekey would be the current day.s + + Initializes the layout renderer. @@ -14993,6 +15099,39 @@ The text to be post-processed. Padded and trimmed string. + + + A layout containing one or more nested layouts. + + + + + Initializes a new instance of the class. + + + + + Gets the inner layouts. + + + + + + Initializes the layout. + + + + + Formats the log event relying on inner layouts. + + The log event to be formatted. + A string representation of the log event. + + + + Closes the layout. + + A column in the CSV. @@ -15228,6 +15367,11 @@ Gets or sets the option to suppress the extra spaces in the output json + + + Gets or sets the option to render the empty object value {} + + Formats the log event as a JSON document for writing. @@ -15753,41 +15897,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. @@ -15999,12 +16108,36 @@ + + + Should logging being paused/stopped because of the race condition bug in Console.Writeline? + + + Console.Out.Writeline / Console.Error.Writeline could throw 'IndexOutOfRangeException', which is a bug. + See http://stackoverflow.com/questions/33915790/console-out-and-console-error-race-condition-error-in-a-windows-service-written + and https://connect.microsoft.com/VisualStudio/feedback/details/2057284/console-out-probable-i-o-race-condition-issue-in-multi-threaded-windows-service + + Full error: + Error during session close: System.IndexOutOfRangeException: Probable I/ O race condition detected while copying memory. + The I/ O package is not thread safe by default.In multithreaded applications, + a stream must be accessed in a thread-safe way, such as a thread - safe wrapper returned by TextReader's or + TextWriter's Synchronized methods.This also applies to classes like StreamWriter and StreamReader. + + + Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output. + + + Gets or sets a value indicating whether to auto-check if the console is available + - Disables console writing if Environment.UserInteractive = False (Windows Service) + - Disables console writing if Console Standard Input is not available (Non-Console-App) + + Initializes a new instance of the class. @@ -16015,6 +16148,7 @@ + Initializes a new instance of the class. @@ -16042,7 +16176,7 @@ Note that the Error option is not supported on .NET Compact Framework. - + Write to output @@ -16377,6 +16511,27 @@ AddToArchive every minute. + + + Type of filepath + + + + + Detect of relative or absolute + + + + + Relative path + + + + + Absolute path + + Best for performance + Writes log messages to one or more files. @@ -16400,16 +16555,6 @@ This value disables file archiving based on the size. - - - Cached directory separator char array to avoid memory allocation on each method call. - - - - - Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. - - Holds the initialised files each given time by the instance. Against each file, the last write time is stored. @@ -16443,21 +16588,16 @@ filenames becomes too long. - + The filename as target - + The archive file name as target - - - The filename if is a fixed string - - The date of the previous log event. @@ -16508,6 +16648,11 @@ If set to false, nothing gets written when the filename is wrong. + + + Is the an absolute or relative path? + + Gets or sets a value indicating whether to create directories if they do not exist. @@ -16564,6 +16709,11 @@ + + + Should we capture the last write time of a file? + + Gets or sets the line ending mode. @@ -16707,6 +16857,11 @@ + + + Is the an absolute or relative path? + + Gets or sets the name of the file to be used for an archive. @@ -16750,6 +16905,11 @@ Gets or set a value indicating whether a managed file stream is forced, instead of used the native implementation. + + + Gets or sets a value indicating whether the footer should be written only when the file is archived. + + Gets the characters that are appended after each line. @@ -16818,6 +16978,13 @@ The logging event. + + + Get full filename (=absolute) and cleaned if needed. + + + + Writes the specified array of logging events to a file specified in the FileName @@ -16886,13 +17053,6 @@ File name template which contains the numeric pattern to be replaced. Value which will replace the numeric pattern. - - - Moves the archive file to the specified file name. - - The archive file to move. - The destination file name. - Archives the using a sequence style numbering. The most recent archive has the @@ -16942,6 +17102,17 @@ An enumeration of archive infos, ordered by their file creation date. + + + Parse filename with date and sequence pattern + + + dateformat for archive + + the found pattern. When failed, then default + the found pattern. When failed, then default + + Gets the collection of files in the specified directory which they match the . @@ -17010,30 +17181,44 @@ when old archives should be deleted; otherwise. - + + + Archives the file if it should be archived. + + The file name to check for. + Log event that the instance is currently processing. + The size in bytes of the next chunk of data to be written in the file. + + Indicates if the automatic archiving process should be executed. File name to be written. Log event that the instance is currently processing. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on file size constrains. + Returns the correct filename to archive + + + + + + Gets the file name for archiving, or null if archiving should not occur based on file size. File name to be written. The size in bytes of the next chunk of data to be written in the file. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. - + - Indicates if the automatic archiving process should be executed based on date/time constrains. + Returns the file name for archiving, or null if archiving should not occur based on date/time. File name to be written. Log event that the instance is currently processing. - when archiving should be executed; otherwise. + Filename to archive. If null, then nothing to archive. @@ -17067,11 +17252,12 @@ Indicates that only content section should be written in the file. when file header should be written; otherwise. - + - Writes the file footer and uninitialise the file in instance internal structures. + Writes the file footer and finalizes the file in instance internal structures. File name to be written. + Indicates if the file is being finalized for archiving. @@ -17104,13 +17290,6 @@ File appender associated with the file. - - - Returns the length of a specified file and the last time it has been written. File appender is queried before the file system. - - File which the information are requested. - The file characteristics, if the file information was retrieved successfully, otherwise null. - The sequence of to be written in a file after applying any formating and any @@ -17120,16 +17299,6 @@ Sequence of to be written. Usually it is used to render the header and hooter of the files. - - - Replaces any invalid characters found in the with underscore i.e _ character. - Invalid characters are defined by .NET framework and they returned by method. - Note: not implemented in Silverlight - - The original file name which might contain invalid characters. - The cleaned up file name without any invalid characters. - Creates an instance of class. @@ -17897,6 +18066,12 @@ + + + Gets or sets the end of line value if a newline is appended at the end of log message . + + + Gets or sets the maximum message size in bytes. @@ -18190,50 +18365,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. @@ -18788,13 +18919,14 @@ action is taken as specified by . The log event info. + Queue was empty before enqueue Dequeues a maximum of count items from the queue and adds returns the list containing them. - Maximum number of items to be dequeued. + Maximum number of items to be dequeued (-1 means everything). The array of log events. @@ -18918,6 +19050,13 @@ queued log messages.
+ + + Attempts to start an instant timer-worker-thread which can write + queued log messages. + + Returns true when scheduled a timer-worker-thread + Stops the lazy writer thread. @@ -19264,119 +19403,6 @@ 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. - - Logon provider.