diff --git a/Libraries/NLog.dll b/Libraries/NLog.dll index 8a27b27f3..2403ebb9e 100644 Binary files a/Libraries/NLog.dll and b/Libraries/NLog.dll differ diff --git a/Libraries/NLog.xml b/Libraries/NLog.xml index cd0c12c15..9ee7832e6 100644 --- a/Libraries/NLog.xml +++ b/Libraries/NLog.xml @@ -1065,11 +1065,11 @@ into an expression tree. - + Initializes a new instance of the class. - The expression text. + The string reader. Instance of used to resolve references to condition methods and layout renderers. @@ -1089,6 +1089,17 @@ Instance of used to resolve references to condition methods and layout renderers. The root of the expression syntax tree which can be used to get the value of the condition in a specified context. + + + Parses the specified condition string and turns it into + tree. + + The string reader. + Instance of used to resolve references to condition methods and layout renderers. + + The root of the expression syntax tree which can be used to get the value of the condition in a specified context. + + Condition relational (==, !=, <, <=, @@ -1185,11 +1196,11 @@ Hand-written tokenizer for conditions. - + Initializes a new instance of the class. - The expression text. + The string reader. @@ -1378,6 +1389,17 @@ The type to register. The item name prefix. + + + Builds the default configuration item factory. + + Default factory. + + + + Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll. + + Gets or sets default singleton instance of . @@ -1473,14 +1495,6 @@ The result. True if instance was created successfully, false otherwise. - - - Gets a collection of all registered items in the factory. - - Sequence of key/value pairs where each key represents the name - of the item and value is the of - the item. - Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.). @@ -1500,6 +1514,13 @@ The type to register. The item name prefix. + + + Registers the item based on a type name. + + Name of the item. + Name of the type. + Clears the contents of the factory. @@ -1535,14 +1556,6 @@ The name of the item. Created item. - - - Gets a collection of all registered items in the factory. - - Sequence of key/value pairs where each key represents the name - of the item and value is the of - the item. - Implemented by objects which support installation and uninstallation. @@ -2069,45 +2082,6 @@ layout targets and filters. - - - Supported operating systems. - - - If you add anything here, make sure to add the appropriate detection - code to - - - - - Any operating system. - - - - - Unix/Linux operating systems. - - - - - Windows CE. - - - - - Desktop versions of Windows (95,98,ME). - - - - - Windows NT, 2000, 2003 and future versions based on NT technology. - - - - - Unknown operating system. - - Provides simple programmatic configuration API used for trivial logging cases. @@ -3322,6 +3296,18 @@ A value of true if the specified level is enabled; otherwise, false. + + + Message Box helper. + + + + + Shows the specified message using platform-specific message box. + + The message. + The caption. + Watches multiple files at the same time and raises an event whenever @@ -3354,75 +3340,9 @@ Supports mocking of SMTP Client code. - - - Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, and releases all resources used by the current instance of the class. - - - - - Supports mocking of SMTP Client code. - - - - - Supports mocking of SMTP Client code. - - - - - Supports mocking of SMTP Client code. - - - - - Supports mocking of SMTP Client code. - - - - - Supports mocking of SMTP Client code. - - - - - Supports mocking of SMTP Client code. - - - - - Supports mocking of SMTP Client code. - - - - - Supports mocking of SMTP Client code. - - - - - Supports mocking of SMTP Client code. - - - - - Creates instances of objects for given URLs. - - - + - Creates a new instance of the network sender based on a network URL. - - - URL that determines the network sender to be created. - - - A newly created network sender. - - - - - Interface for mocking socket calls. + Network sender which uses HTTP or HTTPS POST. @@ -3518,6 +3438,43 @@ Gets the last send time. + + + Initializes a new instance of the class. + + The network URL. + + + + Actually sends the given text over the specified protocol. + + The bytes to be sent. + Offset in buffer. + Number of bytes to send. + The async continuation to be invoked after the buffer has been sent. + To be overridden in inheriting classes. + + + + Creates instances of objects for given URLs. + + + + + Creates a new instance of the network sender based on a network URL. + + + URL that determines the network sender to be created. + + + A newly created network sender. + + + + + Interface for mocking socket calls. + + Default implementation of . @@ -3809,6 +3766,69 @@ Reflection helpers for accessing properties. + + + Reflection helpers. + + + + + Gets all usable exported types from the given assembly. + + Assembly to scan. + Usable types from the given assembly. + Types which cannot be loaded are skipped. + + + + Supported operating systems. + + + If you add anything here, make sure to add the appropriate detection + code to + + + + + Any operating system. + + + + + Unix/Linux operating systems. + + + + + Windows CE. + + + + + Desktop versions of Windows (95,98,ME). + + + + + Windows NT, 2000, 2003 and future versions based on NT technology. + + + + + Unknown operating system. + + + + + Simple character tokenizer. + + + + + Initializes a new instance of the class. + + The text to be tokenized. + Implements a single-call guard around given continuation function. @@ -4276,6 +4296,12 @@ + + + Gets or sets a value indicating whether to output UTC time instead of local time. + + + The environment variable. @@ -4338,12 +4364,33 @@ + + + Gets or sets the format of the output of inner exceptions. Must be a comma-separated list of exception + properties: Message, Type, ShortType, ToString, Method, StackTrace. + This parameter value is case-insensitive. + + + Gets or sets the separator used to concatenate parts specified in the Format. + + + Gets or sets the maximum number of inner exceptions to include in the output. + By default inner exceptions are not enabled for compatibility with NLog 1.0. + + + + + + Gets or sets the separator between inner exceptions. + + + Renders contents of the specified file. @@ -4515,13 +4562,6 @@ - - - Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path - (illegal characters are replaced with '_'). - - - Installation parameter (passed to InstallNLogConfig). @@ -4656,6 +4696,12 @@ + + + Gets or sets the NDC item separator. + + + Gets the level of stack trace information required by the implementing class. @@ -4691,6 +4737,12 @@ The to append the rendered data to. Logging event. + + + Gets or sets a value indicating whether to output UTC time instead of local time. + + + The machine name that the process is running on. @@ -4731,6 +4783,11 @@ The formatted log message. + + + Initializes a new instance of the class. + + Renders the log message including any positional parameters and appends it to the specified . @@ -4738,6 +4795,18 @@ The to append the rendered data to. Logging event. + + + Gets or sets a value indicating whether to log exception along with message. + + + + + + Gets or sets the string that separates message from the exception. + + + Nested Diagnostic Context item. Provided for compatibility with log4net. @@ -5242,30 +5311,11 @@ The to append the rendered data to. Logging event. - - - Specifies application information to display in ${sl-appinfo} renderer. - - - - - URI of the current application XAP file. - - - - - Whether application is running out-of-browser. - - - + - Installed state of an application. - - - - - Whether application is running with elevated permissions. + Gets or sets a value indicating whether to output UTC time instead of local time. + @@ -5431,6 +5481,24 @@ The to append the rendered data to. Logging event. + + + The time in a 24-hour, sortable format HH:mm:ss.mmm. + + + + + Renders time in the 24-h format (HH:mm:ss.mmm) and appends it to the specified . + + The to append the rendered data to. + Logging event. + + + + Gets or sets a value indicating whether to output UTC time instead of local time. + + + Thread Windows identity information (username). @@ -5538,6 +5606,30 @@ + + + Filters characters not allowed in the file names by replacing them with safe character. + + + + + Initializes a new instance of the class. + + + + + Post-processes the rendered message. + + The text to be post-processed. + Padded and trimmed string. + + + + Gets or sets a value indicating whether to modify the output of this renderer so it can be used as a part of file path + (illegal characters are replaced with '_'). + + + Converts the result of another layout output to lower case. @@ -5568,6 +5660,27 @@ + + + Only outputs the inner layout when exception has been defined for log message. + + + + + Transforms the output of another layout. + + Output to be transform. + Transformed text. + + + + Renders the inner layout contents. + + The log event. + + Contents of inner layout. + + Applies padding to another layout output. @@ -5768,6 +5881,83 @@ A value of true if space should be translated to '+'; otherwise, false. + + + Outputs alternative layout when the inner layout produces empty result. + + + + + Transforms the output of another layout. + + Output to be transform. + Transformed text. + + + + Renders the inner layout contents. + + The log event. + + Contents of inner layout. + + + + + Gets or sets the layout to be rendered when original layout produced empty result. + + + + + + Only outputs the inner layout when the specified condition has been met. + + + + + Transforms the output of another layout. + + Output to be transform. + Transformed text. + + + + Renders the inner layout contents. + + The log event. + + Contents of inner layout. + + + + + Gets or sets the condition that must be met for the inner layout to be printed. + + + + + + Converts the result of another layout output to be XML-compliant. + + + + + Initializes a new instance of the class. + + + + + Post-processes the rendered message. + + The text to be post-processed. + Padded and trimmed string. + + + + Gets or sets a value indicating whether to apply XML encoding. + + + A column in the CSV. @@ -5937,18 +6127,6 @@ Gets the logging configuration this target is part of. - - - Precalculates the layout for the specified log event and stores the result - in per-log event cache. - - The log event. - - Calling this method enables you to store the log event in a buffer - and/or potentially evaluate it in another thread even though the - layout may contain thread-dependent renderer. - - Renders the layout for the specified logging event by invoking layout renderers. @@ -6083,17 +6261,6 @@ Parses layout strings. - - - Simple character tokenizer. - - - - - Initializes a new instance of the class. - - The text to be tokenized. - A specialized layout that renders Log4j-compatible XML events. @@ -9481,11 +9648,6 @@ The result. - - - Log Receiver Client Channel. - - Service contract for Log Receiver server. @@ -9497,6 +9659,34 @@ The events. + + + Implementation of which forwards received logs through or a given . + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The log factory. + + + + Processes the log messages. + + The events to process. + + + + Processes the log messages. + + The log events. + Internal configuration of Log Receiver Service contracts. @@ -10518,6 +10708,12 @@ + + + Gets or sets the NDC item separator. + + + Gets the collection of parameters. Each parameter contains a mapping @@ -10534,6 +10730,7 @@ Gets or sets the instance of that is used to format log messages. + @@ -11837,6 +12034,14 @@ Initializes a new instance of the class. + + + Called when log events are being sent (test hook). + + The events. + The async continuations. + True if events should be sent, false to stop processing them. + Writes logging event to the log target. Must be overridden in inheriting @@ -11886,6 +12091,12 @@ The parameters. + + + Gets or sets a value indicating whether to include per-event properties in the payload sent to the server. + + + Sends log messages by email using SMTP protocol. @@ -12206,7 +12417,7 @@ Initializes a new instance of the class. - + Prepares an array of parameters to be passed based on the logging event and calls DoInvoke(). @@ -12214,6 +12425,13 @@ The logging event. + + + Calls the target method. Must be implemented in concrete classes. + + Method call parameters. + The continuation. + Calls the target method. Must be implemented in concrete classes. @@ -12913,10 +13131,17 @@ + + Calls the target method. Must be implemented in concrete classes. + + Method call parameters. + + Invokes the web service method. Parameters to be passed. + The continuation. @@ -12942,6 +13167,12 @@ + + + Gets or sets the encoding. + + + Win32 file attributes.