diff --git a/ArchiSteamFarm/packages.config b/ArchiSteamFarm/packages.config index c459ec7ed..3b5c2d6b6 100644 --- a/ArchiSteamFarm/packages.config +++ b/ArchiSteamFarm/packages.config @@ -8,7 +8,7 @@ - + diff --git a/GUI/packages.config b/GUI/packages.config index 0f52302a5..6c1d17c66 100644 --- a/GUI/packages.config +++ b/GUI/packages.config @@ -8,7 +8,7 @@ - + diff --git a/packages/NLog.5.0.0-beta05-test/NLog.5.0.0-beta05-test.nupkg b/packages/NLog.5.0.0-beta05-test/NLog.5.0.0-beta05-test.nupkg deleted file mode 100644 index 94ae3dcd2..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/NLog.5.0.0-beta05-test.nupkg and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/monoandroid23/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/monoandroid23/NLog.dll deleted file mode 100644 index bf1f2e6ee..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/monoandroid23/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/net35/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/net35/NLog.dll deleted file mode 100644 index 070d35973..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/net35/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/net40/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/net40/NLog.dll deleted file mode 100644 index d5a999e00..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/net40/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/net45/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/net45/NLog.dll deleted file mode 100644 index a40a83d9d..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/net45/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/netstandard1.3/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/netstandard1.3/NLog.dll deleted file mode 100644 index 37b4c812b..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/netstandard1.3/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/netstandard1.5/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/netstandard1.5/NLog.dll deleted file mode 100644 index 6b1db725b..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/netstandard1.5/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/sl40/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/sl40/NLog.dll deleted file mode 100644 index 908c88417..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/sl40/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/sl50/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/sl50/NLog.dll deleted file mode 100644 index d3b726daa..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/sl50/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/wp80/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/wp80/NLog.dll deleted file mode 100644 index f0e6d51a0..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/wp80/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/xamarinios10/NLog.dll b/packages/NLog.5.0.0-beta05-test/lib/xamarinios10/NLog.dll deleted file mode 100644 index 77782f1a9..000000000 Binary files a/packages/NLog.5.0.0-beta05-test/lib/xamarinios10/NLog.dll and /dev/null differ diff --git a/packages/NLog.5.0.0-beta06/NLog.5.0.0-beta06.nupkg b/packages/NLog.5.0.0-beta06/NLog.5.0.0-beta06.nupkg new file mode 100644 index 000000000..123d84d45 Binary files /dev/null and b/packages/NLog.5.0.0-beta06/NLog.5.0.0-beta06.nupkg differ diff --git a/packages/NLog.5.0.0-beta06/lib/monoandroid23/NLog.dll b/packages/NLog.5.0.0-beta06/lib/monoandroid23/NLog.dll new file mode 100644 index 000000000..2011629cc Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/monoandroid23/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/xamarinios10/NLog.xml b/packages/NLog.5.0.0-beta06/lib/monoandroid23/NLog.xml similarity index 96% rename from packages/NLog.5.0.0-beta05-test/lib/xamarinios10/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/monoandroid23/NLog.xml index 3cb6f032d..a6dce379e 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/xamarinios10/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/monoandroid23/NLog.xml @@ -3740,7 +3740,7 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. @@ -6292,6 +6292,12 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Raises the event when the logger is reconfigured. + + Event arguments + Gets a value indicating whether logging is enabled for the Trace level. @@ -7326,12 +7332,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -7480,11 +7487,6 @@ This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -8249,6 +8251,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -8294,6 +8303,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -8307,6 +8324,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -8352,6 +8376,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -8365,6 +8397,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -8410,6 +8449,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -8423,6 +8470,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -8468,6 +8522,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -8481,6 +8543,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -8526,6 +8595,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -8539,6 +8616,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -8584,6 +8668,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -8643,6 +8735,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -10594,6 +10703,11 @@ This class is thread-safe..ToList() is used for that purpose. + + + Prefix for assets in Xamarin Android + + Initializes a new instance of the class. @@ -10757,6 +10871,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -10795,6 +10916,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -11252,6 +11381,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -11272,6 +11411,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -11629,11 +11796,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -11755,6 +11923,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -11818,18 +12016,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -11869,6 +12055,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -11882,6 +12073,39 @@ The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. + + + Portable implementation of . + + + + + Initializes a new instance of the class. + + + + + Gets current thread ID. + + + + + + Gets current process name. + + + + + + Gets current process name (excluding filename extension, if any). + + + + + + Gets the name of the process. + + Reflection helpers for accessing properties. @@ -11963,6 +12187,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -12099,13 +12399,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -12121,7 +12421,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -12343,6 +12643,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. @@ -12415,19 +12747,6 @@ target for the encoded result s for how to perform the encoding - - - Win32-optimized implementation of . - - - - - Gets the information about a file. - - Name of the file. - The file stream. - The file characteristics, if the file information was retrieved successfully, otherwise null. - Helper class for XML @@ -12592,21 +12911,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -12699,12 +13024,6 @@ Name of the file. The create parameters. - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - Implementation of which caches @@ -12748,11 +13067,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -12812,6 +13133,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -12823,7 +13149,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -12894,11 +13220,6 @@ Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - Gets or sets the file attributes (Windows only). - - Should we capture the last write time of a file? @@ -12917,6 +13238,28 @@ Creation parameters. Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -12930,11 +13273,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -12993,11 +13338,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13448,12 +13795,22 @@ The current application domain's base directory. - + + + cached + + + + + Use base dir of current process. + + + Initializes a new instance of the class. - + Initializes a new instance of the class. @@ -14116,6 +14473,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -14497,6 +14861,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. @@ -14736,6 +15112,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. @@ -15135,12 +15529,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -15188,12 +15581,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -15375,12 +15767,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -15405,12 +15796,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -15429,12 +15825,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -15464,12 +15859,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -15520,21 +15914,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -15552,21 +15943,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -15635,6 +16023,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -15686,6 +16115,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -15820,7 +16256,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -15844,6 +16287,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -15941,6 +16391,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -16022,6 +16479,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -16123,6 +16604,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -16148,6 +16636,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -16267,6 +16762,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Service contract for Log Receiver client. @@ -16694,7 +17197,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -17209,7 +17712,7 @@ The filename as target - + The archive file name as target @@ -17310,6 +17813,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -17319,12 +17824,6 @@ - - - Gets or sets the file attributes (Windows only). - - - Should we capture the last write time of a file? @@ -17376,6 +17875,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -17587,6 +18092,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -17602,6 +18122,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -17613,6 +18143,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -17634,6 +18171,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -17836,19 +18396,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -17890,7 +18446,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -18344,6 +18900,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -19026,6 +19592,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -19041,6 +19614,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -19098,6 +19676,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -19155,6 +19739,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -19163,6 +19757,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -19175,6 +19777,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -19475,6 +20085,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -19499,95 +20120,6 @@ the requested kind of HTTP request - - - Win32 file attributes. - - - For more information see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - Asynchronous request queue. @@ -19632,6 +20164,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -19726,6 +20265,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -19733,7 +20279,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -19859,6 +20405,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -19924,7 +20481,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -20266,6 +20823,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -20425,6 +20992,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -20622,6 +21208,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.5.0.0-beta06/lib/net35/NLog.dll b/packages/NLog.5.0.0-beta06/lib/net35/NLog.dll new file mode 100644 index 000000000..e7d9a8791 Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/net35/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/net45/NLog.xml b/packages/NLog.5.0.0-beta06/lib/net35/NLog.xml similarity index 96% rename from packages/NLog.5.0.0-beta05-test/lib/net45/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/net35/NLog.xml index 1b2fc199f..5dd485427 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/net45/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/net35/NLog.xml @@ -3253,46 +3253,6 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. - - - Logs an exception is logged at Error level if the provided task does not run to completion. - - The task for which to log an error if it does not run to completion. - This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. - - - - Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. - - The task for which to log an error if it does not run to completion. - A task that completes in the state when completes. - - - - Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. - - Async action to execute. - A task that completes in the state when completes. - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a default value is returned instead. - - Return type of the provided function. - Async function to run. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . - - - - Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. - The exception is not propagated outside of this method; a fallback value is returned instead. - - Return type of the provided function. - Async function to run. - Fallback value to return if the task does not end in the state. - A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. - Represents the logging event. @@ -3559,6 +3519,11 @@ Occurs when logging gets reloaded. + + + Initializes static members of the LogManager class. + + Initializes a new instance of the class. @@ -3785,10 +3750,16 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. + + + Raises the event when the configuration is reloaded. + + Event arguments + Is this in disposing state? @@ -6337,44 +6308,11 @@ 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. + Raises the event when the logger is reconfigured. - 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. + Event arguments @@ -7410,12 +7348,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -7564,11 +7503,6 @@ This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -7831,93 +7765,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. - - - - - 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. @@ -8589,6 +8436,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -8634,6 +8488,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -8647,6 +8509,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -8692,6 +8561,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -8705,6 +8582,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -8750,6 +8634,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -8763,6 +8655,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -8808,6 +8707,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -8821,6 +8728,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -8866,6 +8780,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -8879,6 +8801,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -8924,6 +8853,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -8987,6 +8924,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -10558,6 +10512,12 @@ Arguments for . + + + Initializes a new instance of the class. + + Whether configuration reload has succeeded. + Initializes a new instance of the class. @@ -11162,6 +11122,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -11200,6 +11167,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -11449,61 +11424,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. @@ -11640,31 +11560,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. @@ -11721,6 +11632,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -11741,6 +11662,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Internal configuration manager used to read .NET configuration files. @@ -12110,11 +12059,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -12246,6 +12196,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -12292,7 +12272,7 @@ The types of changes to watch for. - + Occurs when a change is detected in one of the monitored files. @@ -12328,6 +12308,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 @@ -12347,18 +12332,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -12398,6 +12371,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -12525,6 +12503,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -12661,13 +12715,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -12683,7 +12737,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -13060,13 +13114,6 @@ removes any unusual unicode characters that can't be encoded into XML - - - Cleans string of any invalid XML chars found - - unclean string - string with only valid XML chars - Safe version of WriteAttributeString @@ -13214,21 +13261,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -13389,11 +13442,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13463,6 +13518,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -13474,7 +13534,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -13588,11 +13648,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13645,6 +13707,28 @@ Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -13658,11 +13742,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13727,11 +13813,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13799,11 +13887,19 @@ File to create or open - + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -14153,14 +14249,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. @@ -14174,19 +14262,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. @@ -14261,12 +14336,22 @@ The current application domain's base directory. - + + + cached + + + + + Use base dir of current process. + + + Initializes a new instance of the class. - + Initializes a new instance of the class. @@ -14929,6 +15014,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -15205,24 +15297,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. @@ -15751,12 +15825,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. @@ -16184,12 +16252,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -16237,12 +16304,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -16424,12 +16490,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -16454,12 +16519,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -16478,12 +16548,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -16513,12 +16582,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -16569,21 +16637,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -16601,21 +16666,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -16684,6 +16746,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -16735,6 +16838,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -16869,7 +16979,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -16893,6 +17010,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -16990,6 +17114,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -17071,6 +17202,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -17172,6 +17327,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -17197,6 +17359,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -17316,6 +17485,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Base implementation of a log receiver server which forwards received logs through or a given . @@ -17525,12 +17702,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 . @@ -17904,12 +18075,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. @@ -18067,12 +18232,6 @@ Occurs when Close operation has completed. - - - Gets or sets the cookie container. - - The cookie container. - Opens the client asynchronously. @@ -18611,7 +18770,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -19087,6 +19246,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -19562,7 +19731,7 @@ The filename as target - + The archive file name as target @@ -19663,6 +19832,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -19729,6 +19900,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -19945,6 +20122,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -19960,6 +20152,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -19971,6 +20173,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -19992,6 +20201,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -20194,19 +20426,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -20248,7 +20476,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -20596,6 +20824,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -20820,6 +21058,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -21664,6 +21912,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -21679,6 +21934,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -21736,6 +21996,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -21793,6 +22059,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -21801,6 +22077,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -21813,6 +22097,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -22113,6 +22405,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -22226,19 +22529,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. @@ -22283,6 +22573,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -22377,6 +22674,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -22384,7 +22688,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -22510,6 +22814,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -22575,7 +22890,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -22855,6 +23170,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Changes the security context, forwards the call to the .Write() and switches the context back to original. @@ -23030,6 +23355,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -23189,6 +23524,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -23386,6 +23740,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.5.0.0-beta06/lib/net40/NLog.dll b/packages/NLog.5.0.0-beta06/lib/net40/NLog.dll new file mode 100644 index 000000000..00154e62b Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/net40/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/net40/NLog.xml b/packages/NLog.5.0.0-beta06/lib/net40/NLog.xml similarity index 96% rename from packages/NLog.5.0.0-beta05-test/lib/net40/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/net40/NLog.xml index d5de7efb4..4f763053f 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/net40/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/net40/NLog.xml @@ -3519,6 +3519,11 @@ Occurs when logging gets reloaded. + + + Initializes static members of the LogManager class. + + Initializes a new instance of the class. @@ -3745,10 +3750,16 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. + + + Raises the event when the configuration is reloaded. + + Event arguments + Is this in disposing state? @@ -6297,6 +6308,12 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Raises the event when the logger is reconfigured. + + Event arguments + Gets a value indicating whether logging is enabled for the Trace level. @@ -7331,12 +7348,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -7485,11 +7503,6 @@ This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -8510,6 +8523,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -8555,6 +8575,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -8568,6 +8596,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -8613,6 +8648,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -8626,6 +8669,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -8671,6 +8721,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -8684,6 +8742,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -8729,6 +8794,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -8742,6 +8815,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -8787,6 +8867,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -8800,6 +8888,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -8845,6 +8940,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -8908,6 +9011,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -10479,6 +10599,12 @@ Arguments for . + + + Initializes a new instance of the class. + + Whether configuration reload has succeeded. + Initializes a new instance of the class. @@ -11083,6 +11209,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -11121,6 +11254,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -11578,6 +11719,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -11598,6 +11749,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Internal configuration manager used to read .NET configuration files. @@ -11967,11 +12146,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -12103,6 +12283,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -12149,7 +12359,7 @@ The types of changes to watch for. - + Occurs when a change is detected in one of the monitored files. @@ -12204,18 +12414,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -12255,6 +12453,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -12382,6 +12585,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -12518,13 +12797,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -12540,7 +12819,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -13071,21 +13350,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -13246,11 +13531,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13320,6 +13607,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -13331,7 +13623,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -13445,11 +13737,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13502,6 +13796,28 @@ Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -13515,11 +13831,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13584,11 +13902,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13656,11 +13976,19 @@ File to create or open - + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -14097,12 +14425,22 @@ The current application domain's base directory. - + + + cached + + + + + Use base dir of current process. + + + Initializes a new instance of the class. - + Initializes a new instance of the class. @@ -14765,6 +15103,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -16020,12 +16365,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -16073,12 +16417,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -16260,12 +16603,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -16290,12 +16632,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -16314,12 +16661,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -16349,12 +16695,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -16405,21 +16750,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -16437,21 +16779,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -16520,6 +16859,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -16571,6 +16951,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -16705,7 +17092,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -16729,6 +17123,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -16826,6 +17227,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -16907,6 +17315,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -17008,6 +17440,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -17033,6 +17472,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -17152,6 +17598,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Base implementation of a log receiver server which forwards received logs through or a given . @@ -18429,7 +18883,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -18905,6 +19359,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -19380,7 +19844,7 @@ The filename as target - + The archive file name as target @@ -19481,6 +19945,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -19547,6 +20013,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -19763,6 +20235,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -19778,6 +20265,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -19789,6 +20286,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -19810,6 +20314,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -20012,19 +20539,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -20066,7 +20589,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -20414,6 +20937,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -20638,6 +21171,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -21482,6 +22025,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -21497,6 +22047,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -21554,6 +22109,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -21611,6 +22172,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -21619,6 +22190,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -21631,6 +22210,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -21931,6 +22518,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -22088,6 +22686,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -22182,6 +22787,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -22189,7 +22801,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -22315,6 +22927,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -22380,7 +23003,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -22660,6 +23283,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Changes the security context, forwards the call to the .Write() and switches the context back to original. @@ -22835,6 +23468,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -22994,6 +23637,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -23191,6 +23853,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.5.0.0-beta06/lib/net45/NLog.dll b/packages/NLog.5.0.0-beta06/lib/net45/NLog.dll new file mode 100644 index 000000000..ad3a524b5 Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/net45/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/net35/NLog.xml b/packages/NLog.5.0.0-beta06/lib/net45/NLog.xml similarity index 95% rename from packages/NLog.5.0.0-beta05-test/lib/net35/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/net45/NLog.xml index be9705363..2f5b3c6bb 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/net35/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/net45/NLog.xml @@ -3253,6 +3253,46 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Logs an exception is logged at Error level if the provided task does not run to completion. + + The task for which to log an error if it does not run to completion. + This method is useful in fire-and-forget situations, where application logic does not depend on completion of task. This method is avoids C# warning CS4014 in such situations. + + + + Returns a task that completes when a specified task to completes. If the task does not run to completion, an exception is logged at Error level. The returned task always runs to completion. + + The task for which to log an error if it does not run to completion. + A task that completes in the state when completes. + + + + Runs async action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method. + + Async action to execute. + A task that completes in the state when completes. + + + + Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. + The exception is not propagated outside of this method; a default value is returned instead. + + Return type of the provided function. + Async function to run. + A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the default value of type . + + + + Runs the provided async function and returns its result. If the task does not run to completion, an exception is logged at Error level. + The exception is not propagated outside of this method; a fallback value is returned instead. + + Return type of the provided function. + Async function to run. + Fallback value to return if the task does not end in the state. + A task that represents the completion of the supplied task. If the supplied task ends in the state, the result of the new task will be the result of the supplied task; otherwise, the result of the new task will be the fallback value. + Represents the logging event. @@ -3519,6 +3559,11 @@ Occurs when logging gets reloaded. + + + Initializes static members of the LogManager class. + + Initializes a new instance of the class. @@ -3745,10 +3790,16 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. + + + Raises the event when the configuration is reloaded. + + Event arguments + Is this in disposing state? @@ -6297,6 +6348,51 @@ 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. + + + + Raises the event when the logger is reconfigured. + + Event arguments + Gets a value indicating whether logging is enabled for the Trace level. @@ -7331,12 +7427,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -7485,11 +7582,6 @@ This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -7752,6 +7844,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. @@ -8423,6 +8602,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -8468,6 +8654,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -8481,6 +8675,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -8526,6 +8727,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -8539,6 +8748,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -8584,6 +8800,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -8597,6 +8821,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -8642,6 +8873,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -8655,6 +8894,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -8700,6 +8946,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -8713,6 +8967,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -8758,6 +9019,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -8821,6 +9090,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -10392,6 +10678,12 @@ Arguments for . + + + Initializes a new instance of the class. + + Whether configuration reload has succeeded. + Initializes a new instance of the class. @@ -10996,6 +11288,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -11034,6 +11333,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -11283,6 +11590,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. @@ -11419,22 +11781,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. @@ -11491,6 +11862,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -11511,6 +11892,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Internal configuration manager used to read .NET configuration files. @@ -11880,11 +12289,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -12016,6 +12426,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -12062,7 +12502,7 @@ The types of changes to watch for. - + Occurs when a change is detected in one of the monitored files. @@ -12098,11 +12538,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 @@ -12122,18 +12557,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -12173,6 +12596,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -12300,6 +12728,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -12436,13 +12940,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -12458,7 +12962,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -12835,6 +13339,13 @@ removes any unusual unicode characters that can't be encoded into XML + + + Cleans string of any invalid XML chars found + + unclean string + string with only valid XML chars + Safe version of WriteAttributeString @@ -12982,21 +13493,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -13157,11 +13674,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13231,6 +13750,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -13242,7 +13766,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -13356,11 +13880,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13413,6 +13939,28 @@ Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -13426,11 +13974,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13495,11 +14045,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13567,11 +14119,19 @@ File to create or open - + + + Creates a mutually-exclusive lock for archiving files. + + A object which can be used for controlling the archiving of files. + + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13921,6 +14481,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. @@ -13934,6 +14502,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. @@ -14008,12 +14589,22 @@ The current application domain's base directory. - + + + cached + + + + + Use base dir of current process. + + + Initializes a new instance of the class. - + Initializes a new instance of the class. @@ -14676,6 +15267,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -14952,6 +15550,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. @@ -15480,6 +16096,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. @@ -15907,12 +16529,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -15960,12 +16581,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -16147,12 +16767,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -16177,12 +16796,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -16201,12 +16825,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -16236,12 +16859,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -16292,21 +16914,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -16324,21 +16943,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -16407,6 +17023,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -16458,6 +17115,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -16592,7 +17256,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -16616,6 +17287,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -16713,6 +17391,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -16794,6 +17479,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -16895,6 +17604,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -16920,6 +17636,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -17039,6 +17762,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Base implementation of a log receiver server which forwards received logs through or a given . @@ -17248,6 +17979,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 . @@ -17621,6 +18358,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. @@ -17778,6 +18521,12 @@ Occurs when Close operation has completed. + + + Gets or sets the cookie container. + + The cookie container. + Opens the client asynchronously. @@ -18316,7 +19065,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -18792,6 +19541,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -19267,7 +20026,7 @@ The filename as target - + The archive file name as target @@ -19368,6 +20127,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -19434,6 +20195,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -19650,6 +20417,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -19665,6 +20447,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -19676,6 +20468,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -19697,6 +20496,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -19899,19 +20721,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -19953,7 +20771,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -20301,6 +21119,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -20525,6 +21353,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -21369,6 +22207,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -21384,6 +22229,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -21441,6 +22291,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -21498,6 +22354,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -21506,6 +22372,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -21518,6 +22392,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -21818,6 +22700,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -21931,6 +22824,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. @@ -21975,6 +22881,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -22069,6 +22982,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -22076,7 +22996,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -22202,6 +23122,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -22267,7 +23198,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -22547,6 +23478,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Changes the security context, forwards the call to the .Write() and switches the context back to original. @@ -22722,6 +23663,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -22881,6 +23832,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -23078,6 +24048,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.5.0.0-beta06/lib/netstandard1.3/NLog.dll b/packages/NLog.5.0.0-beta06/lib/netstandard1.3/NLog.dll new file mode 100644 index 000000000..f19b7abf7 Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/netstandard1.3/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/netstandard1.5/NLog.xml b/packages/NLog.5.0.0-beta06/lib/netstandard1.3/NLog.xml similarity index 96% rename from packages/NLog.5.0.0-beta05-test/lib/netstandard1.5/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/netstandard1.3/NLog.xml index e61b3ea9d..d84b7f4af 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/netstandard1.5/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/netstandard1.3/NLog.xml @@ -3559,6 +3559,11 @@ Occurs when logging gets reloaded. + + + Initializes static members of the LogManager class. + + Initializes a new instance of the class. @@ -3570,6 +3575,11 @@ The config. + + + Gets the current . + + Gets or sets a value indicating whether exceptions should be thrown. See also . @@ -3761,10 +3771,16 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. + + + Raises the event when the configuration is reloaded. + + Event arguments + Is this in disposing state? @@ -6352,6 +6368,12 @@ 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. + + + Raises the event when the logger is reconfigured. + + Event arguments + Gets a value indicating whether logging is enabled for the Trace level. @@ -7386,12 +7408,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -8278,6 +8301,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -8323,6 +8353,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -8336,6 +8374,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -8381,6 +8426,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -8394,6 +8447,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -8439,6 +8499,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -8452,6 +8520,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -8497,6 +8572,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -8510,6 +8593,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -8555,6 +8645,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -8568,6 +8666,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -8613,6 +8718,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -8676,6 +8789,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -10197,6 +10327,12 @@ Arguments for . + + + Initializes a new instance of the class. + + Whether configuration reload has succeeded. + Initializes a new instance of the class. @@ -10782,6 +10918,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -10820,6 +10963,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -11341,6 +11492,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -11353,6 +11514,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -11685,6 +11874,11 @@ Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + not null when == false + + non null is fixed, @@ -11705,11 +11899,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -11787,6 +11982,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -11833,7 +12058,7 @@ The types of changes to watch for. - + Occurs when a change is detected in one of the monitored files. @@ -11879,18 +12104,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -11930,6 +12143,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -12024,6 +12242,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -12160,13 +12454,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -12182,7 +12476,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -12533,6 +12827,44 @@ + + Initializes a new instance of the class. + + + + 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. + + Interface for fakeable the current AppDomain. @@ -12594,21 +12926,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -12769,11 +13107,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -12833,6 +13173,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -12844,7 +13189,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -12958,11 +13303,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13015,6 +13362,28 @@ Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -13028,11 +13397,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13097,11 +13468,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13519,9 +13892,14 @@ The current application domain's base directory. + + + Initializes a new instance of the class. + + - Initializes a new instance of the class + Initializes a new instance of the class. @@ -14147,6 +14525,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -14388,23 +14773,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. @@ -15002,12 +15370,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -15055,12 +15422,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -15242,12 +15608,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -15272,12 +15637,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -15296,12 +15666,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -15331,12 +15700,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -15387,21 +15755,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -15419,21 +15784,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -15502,6 +15864,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -15553,6 +15956,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -15687,7 +16097,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -15711,6 +16128,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -15808,6 +16232,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -15889,6 +16320,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -15990,6 +16445,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -16015,6 +16477,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -16134,6 +16603,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Specifies the way archive numbering is performed. @@ -16468,7 +16945,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -16932,6 +17409,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -17223,7 +17710,7 @@ The filename as target - + The archive file name as target @@ -17324,6 +17811,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -17390,6 +17879,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -17606,6 +18101,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -17621,6 +18131,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -17632,6 +18152,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -17653,6 +18180,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -17855,19 +18405,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -17909,7 +18455,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -18663,6 +19209,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -18678,6 +19231,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -18735,6 +19293,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -18792,6 +19356,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -18800,6 +19374,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -18812,6 +19394,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -19065,6 +19655,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -19235,6 +19836,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -19329,6 +19937,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -19336,7 +19951,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -19462,6 +20077,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -19527,7 +20153,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -19869,6 +20495,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -20028,6 +20664,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -20225,6 +20880,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.5.0.0-beta06/lib/netstandard1.5/NLog.dll b/packages/NLog.5.0.0-beta06/lib/netstandard1.5/NLog.dll new file mode 100644 index 000000000..3839fa543 Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/netstandard1.5/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/netstandard1.3/NLog.xml b/packages/NLog.5.0.0-beta06/lib/netstandard1.5/NLog.xml similarity index 96% rename from packages/NLog.5.0.0-beta05-test/lib/netstandard1.3/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/netstandard1.5/NLog.xml index 20d93ed6d..896d043e5 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/netstandard1.3/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/netstandard1.5/NLog.xml @@ -3559,6 +3559,11 @@ Occurs when logging gets reloaded. + + + Initializes static members of the LogManager class. + + Initializes a new instance of the class. @@ -3570,6 +3575,11 @@ The config. + + + Gets the current . + + Gets or sets a value indicating whether exceptions should be thrown. See also . @@ -3761,10 +3771,16 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. + + + Raises the event when the configuration is reloaded. + + Event arguments + Is this in disposing state? @@ -6352,6 +6368,12 @@ 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. + + + Raises the event when the logger is reconfigured. + + Event arguments + Gets a value indicating whether logging is enabled for the Trace level. @@ -7386,12 +7408,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -8278,6 +8301,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -8323,6 +8353,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -8336,6 +8374,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -8381,6 +8426,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -8394,6 +8447,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -8439,6 +8499,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -8452,6 +8520,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -8497,6 +8572,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -8510,6 +8593,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -8555,6 +8645,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -8568,6 +8666,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -8613,6 +8718,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -8676,6 +8789,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -10197,6 +10327,12 @@ Arguments for . + + + Initializes a new instance of the class. + + Whether configuration reload has succeeded. + Initializes a new instance of the class. @@ -10782,6 +10918,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -10820,6 +10963,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -11341,6 +11492,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -11353,6 +11514,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -11685,6 +11874,11 @@ Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called. + + + not null when == false + + non null is fixed, @@ -11705,11 +11899,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -11787,6 +11982,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -11833,7 +12058,7 @@ The types of changes to watch for. - + Occurs when a change is detected in one of the monitored files. @@ -11879,18 +12104,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -11930,6 +12143,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -12024,6 +12242,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -12160,13 +12454,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -12182,7 +12476,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -12533,6 +12827,44 @@ + + Initializes a new instance of the class. + + + + 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. + + Interface for fakeable the current AppDomain. @@ -12594,21 +12926,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -12769,11 +13107,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -12833,6 +13173,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -12844,7 +13189,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -12958,11 +13303,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13015,6 +13362,28 @@ Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -13028,11 +13397,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13097,11 +13468,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13519,9 +13892,14 @@ The current application domain's base directory. + + + Initializes a new instance of the class. + + - Initializes a new instance of the class + Initializes a new instance of the class. @@ -14147,6 +14525,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -14388,6 +14773,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. @@ -14985,12 +15387,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -15038,12 +15439,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -15225,12 +15625,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -15255,12 +15654,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -15279,12 +15683,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -15314,12 +15717,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -15370,21 +15772,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -15402,21 +15801,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -15485,6 +15881,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -15536,6 +15973,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -15670,7 +16114,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -15694,6 +16145,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -15791,6 +16249,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -15872,6 +16337,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -15973,6 +16462,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -15998,6 +16494,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -16117,6 +16620,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Specifies the way archive numbering is performed. @@ -16451,7 +16962,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -16915,6 +17426,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -17206,7 +17727,7 @@ The filename as target - + The archive file name as target @@ -17307,6 +17828,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -17373,6 +17896,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -17589,6 +18118,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -17604,6 +18148,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -17615,6 +18169,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -17636,6 +18197,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -17838,19 +18422,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -17892,7 +18472,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -18646,6 +19226,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -18661,6 +19248,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -18718,6 +19310,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -18775,6 +19373,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -18783,6 +19391,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -18795,6 +19411,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -19048,6 +19672,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -19218,6 +19853,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -19312,6 +19954,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -19319,7 +19968,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -19445,6 +20094,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -19510,7 +20170,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -19852,6 +20512,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -20011,6 +20681,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -20208,6 +20897,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.5.0.0-beta06/lib/sl40/NLog.dll b/packages/NLog.5.0.0-beta06/lib/sl40/NLog.dll new file mode 100644 index 000000000..40b126727 Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/sl40/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/sl40/NLog.xml b/packages/NLog.5.0.0-beta06/lib/sl40/NLog.xml similarity index 95% rename from packages/NLog.5.0.0-beta05-test/lib/sl40/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/sl40/NLog.xml index 149187a95..c87102a5e 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/sl40/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/sl40/NLog.xml @@ -2110,7 +2110,7 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. @@ -3054,6 +3054,12 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Raises the event when the logger is reconfigured. + + Event arguments + Gets a value indicating whether logging is enabled for the Trace level. @@ -4088,12 +4094,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -4963,6 +4970,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -5008,6 +5022,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -5021,6 +5043,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -5066,6 +5095,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -5079,6 +5116,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -5124,6 +5168,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -5137,6 +5189,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -5182,6 +5241,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -5195,6 +5262,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -5240,6 +5314,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -5253,6 +5335,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -5298,6 +5387,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -5357,6 +5454,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -7420,6 +7534,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -7458,6 +7579,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -7915,6 +8044,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -7935,6 +8074,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -8262,6 +8429,11 @@ Cached directory separator char array to avoid memory allocation on each method call. + + + not null when == false + + non null is fixed, @@ -8282,11 +8454,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -8364,6 +8537,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -8418,18 +8621,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -8469,6 +8660,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -8563,6 +8759,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -8699,13 +8971,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -8721,7 +8993,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -9083,6 +9355,41 @@ Gets a the current wrappered in a . + + + 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. + + Interface for fakeable the current AppDomain. @@ -9091,6 +9398,41 @@ 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. @@ -9109,21 +9451,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -9259,11 +9607,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -9323,6 +9673,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -9334,7 +9689,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -9423,6 +9778,28 @@ Creation parameters. Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -9436,11 +9813,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -9499,11 +9878,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -9864,6 +10245,40 @@ The to append the rendered data to. Logging event. + + + The current application domain's base directory. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. + + + + + + Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. + + + + + + Renders the application base directory and appends it to the specified . + + The to append the rendered data to. + Logging event. + The call site (class name, method name and source information). @@ -10422,6 +10837,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -11163,12 +11585,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -11216,12 +11637,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11403,12 +11823,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -11433,12 +11852,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -11457,12 +11881,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -11492,12 +11915,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11548,21 +11970,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11580,21 +11999,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11663,6 +12079,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -11714,6 +12171,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -11848,7 +12312,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -11872,6 +12343,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -11969,6 +12447,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -12050,6 +12535,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -12151,6 +12660,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -12176,6 +12692,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -12295,6 +12818,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Service contract for Log Receiver client. @@ -13234,7 +13765,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -13596,7 +14127,7 @@ The filename as target - + The archive file name as target @@ -13697,6 +14228,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -13757,6 +14290,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -13968,6 +14507,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -13983,6 +14537,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -13994,6 +14558,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -14015,6 +14586,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -14217,19 +14811,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -14271,7 +14861,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -14619,6 +15209,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -15237,6 +15837,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -15252,6 +15859,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -15309,6 +15921,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -15366,6 +15984,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -15374,6 +16002,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -15386,6 +16022,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -15639,6 +16283,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -15707,6 +16362,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -15801,6 +16463,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -15808,7 +16477,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -15934,6 +16603,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -15999,7 +16679,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -16326,6 +17006,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -16485,6 +17175,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -16589,6 +17298,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.5.0.0-beta06/lib/sl50/NLog.dll b/packages/NLog.5.0.0-beta06/lib/sl50/NLog.dll new file mode 100644 index 000000000..f16118664 Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/sl50/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/sl50/NLog.xml b/packages/NLog.5.0.0-beta06/lib/sl50/NLog.xml similarity index 95% rename from packages/NLog.5.0.0-beta05-test/lib/sl50/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/sl50/NLog.xml index 149187a95..c87102a5e 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/sl50/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/sl50/NLog.xml @@ -2110,7 +2110,7 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. @@ -3054,6 +3054,12 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Raises the event when the logger is reconfigured. + + Event arguments + Gets a value indicating whether logging is enabled for the Trace level. @@ -4088,12 +4094,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -4963,6 +4970,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -5008,6 +5022,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -5021,6 +5043,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -5066,6 +5095,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -5079,6 +5116,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -5124,6 +5168,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -5137,6 +5189,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -5182,6 +5241,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -5195,6 +5262,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -5240,6 +5314,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -5253,6 +5335,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -5298,6 +5387,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -5357,6 +5454,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -7420,6 +7534,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -7458,6 +7579,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -7915,6 +8044,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -7935,6 +8074,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -8262,6 +8429,11 @@ Cached directory separator char array to avoid memory allocation on each method call. + + + not null when == false + + non null is fixed, @@ -8282,11 +8454,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -8364,6 +8537,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -8418,18 +8621,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -8469,6 +8660,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -8563,6 +8759,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -8699,13 +8971,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -8721,7 +8993,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -9083,6 +9355,41 @@ Gets a the current wrappered in a . + + + 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. + + Interface for fakeable the current AppDomain. @@ -9091,6 +9398,41 @@ 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. @@ -9109,21 +9451,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -9259,11 +9607,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -9323,6 +9673,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -9334,7 +9689,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -9423,6 +9778,28 @@ Creation parameters. Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -9436,11 +9813,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -9499,11 +9878,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -9864,6 +10245,40 @@ The to append the rendered data to. Logging event. + + + The current application domain's base directory. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. + + + + + + Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. + + + + + + Renders the application base directory and appends it to the specified . + + The to append the rendered data to. + Logging event. + The call site (class name, method name and source information). @@ -10422,6 +10837,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -11163,12 +11585,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -11216,12 +11637,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11403,12 +11823,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -11433,12 +11852,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -11457,12 +11881,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -11492,12 +11915,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11548,21 +11970,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11580,21 +11999,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11663,6 +12079,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -11714,6 +12171,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -11848,7 +12312,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -11872,6 +12343,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -11969,6 +12447,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -12050,6 +12535,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -12151,6 +12660,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -12176,6 +12692,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -12295,6 +12818,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Service contract for Log Receiver client. @@ -13234,7 +13765,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -13596,7 +14127,7 @@ The filename as target - + The archive file name as target @@ -13697,6 +14228,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -13757,6 +14290,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -13968,6 +14507,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -13983,6 +14537,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -13994,6 +14558,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -14015,6 +14586,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -14217,19 +14811,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -14271,7 +14861,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -14619,6 +15209,16 @@ Logging event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Append" method. Inheriting classes can use this method to @@ -15237,6 +15837,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -15252,6 +15859,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -15309,6 +15921,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -15366,6 +15984,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -15374,6 +16002,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -15386,6 +16022,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -15639,6 +16283,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -15707,6 +16362,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -15801,6 +16463,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -15808,7 +16477,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -15934,6 +16603,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -15999,7 +16679,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -16326,6 +17006,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -16485,6 +17175,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -16589,6 +17298,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.5.0.0-beta06/lib/wp80/NLog.dll b/packages/NLog.5.0.0-beta06/lib/wp80/NLog.dll new file mode 100644 index 000000000..9e5da1f5d Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/wp80/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/wp80/NLog.xml b/packages/NLog.5.0.0-beta06/lib/wp80/NLog.xml similarity index 95% rename from packages/NLog.5.0.0-beta05-test/lib/wp80/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/wp80/NLog.xml index dc753420d..2e27f1210 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/wp80/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/wp80/NLog.xml @@ -2110,7 +2110,7 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. @@ -3054,6 +3054,12 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Raises the event when the logger is reconfigured. + + Event arguments + Gets a value indicating whether logging is enabled for the Trace level. @@ -4088,12 +4094,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -4963,6 +4970,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -5008,6 +5022,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -5021,6 +5043,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -5066,6 +5095,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -5079,6 +5116,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -5124,6 +5168,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -5137,6 +5189,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -5182,6 +5241,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -5195,6 +5262,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -5240,6 +5314,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -5253,6 +5335,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -5298,6 +5387,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -5357,6 +5454,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -7420,6 +7534,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -7458,6 +7579,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -7915,6 +8044,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -7935,6 +8074,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -8262,6 +8429,16 @@ 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, @@ -8282,11 +8459,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -8364,6 +8542,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -8418,18 +8626,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -8469,6 +8665,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -8563,6 +8764,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -8699,13 +8976,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -8721,7 +8998,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -9083,6 +9360,41 @@ Gets a the current wrappered in a . + + + 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. + + Interface for fakeable the current AppDomain. @@ -9091,6 +9403,41 @@ 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. @@ -9109,21 +9456,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -9259,11 +9612,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -9323,6 +9678,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -9334,7 +9694,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -9423,6 +9783,28 @@ Creation parameters. Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -9436,11 +9818,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -9499,11 +9883,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -9864,6 +10250,40 @@ The to append the rendered data to. Logging event. + + + The current application domain's base directory. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the name of the file to be Path.Combine()'d with with the base directory. + + + + + + Gets or sets the name of the directory to be Path.Combine()'d with with the base directory. + + + + + + Renders the application base directory and appends it to the specified . + + The to append the rendered data to. + Logging event. + The call site (class name, method name and source information). @@ -10410,6 +10830,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -11128,12 +11555,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -11181,12 +11607,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11368,12 +11793,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -11398,12 +11822,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -11422,12 +11851,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -11457,12 +11885,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -11513,21 +11940,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11545,21 +11969,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -11628,6 +12049,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -11679,6 +12141,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -11813,7 +12282,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -11837,6 +12313,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -11934,6 +12417,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -12015,6 +12505,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -12116,6 +12630,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -12141,6 +12662,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -12260,6 +12788,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Service contract for Log Receiver client. @@ -12535,7 +13071,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -12897,7 +13433,7 @@ The filename as target - + The archive file name as target @@ -12998,6 +13534,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -13058,6 +13596,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -13269,6 +13813,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -13284,6 +13843,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -13295,6 +13864,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -13316,6 +13892,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -13518,19 +14117,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -13572,7 +14167,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -14427,6 +15022,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -14442,6 +15044,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -14499,6 +15106,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -14556,6 +15169,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -14564,6 +15187,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -14576,6 +15207,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -14829,6 +15468,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -14897,6 +15547,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -14991,6 +15648,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -14998,7 +15662,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -15124,6 +15788,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -15189,7 +15864,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -15516,6 +16191,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -15675,6 +16360,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -15779,6 +16483,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to diff --git a/packages/NLog.5.0.0-beta06/lib/xamarinios10/NLog.dll b/packages/NLog.5.0.0-beta06/lib/xamarinios10/NLog.dll new file mode 100644 index 000000000..ec8be7b70 Binary files /dev/null and b/packages/NLog.5.0.0-beta06/lib/xamarinios10/NLog.dll differ diff --git a/packages/NLog.5.0.0-beta05-test/lib/monoandroid23/NLog.xml b/packages/NLog.5.0.0-beta06/lib/xamarinios10/NLog.xml similarity index 97% rename from packages/NLog.5.0.0-beta05-test/lib/monoandroid23/NLog.xml rename to packages/NLog.5.0.0-beta06/lib/xamarinios10/NLog.xml index 15a2fe1bf..bf0f5cf85 100644 --- a/packages/NLog.5.0.0-beta05-test/lib/monoandroid23/NLog.xml +++ b/packages/NLog.5.0.0-beta06/lib/xamarinios10/NLog.xml @@ -3740,7 +3740,7 @@ - Invoke the Changed event; called whenever list changes + Raises the event when the configuration is reloaded. Event arguments. @@ -6292,6 +6292,12 @@ Fallback value to return in case of exception. Result returned by the provided function or fallback value in case of exception. + + + Raises the event when the logger is reconfigured. + + Event arguments + Gets a value indicating whether logging is enabled for the Trace level. @@ -7326,12 +7332,13 @@ - All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off) + Gets all the availiable log levels (Trace, Debug, Info, Warn, Error, Fatal, Off). - All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal) + Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal) + i.e LogLevel.Off is excluded. @@ -7480,11 +7487,6 @@ This delegate marked as obsolete before NLog 4.3.11 and it may be removed in a future release. - - - Initializes static members of the LogManager class. - - Prevents a default instance of the LogManager class from being created. @@ -8249,6 +8251,13 @@ Log message. + + + Logs the specified message without an at the Trace level. + will be only called when logging is enabled for level Trace. + + Function that returns the log message. + Logs the specified message with an at the Trace level. @@ -8294,6 +8303,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Trace level. + will be only called when logging is enabled for level Trace. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Debug level. @@ -8307,6 +8324,13 @@ Log message. + + + Logs the specified message without an at the Debug level. + will be only called when logging is enabled for level Debug. + + Function that returns the log message. + Logs the specified message with an at the Debug level. @@ -8352,6 +8376,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Debug level. + will be only called when logging is enabled for level Debug. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Info level. @@ -8365,6 +8397,13 @@ Log message. + + + Logs the specified message without an at the Info level. + will be only called when logging is enabled for level Info. + + Function that returns the log message. + Logs the specified message with an at the Info level. @@ -8410,6 +8449,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Info level. + will be only called when logging is enabled for level Info. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Warn level. @@ -8423,6 +8470,13 @@ Log message. + + + Logs the specified message without an at the Warn level. + will be only called when logging is enabled for level Warn. + + Function that returns the log message. + Logs the specified message with an at the Warn level. @@ -8468,6 +8522,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Warn level. + will be only called when logging is enabled for level Warn. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Error level. @@ -8481,6 +8543,13 @@ Log message. + + + Logs the specified message without an at the Error level. + will be only called when logging is enabled for level Error. + + Function that returns the log message. + Logs the specified message with an at the Error level. @@ -8526,6 +8595,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Error level. + will be only called when logging is enabled for level Error. + + Exception to be logged. + Function that returns the log message. + Logs the specified message without an at the Fatal level. @@ -8539,6 +8616,13 @@ Log message. + + + Logs the specified message without an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Function that returns the log message. + Logs the specified message with an at the Fatal level. @@ -8584,6 +8668,14 @@ Exception to be logged. Log message. + + + Logs the specified message with an at the Fatal level. + will be only called when logging is enabled for level Fatal. + + Exception to be logged. + Function that returns the log message. + Initializes static members of the InternalLogger class. @@ -8643,6 +8735,23 @@ Log level. Log message. + + + Logs the specified message without an at the specified level. + will be only called when logging is enabled for level . + + Log level. + Function that returns the log message. + + + + Logs the specified message with an at the specified level. + will be only called when logging is enabled for level . + + Exception to be logged. + Log level. + Function that returns the log message. + Logs the specified message with an at the specified level. @@ -10594,11 +10703,6 @@ This class is thread-safe..ToList() is used for that purpose. - - - Prefix for assets in Xamarin Android - - Initializes a new instance of the class. @@ -10762,6 +10866,13 @@ If initializing not started or failed, then checking process will be canceled + + + Add a file with configuration. Check if not already included. + + + + Parse the root @@ -10800,6 +10911,14 @@ Rules are added to this parameter. + + + Include (multiple) files by filemask, e.g. *.nlog + + base directory in case if is relative + relative or absolute fileMask + + Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage. @@ -11257,6 +11376,16 @@ The logger to write the log event to. current for chaining calls. + + + Allocates new builder and appends to the provided target builder on dispose + + + + + Access the new builder allocated + + Helpers for . @@ -11277,6 +11406,34 @@ name without .dll + + + Keeps track of pending operation count, and can notify when pending operation count reaches zero + + + + + Mark operation has started + + + + + Mark operation has completed + + Exception coming from the completed operation [optional] + + + + Registers an AsyncContinuation to be called when all pending operations have completed + + Invoked on completion + AsyncContinuation operation + + + + Clear o + + Provides untyped IDictionary interface on top of generic IDictionary. @@ -11634,11 +11791,12 @@ Initializes a new instance of the class. - + Render the raw filename from Layout The log event. + StringBuilder to minimize allocations [optional]. String representation of a layout. @@ -11760,6 +11918,36 @@ Gets the level of stack trace information required by the implementing class. + + + Render the event info as parse as short + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as int + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + + + + Render the event info as parse as bool + + current layout + + default value when the render + layout name for log message to internal log when logging fails + + Logger configuration. @@ -11823,18 +12011,6 @@ ISet is not there in .net35, so using HashSet - - - Parameter validation utilities. - - - - - Asserts that the value is not null and throws otherwise. - - The value to check. - Name of the parameter. - Combine paths @@ -11874,6 +12050,11 @@ Gets a value indicating whether current runtime is Mono-based + + + Gets a value indicating whether current runtime supports use of mutex + + Portable implementation of . @@ -11887,39 +12068,6 @@ The file stream. The file characteristics, if the file information was retrieved successfully, otherwise null. - - - Portable implementation of . - - - - - Initializes a new instance of the class. - - - - - Gets current thread ID. - - - - - - Gets current process name. - - - - - - Gets current process name (excluding filename extension, if any). - - - - - - Gets the name of the process. - - Reflection helpers for accessing properties. @@ -12001,6 +12149,82 @@ Method to optimize Optimized delegate for invoking the MethodInfo + + + Controls a single allocated AsyncLogEventInfo-List for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable AsyncLogEventInfo-List for active usage + + Handle to the reusable item, that can release it again + + + + Access the AsyncLogEventInfo[]-buffer acquired + + + + + Controls a single allocated char[]-buffer for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable char[]-buffer for active usage + + Handle to the reusable item, that can release it again + + + + Access the char[]-buffer acquired + + + + + Controls a single allocated StringBuilder for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable StringBuilder for active usage + + Handle to the reusable item, that can release it again + + + + Access the StringBuilder acquired + + + + + Controls a single allocated MemoryStream for reuse (only one active user) + + + + Empty handle when is disabled + + + + Creates handle to the reusable MemoryStream for active usage + + Handle to the reusable item, that can release it again + + + + Access the MemoryStream acquired + + Supported operating systems. @@ -12137,13 +12361,13 @@ - - Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. + + Single-Bucket optimized readonly dictionary. Uses normal internally Dictionary if multiple buckets are needed. - Avoids allocating a new dictionary, when all items are using the same bucket - - The type of the key. - The type of the value. + Avoids allocating a new dictionary, when all items are using the same bucket + + The type of the key. + The type of the value. @@ -12159,7 +12383,7 @@ - Allows direct lookup of existing keys. If trying to access non-existing key exeption is thrown. + Allows direct lookup of existing keys. If trying to access non-existing key exception is thrown. Consider to use instead for better safety. Key value for lookup @@ -12381,38 +12605,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. @@ -12485,47 +12677,6 @@ target for the encoded result s for how to perform the encoding - - - Win32-optimized implementation of . - - - - - Gets the information about a file. - - Name of the file. - The file stream. - The file characteristics, if the file information was retrieved successfully, otherwise null. - - - - Win32-optimized implementation of . - - - - - Initializes a new instance of the class. - - - - - Gets current thread ID. - - - - - - Gets current process name. - - - - - - Gets current process name (excluding filename extension, if any). - - - Helper class for XML @@ -12690,21 +12841,27 @@ The name of the file. - + Gets or sets the creation time for a file associated with the appender. The time returned is in Coordinated Universal Time [UTC] standard. The creation time of the file. - + + + Gets or sets the creation time for a file associated with the appender. Synchronized by + The time format is based on + + + Gets the last time the file associated with the appeander is opened. The time returned is in Coordinated Universal Time [UTC] standard. The time the file was last opened. - + Gets the last time the file associated with the appeander is written. The time returned is in Coordinated Universal Time [UTC] standard. @@ -12797,12 +12954,6 @@ Name of the file. The create parameters. - - - Gets the mutually-exclusive lock for archiving files. - - The mutex for archiving. - Implementation of which caches @@ -12846,11 +12997,13 @@ A long value representing the length of the file in bytes. - + Writes the specified bytes to a file. - The bytes to be written. + The bytes array. + The bytes array offset. + The number of bytes. @@ -12910,6 +13063,11 @@ Gets the number of appenders which the list can hold. + + + Subscribe to background monitoring of active file appenders + + It allocates the first slot in the list when the file name does not already in the list and clean up any @@ -12921,7 +13079,7 @@ Thrown when is called on an Empty instance. - + Close all the allocated appenders. @@ -12992,11 +13150,6 @@ Gets or set a value indicating whether a managed file stream is forced, instead of using the native implementation. - - - Gets or sets the file attributes (Windows only). - - Should we capture the last write time of a file? @@ -13015,6 +13168,28 @@ Creation parameters. Instance of which can be used to write to the file. + + + Appender used to discard data for the FileTarget. + Used mostly for testing entire stack except the actual writing to disk. + Throws away all data. + + + + + 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 @@ -13028,11 +13203,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13091,11 +13268,13 @@ Name of the file. The parameters. - + Writes the specified bytes. - The bytes. + The bytes array. + The bytes array offset. + The number of bytes. @@ -13546,12 +13725,22 @@ The current application domain's base directory. - + + + cached + + + + + Use base dir of current process. + + + Initializes a new instance of the class. - + Initializes a new instance of the class. @@ -14214,6 +14403,13 @@ Closes this instance. + + + Renders the the value of layout renderer in the context of the specified log event. + + The log event. + The layout render output is appended to builder + Renders the specified environmental information and appends it to the specified . @@ -14595,18 +14791,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. @@ -14846,24 +15030,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. @@ -14884,61 +15050,6 @@ - - - High precision timer, based on the value returned from QueryPerformanceCounter() optionally converted to seconds. - - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether to normalize the result by subtracting - it from the result of the first call (so that it's effectively zero-based). - - - - - - Gets or sets a value indicating whether to output the difference between the result - of QueryPerformanceCounter and the previous one. - - - - - - Gets or sets a value indicating whether to convert the result to seconds by dividing - by the result of QueryPerformanceFrequency(). - - - - - - Gets or sets the number of decimal digits to be included in output. - - - - - - Gets or sets a value indicating whether to align decimal point (emit non-significant zeros). - - - - - - Initializes the layout renderer. - - - - - Renders the ticks value of current time and appends it to the specified . - - The to append the rendered data to. - Logging event. - The short date in a sortable format yyyy-MM-dd. @@ -15318,12 +15429,11 @@ - + - Post-processes the rendered message. + Replaces all non-safe characters with underscore to make valid filepath - The text to be post-processed. - Padded and trimmed string. + Output to be transformed. @@ -15371,12 +15481,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -15558,12 +15667,11 @@ Gets or sets a value indicating the string that should be used for separating lines. - + Post-processes the rendered message. - The text to be post-processed. - String with newline characters replaced with spaces. + Output to be post-processed. @@ -15588,12 +15696,17 @@ The string to be encoded/decoded. Encoded/Decoded text. - + - Transforms the output of another layout. + Encodes/Decodes ROT-13-encoded string. - Output to be transform. - Transformed text. + The string to be encoded/decoded. + + + + Post-processes the rendered message. + + Output to be transform. @@ -15612,12 +15725,11 @@ A value of true if lower case conversion should be applied; otherwise, false. - + - Post-processes the rendered message. + Removes white-spaces from both sides of the provided target - The text to be post-processed. - Trimmed string. + Output to be transform. @@ -15647,12 +15759,11 @@ - + Post-processes the rendered message. - The text to be post-processed. - Padded and trimmed string. + Output to be post-processed. @@ -15703,21 +15814,18 @@ - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -15735,21 +15843,18 @@ If is not met, print this layout. - + Transforms the output of another layout. - Output to be transform. - Transformed text. + Output to be transform. - + Renders the inner layout contents. The log event. - - Contents of inner layout. - + Initially empty for the result @@ -15818,6 +15923,47 @@ The log event. Contents of inner layout. + + + Base class for s which wrapping other s. + + This expects the transformation to work on a + + + + + Render to local target using Inner Layout, and then transform before final append + + + + + + + Transforms the output of another layout. + + Output to be transform. + + + + Renders the inner layout contents. + + Logging + Initially empty for the result + + + + + + + + + + + + + + + Converts the result of another layout output to be XML-compliant. @@ -15869,6 +16015,13 @@ The log event to be formatted. A string representation of the log event. + + + Formats the log event relying on inner layouts. + + The logging event. + Initially empty for the result + Closes the layout. @@ -16003,7 +16156,14 @@ The log event to be formatted. A string representation of the log event. - + + + Formats the log event for write. + + The logging event. + Initially empty for the result + + Get the headers with the column names. @@ -16027,6 +16187,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Specifies CSV quoting modes. @@ -16124,6 +16291,13 @@ List of property names to exclude when is true + + + Formats the log event as a JSON document for writing. + + The logging event. + Initially empty for the result + Formats the log event as a JSON document for writing. @@ -16205,6 +16379,30 @@ The event info. String representing log event. + + + Renders the event info in layout to the provided target + + The event info. + Appends the string representing log event to target + Should rendering result be cached on LogEventInfo + + + + Valid default implementation of , when having implemented the optimized + + The logging event. + StringBuilder to help minimize allocations [optional]. + Should rendering result be cached on LogEventInfo + The rendered layout. + + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Initializes this instance. @@ -16306,6 +16504,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + A specialized layout that renders Log4j-compatible XML events. @@ -16331,6 +16536,13 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers. + + The logging event. + Initially empty for the result + Represents a string with embedded placeholders that can render contextual information. @@ -16450,6 +16662,14 @@ The logging event. The rendered layout. + + + Renders the layout for the specified logging event by invoking layout renderers + that make up the event. + + The logging event. + Initially empty for the result + Service contract for Log Receiver client. @@ -16877,7 +17097,7 @@ - + Should logging being paused/stopped because of the race condition bug in Console.Writeline? @@ -17392,7 +17612,7 @@ The filename as target - + The archive file name as target @@ -17493,6 +17713,8 @@ The bigger this number is the longer it will take to write each log record. The smaller the number is the higher the chance that the clean function will be run when no new files have been opened. + + [Warning] This method will be renamed to correct text casing i.e. MaxLogFilenames in NLog 5. @@ -17502,12 +17724,6 @@ - - - Gets or sets the file attributes (Windows only). - - - Should we capture the last write time of a file? @@ -17559,6 +17775,12 @@ + + + Gets or sets whether or not this target should just discard all data that its asked to write. + Mostly used for when testing NLog Stack except final write + + Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host. @@ -17770,6 +17992,21 @@ Closes the file(s) opened for writing. + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + + + + Can be used if has been enabled. + + Writes the specified logging event to a file specified in the FileName @@ -17785,6 +18022,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes the specified array of logging events to a file specified in the FileName parameter. @@ -17796,6 +18043,13 @@ and can help improve performance. + + + Returns estimated size for memory stream, based on events count and first event size in bytes. + + Count of events + Bytes count of first event + Formats the log event for write. @@ -17817,6 +18071,29 @@ The byte array. The modified byte array. The function can do the modification in-place. + + + Gets the bytes to be written to the file. + + The log event to be formatted. + to help format log event. + Optional temporary char-array to help format log event. + Destination for the encoded result. + + + + Formats the log event for write. + + The log event to be formatted. + Initially empty for the result. + + + + Modifies the specified byte array before it gets sent to a file. + + The LogEvent being written + The byte array. + Replaces the numeric pattern i.e. {#} in a file name with the parameter value. @@ -18019,19 +18296,15 @@ Log event that the instance is currently processing. Filename to archive. If null, then nothing to archive. - + - The sequence of to be written for the file header. + Truncates the input-time, so comparison of low resolution times (like dates) are not affected by ticks - Sequence of to be written. + High resolution Time + Time Resolution Level + Truncated Low Resolution Time - - - The sequence of to be written for the file footer. - - Sequence of to be written. - - + Evaluates which parts of a file should be written (header, content, footer) based on various properties of instance and writes them. @@ -18073,7 +18346,7 @@ File name to be written. Log event that the instance is currently processing. - + Creates the file specified in and writes the file content in each entirety i.e. Header, Content and Footer. @@ -18527,6 +18800,16 @@ The logging event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Renders an array logging events. @@ -19178,50 +19461,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. @@ -19253,6 +19492,13 @@ + + + Target supports reuse of internal buffers, and doesn't have to constantly allocate new buffers + Required for legacy NLog-targets, that expects buffers to remain stable after Write-method exit + + + Gets the object which can be used to synchronize asynchronous operations that must rely on the . @@ -19268,6 +19514,11 @@ Gets a value indicating whether the target has been initialized. + + + Can be used if has been enabled. + + Get all used layouts in this target. @@ -19325,6 +19576,12 @@ The log events. + + + Writes the array of log events. + + The log events. + Initializes this instance. @@ -19382,6 +19639,16 @@ Log event to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to @@ -19390,6 +19657,14 @@ Logging events to be written out. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target, in a thread safe manner. + + Logging events to be written out. + + Writes an array of logging events to the log target, in a thread safe manner. @@ -19402,6 +19677,14 @@ The event info object to perform the merge to. + + + Renders the event info in layout. + + The layout. + The event info. + String representing log event. + Register a custom Target. @@ -19702,6 +19985,17 @@ Parameters to be passed. The continuation. + + + Flush any pending log messages asynchronously (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol. @@ -19726,95 +20020,6 @@ the requested kind of HTTP request - - - Win32 file attributes. - - - For more information see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp. - - - - - Read-only file. - - - - - Hidden file. - - - - - System file. - - - - - File should be archived. - - - - - Device file. - - - - - Normal file. - - - - - File is temporary (should be kept in cache and not - written to disk if possible). - - - - - Sparse file. - - - - - Reparse point. - - - - - Compress file contents. - - - - - File should not be indexed by the content indexing service. - - - - - Encrypted file. - - - - - The system writes through any intermediate cache and goes directly to disk. - - - - - The system opens a file with no system caching. - - - - - Delete file after it is closed. - - - - - A file is accessed according to POSIX rules. - - Asynchronous request queue. @@ -19859,6 +20064,13 @@ Maximum number of items to be dequeued (-1 means everything). The array of log events. + + + Dequeues into a preallocated array, instead of allocating a new one + + Maximum number of items to be dequeued + Preallocated list + Clears the queue. @@ -19953,6 +20165,13 @@ + + + Gets or sets the limit of full s to write before yielding into + Performance is better when writing many small batches, than writing a single large batch + + + Gets the queue of lazy writer thread requests. @@ -19960,7 +20179,7 @@ - Waits for the lazy writer thread to finish writing messages. + Schedules a flush of pending events in the queue (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -20086,6 +20305,17 @@ Logging event to be written out. + + + Schedules a flush operation, that triggers when all pending flush operations are completed (in case of asynchronous targets). + + The asynchronous continuation. + + + + Closes the target. + + A target that buffers log events and sends them in batches to the wrapped target. @@ -20151,7 +20381,7 @@ - Flushes pending events in the buffer (if any). + Flushes pending events in the buffer (if any), followed by flushing the WrappedTarget. The asynchronous continuation. @@ -20347,119 +20577,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. - - Limits the number of messages written per timespan to the wrapped target. @@ -20606,6 +20723,16 @@ + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Evaluates all filtering rules to find the first one that matches. The matching rule determines the filtering condition to be applied @@ -20765,6 +20892,25 @@ + + + Special SyncObject to allow closing down Target while busy retrying + + + + + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. + + The log event. + + + + Writes the specified log event to the wrapped target in a thread-safe manner. + Uses instead of + to allow closing target while doing sleep and retry. + + The log event. + Writes the specified log event to the wrapped target, retrying and pausing in case of an error. @@ -20962,6 +21108,16 @@ The log event. + + NOTE! Will soon be marked obsolete. Instead override Write(IList{AsyncLogEventInfo} logEvents) + + Writes an array of logging events to the log target. By default it iterates on all + events and passes them to "Write" method. Inheriting classes can use this method to + optimize batch writes. + + Logging events to be written out. + + Writes an array of logging events to the log target. By default it iterates on all events and passes them to "Write" method. Inheriting classes can use this method to