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*lnpI9l|v=dq`Z(P%7Q0sn6
zgIY`H>eZbcjqPqbxQneuH>mY?>bSSs?FKhGH;pTAYi#jPT&7y(jMTA9*2zwV`0LW4
z^<*ZXMZ0)oOLk+J57Mk@cZ2*plM+o5_4Em*HFl~`cCEyPvO3i(DfncnrL%*yaPW>L
zr7PWXOS)qfjhkkYO7jPC-?5~0r&gu;i@e=!>7LH+b&?ELH|`Qmy8bsCG1Ee
z1kNK>6<`$?oU%cG_AoE`87*b;d=FLE$nQcJL!7+(Du1uy6&k^&;k^3^Po5*4j9ic1
z4SFB(E^Zvk^{{+9Pwd?Uq){yZHvrk+UIZ3{C15G|C|CxT1KZ;s%x`I!XMwYU>@!GX
zlZGjcPa3W?MrokZIOU!J+2X#e|9mP*boVenjFkM30Otd_M{ohC03(4k;)}p2FdAG8
zE&-C~vEWiL4paiUPf!IWfND?!CIY!bIT>(USpLR}d>7M|^K|6p;0iDUTnVlMSA$wG
z6V!oOpdQQybHGQyT+jfn0oQ_gU_Q7GTo2w(`1spVKCOGY1WuR0=@K|y0;fyhbP2pC
HO5pzkc%4~T
diff --git a/packages/Common/NLog.xml b/packages/Common/NLog.xml
index b886eaa79..65f7343a4 100644
--- a/packages/Common/NLog.xml
+++ b/packages/Common/NLog.xml
@@ -4,4858 +4,6 @@
NLog
-
-
- Indicates that the value of the marked element could be null sometimes,
- so the check for null is necessary before its usage.
-
-
- [CanBeNull] object Test() => null;
-
- void UseTest() {
- var p = Test();
- var s = p.ToString(); // Warning: Possible 'System.NullReferenceException'
- }
-
-
-
-
- Indicates that the value of the marked element could never be null.
-
-
- [NotNull] object Foo() {
- return null; // Warning: Possible 'null' assignment
- }
-
-
-
-
- Can be appplied to symbols of types derived from IEnumerable as well as to symbols of Task
- and Lazy classes to indicate that the value of a collection item, of the Task.Result property
- or of the Lazy.Value property can never be null.
-
-
-
-
- Can be appplied to symbols of types derived from IEnumerable as well as to symbols of Task
- and Lazy classes to indicate that the value of a collection item, of the Task.Result property
- or of the Lazy.Value property can be null.
-
-
-
-
- Indicates that the marked method builds string by format pattern and (optional) arguments.
- Parameter, which contains format string, should be given in constructor. The format string
- should be in -like form.
-
-
- [StringFormatMethod("message")]
- void ShowError(string message, params object[] args) { /* do something */ }
-
- void Foo() {
- ShowError("Failed: {0}"); // Warning: Non-existing argument in format string
- }
-
-
-
-
- Specifies which parameter of an annotated method should be treated as format-string
-
-
-
-
- For a parameter that is expected to be one of the limited set of values.
- Specify fields of which type should be used as values for this parameter.
-
-
-
-
- Indicates that the function argument should be string literal and match one
- of the parameters of the caller function. For example, ReSharper annotates
- the parameter of .
-
-
- void Foo(string param) {
- if (param == null)
- throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol
- }
-
-
-
-
- Indicates that the method is contained in a type that implements
- System.ComponentModel.INotifyPropertyChanged interface and this method
- is used to notify that some property value changed.
-
-
- The method should be non-static and conform to one of the supported signatures:
-
- - NotifyChanged(string)
- - NotifyChanged(params string[])
- - NotifyChanged{T}(Expression{Func{T}})
- - NotifyChanged{T,U}(Expression{Func{T,U}})
- - SetProperty{T}(ref T, T, string)
-
-
-
- public class Foo : INotifyPropertyChanged {
- public event PropertyChangedEventHandler PropertyChanged;
-
- [NotifyPropertyChangedInvocator]
- protected virtual void NotifyChanged(string propertyName) { ... }
-
- string _name;
-
- public string Name {
- get { return _name; }
- set { _name = value; NotifyChanged("LastName"); /* Warning */ }
- }
- }
-
- Examples of generated notifications:
-
- - NotifyChanged("Property")
- - NotifyChanged(() => Property)
- - NotifyChanged((VM x) => x.Property)
- - SetProperty(ref myField, value, "Property")
-
-
-
-
-
- Describes dependency between method input and output.
-
-
- Function Definition Table syntax:
-
- - FDT ::= FDTRow [;FDTRow]*
- - FDTRow ::= Input => Output | Output <= Input
- - Input ::= ParameterName: Value [, Input]*
- - Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value}
- - Value ::= true | false | null | notnull | canbenull
-
- If method has single input parameter, it's name could be omitted.
- Using halt (or void/nothing, which is the same) for method output
- means that the methods doesn't return normally (throws or terminates the process).
- Value canbenull is only applicable for output parameters.
- You can use multiple [ContractAnnotation] for each FDT row, or use single attribute
- with rows separated by semicolon. There is no notion of order rows, all rows are checked
- for applicability and applied per each program state tracked by R# analysis.
-
-
-
- [ContractAnnotation("=> halt")]
- public void TerminationMethod()
-
-
- [ContractAnnotation("halt <= condition: false")]
- public void Assert(bool condition, string text) // regular assertion method
-
-
- [ContractAnnotation("s:null => true")]
- public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty()
-
-
- // A method that returns null if the parameter is null,
- // and not null if the parameter is not null
- [ContractAnnotation("null => null; notnull => notnull")]
- public object Transform(object data)
-
-
- [ContractAnnotation("=> true, result: notnull; => false, result: null")]
- public bool TryParse(string s, out Person result)
-
-
-
-
-
- Indicates that marked element should be localized or not.
-
-
- [LocalizationRequiredAttribute(true)]
- class Foo {
- string str = "my string"; // Warning: Localizable string
- }
-
-
-
-
- Indicates that the value of the marked type (or its derivatives)
- cannot be compared using '==' or '!=' operators and Equals()
- should be used instead. However, using '==' or '!=' for comparison
- with null is always permitted.
-
-
- [CannotApplyEqualityOperator]
- class NoEquality { }
-
- class UsesNoEquality {
- void Test() {
- var ca1 = new NoEquality();
- var ca2 = new NoEquality();
- if (ca1 != null) { // OK
- bool condition = ca1 == ca2; // Warning
- }
- }
- }
-
-
-
-
- When applied to a target attribute, specifies a requirement for any type marked
- with the target attribute to implement or inherit specific type or types.
-
-
- [BaseTypeRequired(typeof(IComponent)] // Specify requirement
- class ComponentAttribute : Attribute { }
-
- [Component] // ComponentAttribute requires implementing IComponent interface
- class MyComponent : IComponent { }
-
-
-
-
- Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library),
- so this symbol will not be marked as unused (as well as by other usage inspections).
-
-
-
-
- Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes
- as unused (as well as by other usage inspections)
-
-
-
- Only entity marked with attribute considered used.
-
-
- Indicates implicit assignment to a member.
-
-
-
- Indicates implicit instantiation of a type with fixed constructor signature.
- That means any unused constructor parameters won't be reported as such.
-
-
-
- Indicates implicit instantiation of a type.
-
-
-
- Specify what is considered used implicitly when marked
- with or .
-
-
-
- Members of entity marked with attribute are considered used.
-
-
- Entity marked with attribute and all its members considered used.
-
-
-
- This attribute is intended to mark publicly available API
- which should not be removed and so is treated as used.
-
-
-
-
- Tells code analysis engine if the parameter is completely handled when the invoked method is on stack.
- If the parameter is a delegate, indicates that delegate is executed while the method is executed.
- If the parameter is an enumerable, indicates that it is enumerated while the method is executed.
-
-
-
-
- Indicates that a method does not make any observable state changes.
- The same as System.Diagnostics.Contracts.PureAttribute.
-
-
- [Pure] int Multiply(int x, int y) => x * y;
-
- void M() {
- Multiply(123, 42); // Waring: Return value of pure method is not used
- }
-
-
-
-
- Indicates that the return value of method invocation must be used.
-
-
-
-
- Indicates the type member or parameter of some type, that should be used instead of all other ways
- to get the value that type. This annotation is useful when you have some "context" value evaluated
- and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one.
-
-
- class Foo {
- [ProvidesContext] IBarService _barService = ...;
-
- void ProcessNode(INode node) {
- DoSomething(node, node.GetGlobalServices().Bar);
- // ^ Warning: use value of '_barService' field
- }
- }
-
-
-
-
- Indicates that a parameter is a path to a file or a folder within a web project.
- Path can be relative or absolute, starting from web root (~).
-
-
-
-
- An extension method marked with this attribute is processed by ReSharper code completion
- as a 'Source Template'. When extension method is completed over some expression, it's source code
- is automatically expanded like a template at call site.
-
-
- Template method body can contain valid source code and/or special comments starting with '$'.
- Text inside these comments is added as source code when the template is applied. Template parameters
- can be used either as additional method parameters or as identifiers wrapped in two '$' signs.
- Use the attribute to specify macros for parameters.
-
-
- In this example, the 'forEach' method is a source template available over all values
- of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block:
-
- [SourceTemplate]
- public static void forEach<T>(this IEnumerable<T> xs) {
- foreach (var x in xs) {
- //$ $END$
- }
- }
-
-
-
-
-
- Allows specifying a macro for a parameter of a source template.
-
-
- You can apply the attribute on the whole method or on any of its additional parameters. The macro expression
- is defined in the property. When applied on a method, the target
- template parameter is defined in the property. To apply the macro silently
- for the parameter, set the property value = -1.
-
-
- Applying the attribute on a source template method:
-
- [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")]
- public static void forEach<T>(this IEnumerable<T> collection) {
- foreach (var item in collection) {
- //$ $END$
- }
- }
-
- Applying the attribute on a template method parameter:
-
- [SourceTemplate]
- public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) {
- /*$ var $x$Id = "$newguid$" + x.ToString();
- x.DoSomething($x$Id); */
- }
-
-
-
-
-
- Allows specifying a macro that will be executed for a source template
- parameter when the template is expanded.
-
-
-
-
- Allows specifying which occurrence of the target parameter becomes editable when the template is deployed.
-
-
- If the target parameter is used several times in the template, only one occurrence becomes editable;
- other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence,
- use values >= 0. To make the parameter non-editable when the template is expanded, use -1.
- >
-
-
-
- Identifies the target parameter of a source template if the
- is applied on a template method.
-
-
-
-
- ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter
- is an MVC action. If applied to a method, the MVC action name is calculated
- implicitly from the context. Use this attribute for custom wrappers similar to
- System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String).
-
-
-
-
- ASP.NET MVC attribute. Indicates that a parameter is an MVC area.
- Use this attribute for custom wrappers similar to
- System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String).
-
-
-
-
- ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is
- an MVC controller. If applied to a method, the MVC controller name is calculated
- implicitly from the context. Use this attribute for custom wrappers similar to
- System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String).
-
-
-
-
- ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute
- for custom wrappers similar to System.Web.Mvc.Controller.View(String, String).
-
-
-
-
- ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute
- for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object).
-
-
-
-
- ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC
- partial view. If applied to a method, the MVC partial view name is calculated implicitly
- from the context. Use this attribute for custom wrappers similar to
- System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String).
-
-
-
-
- ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method.
-
-
-
-
- ASP.NET MVC attribute. Indicates that a parameter is an MVC display template.
- Use this attribute for custom wrappers similar to
- System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String).
-
-
-
-
- ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template.
- Use this attribute for custom wrappers similar to
- System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String).
-
-
-
-
- ASP.NET MVC attribute. Indicates that a parameter is an MVC template.
- Use this attribute for custom wrappers similar to
- System.ComponentModel.DataAnnotations.UIHintAttribute(System.String).
-
-
-
-
- ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter
- is an MVC view component. If applied to a method, the MVC view name is calculated implicitly
- from the context. Use this attribute for custom wrappers similar to
- System.Web.Mvc.Controller.View(Object).
-
-
-
-
- ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter
- is an MVC view component name.
-
-
-
-
- ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter
- is an MVC view component view. If applied to a method, the MVC view component view name is default.
-
-
-
-
- ASP.NET MVC attribute. When applied to a parameter of an attribute,
- indicates that this parameter is an MVC action name.
-
-
- [ActionName("Foo")]
- public ActionResult Login(string returnUrl) {
- ViewBag.ReturnUrl = Url.Action("Foo"); // OK
- return RedirectToAction("Bar"); // Error: Cannot resolve action
- }
-
-
-
-
- Razor attribute. Indicates that a parameter or a method is a Razor section.
- Use this attribute for custom wrappers similar to
- System.Web.WebPages.WebPageBase.RenderSection(String).
-
-
-
-
- Indicates how method, constructor invocation or property access
- over collection type affects content of the collection.
-
-
-
- Method does not use or modify content of the collection.
-
-
- Method only reads content of the collection but does not modify it.
-
-
- Method can change content of the collection but does not add new elements.
-
-
- Method can add new elements to the collection.
-
-
-
- Indicates that the marked method is assertion method, i.e. it halts control flow if
- one of the conditions is satisfied. To set the condition, mark one of the parameters with
- attribute.
-
-
-
-
- Indicates the condition parameter of the assertion method. The method itself should be
- marked by attribute. The mandatory argument of
- the attribute is the assertion type.
-
-
-
-
- Specifies assertion type. If the assertion method argument satisfies the condition,
- then the execution continues. Otherwise, execution is assumed to be halted.
-
-
-
- Marked parameter should be evaluated to true.
-
-
- Marked parameter should be evaluated to false.
-
-
- Marked parameter should be evaluated to null value.
-
-
- Marked parameter should be evaluated to not null value.
-
-
-
- Indicates that the marked method unconditionally terminates control flow execution.
- For example, it could unconditionally throw exception.
-
-
-
-
- Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select,
- .Where). This annotation allows inference of [InstantHandle] annotation for parameters
- of delegate type by analyzing LINQ method chains.
-
-
-
-
- Indicates that IEnumerable, passed as parameter, is not enumerated.
-
-
-
-
- Indicates that parameter is regular expression pattern.
-
-
-
-
- Prevents the Member Reordering feature from tossing members of the marked class.
-
-
- The attribute must be mentioned in your member reordering patterns
-
-
-
-
- XAML attribute. Indicates the type that has ItemsSource property and should be treated
- as ItemsControl-derived type, to enable inner items DataContext type resolve.
-
-
-
-
- XAML attribute. Indicates the property of some BindingBase-derived type, that
- is used to bind some item of ItemsControl-derived type. This annotation will
- enable the DataContext type resolve for XAML bindings for such properties.
-
-
- Property should have the tree ancestor of the ItemsControl type or
- marked with the attribute.
-
-
-
-
- Support implementation of
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Asynchronous continuation delegate - function invoked at the end of asynchronous
- processing.
-
- Exception during asynchronous processing or null if no exception
- was thrown.
-
-
-
- Helpers for asynchronous operations.
-
-
-
-
- Iterates over all items in the given collection and runs the specified action
- in sequence (each action executes only after the preceding one has completed without an error).
-
- Type of each item.
- The items to iterate.
- The asynchronous continuation to invoke once all items
- have been iterated.
- The action to invoke for each item.
-
-
-
- Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.
-
- The repeat count.
- The asynchronous continuation to invoke at the end.
- The action to invoke.
-
-
-
- Modifies the continuation by pre-pending given action to execute just before it.
-
- The async continuation.
- The action to pre-pend.
- Continuation which will execute the given action before forwarding to the actual continuation.
-
-
-
- Attaches a timeout to a continuation which will invoke the continuation when the specified
- timeout has elapsed.
-
- The asynchronous continuation.
- The timeout.
- Wrapped continuation.
-
-
-
- Iterates over all items in the given collection and runs the specified action
- in parallel (each action executes on a thread from thread pool).
-
- Type of each item.
- The items to iterate.
- The asynchronous continuation to invoke once all items
- have been iterated.
- The action to invoke for each item.
-
-
-
- Runs the specified asynchronous action synchronously (blocks until the continuation has
- been invoked).
-
- The action.
-
- Using this method is not recommended because it will block the calling thread.
-
-
-
-
- Wraps the continuation with a guard which will only make sure that the continuation function
- is invoked only once.
-
- The asynchronous continuation.
- Wrapped asynchronous continuation.
-
-
-
- Gets the combined exception from all exceptions in the list.
-
- The exceptions.
- Combined exception or null if no exception was thrown.
-
-
-
- Disposes the Timer, and waits for it to leave the Timer-callback-method
-
- The Timer object to dispose
- Timeout to wait (TimeSpan.Zero means dispose without wating)
- Timer disposed within timeout (true/false)
-
-
-
- Asynchronous action.
-
- Continuation to be invoked at the end of action.
-
-
-
- Asynchronous action with one argument.
-
- Type of the argument.
- Argument to the action.
- Continuation to be invoked at the end of action.
-
-
-
- Represents the logging event with asynchronous continuation.
-
-
-
-
- Initializes a new instance of the struct.
-
- The log event.
- The continuation.
-
-
-
- Gets the log event.
-
-
-
-
- Gets the continuation.
-
-
-
-
- Implements the operator ==.
-
- The event info1.
- The event info2.
- The result of the operator.
-
-
-
- Implements the operator ==.
-
- The event info1.
- The event info2.
- The result of the operator.
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- A value of true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- String Conversion Helpers
-
-
-
-
- Converts input string value into
-
- Input value
- Output value
- Default value
- Returns failure if the input value could not be parsed
-
-
-
- Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
-
- The enumeration type to which to convert value.
- The string representation of the enumeration name or underlying value to convert.
- When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
- true if the value parameter was converted successfully; otherwise, false.
- Wrapper because Enum.TryParse is not present in .net 3.5
-
-
-
- Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
-
- The enumeration type to which to convert value.
- The string representation of the enumeration name or underlying value to convert.
- true to ignore case; false to consider case.
- When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
- true if the value parameter was converted successfully; otherwise, false.
- Wrapper because Enum.TryParse is not present in .net 3.5
-
-
-
- Enum.TryParse implementation for .net 3.5
-
-
-
- Don't uses reflection
-
-
-
- NLog internal logger.
-
- Writes to file, console or custom textwriter (see )
-
-
- Don't use as that can lead to recursive calls - stackoverflows
-
-
-
-
- Gets a value indicating whether internal log includes Trace messages.
-
-
-
-
- Gets a value indicating whether internal log includes Debug messages.
-
-
-
-
- Gets a value indicating whether internal log includes Info messages.
-
-
-
-
- Gets a value indicating whether internal log includes Warn messages.
-
-
-
-
- Gets a value indicating whether internal log includes Error messages.
-
-
-
-
- Gets a value indicating whether internal log includes Fatal messages.
-
-
-
-
- Logs the specified message without an at the Trace level.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- 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.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Trace level.
-
- 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.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Debug level.
-
- 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.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Debug level.
-
- 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.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Info level.
-
- 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.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Info level.
-
- 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.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Warn level.
-
- 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.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Warn level.
-
- 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.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Error level.
-
- 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.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Error level.
-
- 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.
-
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Fatal level.
-
- 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.
-
- Exception to be logged.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- Message which may include positional parameters.
- Argument {0} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
-
-
-
- Logs the specified message without an at the Trace level.
-
- The type of the first argument.
- The type of the second argument.
- The type of the third argument.
- Message which may include positional parameters.
- Argument {0} to the message.
- Argument {1} to the message.
- Argument {2} to the message.
-
-
-
- Logs the specified message with an at the Fatal level.
-
- 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.
-
-
-
-
- Set the config of the InternalLogger with defaults and config.
-
-
-
-
- Gets or sets the minimal internal log level.
-
- If set to , then messages of the levels , and will be written.
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console output stream.
-
- Your application must be a console application.
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the console error stream.
-
- Your application must be a console application.
-
-
-
- Gets or sets a value indicating whether internal messages should be written to the .Trace
-
-
-
-
- Gets or sets the file path of the internal log file.
-
- A value of value disables internal logging to a file.
-
-
-
- Gets or sets the text writer that will receive internal logs.
-
-
-
-
- Gets or sets a value indicating whether timestamp should be included in internal log output.
-
-
-
-
- Is there an thrown when writing the message?
-
-
-
-
- Logs the specified message without an at the specified level.
-
- Log level.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message without an at the specified level.
-
- 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.
-
- Exception to be logged.
- Log level.
- Message which may include positional parameters.
- Arguments to the message.
-
-
-
- Logs the specified message with an at the specified level.
-
- Exception to be logged.
- Log level.
- Log message.
-
-
-
- Write to internallogger.
-
- optional exception to be logged.
- level
- message
- optional args for
-
-
-
- Determine if logging should be avoided because of exception type.
-
- The exception to check.
- true if logging should be avoided; otherwise, false.
-
-
-
- Determine if logging is enabled for given LogLevel
-
- The for the log event.
- true if logging is enabled; otherwise, false.
-
-
-
- Determine if logging is enabled.
-
- true if logging is enabled; otherwise, false.
-
-
-
- Write internal messages to the log file defined in .
-
- Message to write.
-
- Message will be logged only when the property is not null, otherwise the
- method has no effect.
-
-
-
-
- Write internal messages to the defined in .
-
- Message to write.
-
- Message will be logged only when the property is not null, otherwise the
- method has no effect.
-
-
-
-
- Write internal messages to the .
-
- Message to write.
-
- Message will be logged only when the property is true, otherwise the
- method has no effect.
-
-
-
-
- Write internal messages to the .
-
- Message to write.
-
- Message will be logged when the property is true, otherwise the
- method has no effect.
-
-
-
-
- Write internal messages to the .
-
- A message to write.
-
- Works when property set to true.
- The is used in Debug and Release configuration.
- The works only in Debug configuration and this is reason why is replaced by .
- in DEBUG
-
-
-
-
- Logs the assembly version and file version of the given Assembly.
-
- The assembly to log.
-
-
-
- A cyclic buffer of object.
-
-
-
-
- Initializes a new instance of the class.
-
- Buffer size.
- Whether buffer should grow as it becomes full.
- The maximum number of items that the buffer can grow to.
-
-
-
- Gets the capacity of the buffer
-
-
-
-
- Gets the number of items in the buffer
-
-
-
-
- Adds the specified log event to the buffer.
-
- Log event.
- The number of items in the buffer.
-
-
-
- Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.
-
- Events in the buffer.
-
-
-
- Condition and expression.
-
-
-
-
- Initializes a new instance of the class.
-
- Left hand side of the AND expression.
- Right hand side of the AND expression.
-
-
-
- Gets the left hand side of the AND expression.
-
-
-
-
- Gets the right hand side of the AND expression.
-
-
-
-
- Returns a string representation of this expression.
-
- A concatenated '(Left) and (Right)' string.
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the conjunction operator.
-
-
-
- Exception during evaluation of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
-
-
- Base class for representing nodes in condition expression trees.
-
-
-
-
- Converts condition text to a condition expression tree.
-
- Condition text to be converted.
- Condition expression tree.
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Returns a string representation of the expression.
-
-
- A that represents the condition expression.
-
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Condition layout expression (represented by a string literal
- with embedded ${}).
-
-
-
-
- Initializes a new instance of the class.
-
- The layout.
-
-
-
- Gets the layout.
-
- The layout.
-
-
-
- Returns a string representation of this expression.
-
- String literal in single quotes.
-
-
-
- Evaluates the expression by calculating the value
- of the layout in the specified evaluation context.
-
- Evaluation context.
- The value of the layout.
-
-
-
- Condition level expression (represented by the level keyword).
-
-
-
-
- Returns a string representation of the expression.
-
- The 'level' string.
-
-
-
- Evaluates to the current log level.
-
- Evaluation context. Ignored.
- The object representing current log level.
-
-
-
- Condition literal expression (numeric, LogLevel.XXX, true or false).
-
-
-
-
- Initializes a new instance of the class.
-
- Literal value.
-
-
-
- Gets the literal value.
-
- The literal value.
-
-
-
- Returns a string representation of the expression.
-
- The literal value.
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- The literal value as passed in the constructor.
-
-
-
- Condition logger name expression (represented by the logger keyword).
-
-
-
-
- Returns a string representation of this expression.
-
- A logger string.
-
-
-
- Evaluates to the logger name.
-
- Evaluation context.
- The logger name.
-
-
-
- Condition message expression (represented by the message keyword).
-
-
-
-
- Returns a string representation of this expression.
-
- The 'message' string.
-
-
-
- Evaluates to the logger message.
-
- Evaluation context.
- The logger message.
-
-
-
- Marks class as a log event Condition and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Condition method name.
-
-
-
- Condition method invocation expression (represented by method(p1,p2,p3) syntax).
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the condition method.
- of the condition method.
- The method parameters.
-
-
-
- Gets the method info.
-
-
-
-
- Gets the method parameters.
-
- The method parameters.
-
-
-
- Returns a string representation of the expression.
-
-
- A that represents the condition expression.
-
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- A bunch of utility methods (mostly predicates) which can be used in
- condition expressions. Partially inspired by XPath 1.0.
-
-
-
-
- Compares two values for equality.
-
- The first value.
- The second value.
- true when two objects are equal, false otherwise.
-
-
-
- Compares two strings for equality.
-
- The first string.
- The second string.
- Optional. If true, case is ignored; if false (default), case is significant.
- true when two strings are equal, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a substring of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a substring of the first string, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a prefix of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a prefix of the first string, false otherwise.
-
-
-
- Gets or sets a value indicating whether the second string is a suffix of the first one.
-
- The first string.
- The second string.
- Optional. If true (default), case is ignored; if false, case is significant.
- true when the second string is a prefix of the first string, false otherwise.
-
-
-
- Returns the length of a string.
-
- A string whose lengths is to be evaluated.
- The length of the string.
-
-
-
- Indicates whether the specified regular expression finds a match in the specified input string.
-
- The string to search for a match.
- The regular expression pattern to match.
- A string consisting of the desired options for the test. The possible values are those of the separated by commas.
- true if the regular expression finds a match; otherwise, false.
-
-
-
-
-
-
-
-
-
-
- Marks the class as containing condition methods.
-
-
-
-
- Condition not expression.
-
-
-
-
- Initializes a new instance of the class.
-
- The expression.
-
-
-
- Gets the expression to be negated.
-
- The expression.
-
-
-
- Returns a string representation of the expression.
-
-
- A that represents the condition expression.
-
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Condition or expression.
-
-
-
-
- Initializes a new instance of the class.
-
- Left hand side of the OR expression.
- Right hand side of the OR expression.
-
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
- Returns a string representation of the expression.
-
-
- A that represents the condition expression.
-
-
-
-
- Evaluates the expression by evaluating and recursively.
-
- Evaluation context.
- The value of the alternative operator.
-
-
-
- Exception during parsing of condition expression.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
-
-
- Condition parser. Turns a string representation of condition expression
- into an expression tree.
-
-
-
-
- Initializes a new instance of the class.
-
- The string reader.
- Instance of used to resolve references to condition methods and layout renderers.
-
-
-
- Parses the specified condition string and turns it into
- tree.
-
- The expression to be parsed.
- 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 expression to be parsed.
- 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.
-
-
-
-
- Try stringed keyword to
-
-
-
- success?
-
-
-
- Parse number
-
- negative number? minus should be parsed first.
-
-
-
-
- Condition relational (==, !=, <, <=,
- > or >=) expression.
-
-
-
-
- Initializes a new instance of the class.
-
- The left expression.
- The right expression.
- The relational operator.
-
-
-
- Gets the left expression.
-
- The left expression.
-
-
-
- Gets the right expression.
-
- The right expression.
-
-
-
- Gets the relational operator.
-
- The operator.
-
-
-
- Returns a string representation of the expression.
-
-
- A that represents the condition expression.
-
-
-
-
- Evaluates the expression.
-
- Evaluation context.
- Expression result.
-
-
-
- Compares the specified values using specified relational operator.
-
- The first value.
- The second value.
- The relational operator.
- Result of the given relational operator.
-
-
-
- Promote values to the type needed for the comparision, e.g. parse a string to int.
-
-
-
-
-
-
- Promotes to type
-
-
-
- success?
-
-
-
- Try to promote both values. First try to promote to ,
- when failed, try to .
-
-
-
-
-
- Get the order for the type for comparision.
-
-
- index, 0 to maxint. Lower is first
-
-
-
- Dictionary from type to index. Lower index should be tested first.
-
-
-
-
- Build the dictionary needed for the order of the types.
-
-
-
-
-
- Get the string representing the current
-
-
-
-
-
- Relational operators used in conditions.
-
-
-
-
- Equality (==).
-
-
-
-
- Inequality (!=).
-
-
-
-
- Less than (<).
-
-
-
-
- Greater than (>).
-
-
-
-
- Less than or equal (<=).
-
-
-
-
- Greater than or equal (>=).
-
-
-
-
- Hand-written tokenizer for conditions.
-
-
-
-
- Initializes a new instance of the class.
-
- The string reader.
-
-
-
- Gets the type of the token.
-
- The type of the token.
-
-
-
- Gets the token value.
-
- The token value.
-
-
-
- Gets the value of a string token.
-
- The string token value.
-
-
-
- Asserts current token type and advances to the next token.
-
- Expected token type.
- If token type doesn't match, an exception is thrown.
-
-
-
- Asserts that current token is a keyword and returns its value and advances to the next token.
-
- Keyword value.
-
-
-
- Gets or sets a value indicating whether current keyword is equal to the specified value.
-
- The keyword.
-
- A value of true if current keyword is equal to the specified value; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the tokenizer has reached the end of the token stream.
-
-
- A value of true if the tokenizer has reached the end of the token stream; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether current token is a number.
-
-
- A value of true if current token is a number; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the specified token is of specified type.
-
- The token type.
-
- A value of true if current token is of specified type; otherwise, false.
-
-
-
-
- Gets the next token and sets and properties.
-
-
-
-
- Try the comparison tokens (greater, smaller, greater-equals, smaller-equals)
-
- current char
- is match
-
-
-
- Try the logical tokens (and, or, not, equals)
-
- current char
- is match
-
-
-
- Mapping between characters and token types for punctuations.
-
-
-
-
- Initializes a new instance of the CharToTokenType struct.
-
- The character.
- Type of the token.
-
-
-
- Token types for condition expressions.
-
-
-
-
- Marks the class or a member as advanced. Advanced classes and members are hidden by
- default in generated documentation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
-
-
- A layout(renderer) could be converted to a literal when:
- - The layout and all layout properies are SimpleLayout or [AppDomainFixedOutput]
-
- Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout.
-
-
-
-
- Used to mark configurable parameters which are arrays.
- Specifies the mapping between XML elements and .NET types.
-
-
-
-
- Initializes a new instance of the class.
-
- The type of the array item.
- The XML element name that represents the item.
-
-
-
- Gets the .NET type of the array item.
-
-
-
-
- Gets the XML element name.
-
-
-
-
- An assembly is trying to load.
-
-
-
-
- New event args
-
-
-
-
-
- The assembly that is trying to load.
-
-
-
-
- NLog configuration section handler class for configuring NLog from App.config.
-
-
-
-
- Creates a configuration section handler.
-
- Parent object.
- Configuration context object.
- Section XML node.
- The created section handler object.
-
-
-
- Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type.
-
- Type of the item.
- Created object of the specified type.
-
-
-
- Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog.
-
- Everything of an assembly could be loaded by
-
-
-
-
- Called before the assembly will be loaded.
-
-
-
-
- Initializes a new instance of the class.
-
- The assemblies to scan for named items.
-
-
-
- Gets or sets default singleton instance of .
-
-
- This property implements lazy instantiation so that the is not built before
- the internal logger is configured.
-
-
-
-
- Gets or sets the creator delegate used to instantiate configuration objects.
-
-
- By overriding this property, one can enable dependency injection or interception for created objects.
-
-
-
-
- Gets the factory.
-
- The target factory.
-
-
-
- Gets the factory.
-
- The filter factory.
-
-
-
- gets the factory
-
- not using due to backwardscomp.
-
-
-
-
- Gets the factory.
-
- The layout renderer factory.
-
-
-
- Gets the factory.
-
- The layout factory.
-
-
-
- Gets the ambient property factory.
-
- The ambient property factory.
-
-
-
- Legacy interface, no longer used by the NLog engine
-
-
-
-
- Gets or sets the JSON serializer to use with or
-
-
-
-
- Gets or sets the string serializer to use with
-
-
-
-
- Gets or sets the parameter converter to use with , or
-
-
-
-
- Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
-
-
- - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
- - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
- - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
-
-
-
-
- Gets the time source factory.
-
- The time source factory.
-
-
-
- Gets the condition method factory.
-
- The condition method factory.
-
-
-
- Registers named items from the assembly.
-
- The assembly.
-
-
-
- Registers named items from the assembly.
-
- The assembly.
- Item name prefix.
-
-
-
- Call Preload for NLogPackageLoader
-
-
- Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments)
- This method will be called just before registering all items in the assembly.
-
-
-
-
-
- Call the Preload method for . The Preload method must be static.
-
-
-
-
-
- Clears the contents of all factories.
-
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Builds the default configuration item factory.
-
- Default factory.
-
-
-
- Registers items in NLog.Extended.dll using late-bound types, so that we don't need a reference to NLog.Extended.dll.
-
-
-
-
- Attribute used to mark the default parameters for layout renderers.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Dynamic filtering with a positive list of enabled levels
-
-
-
-
- Dynamic filtering with a minlevel and maxlevel range
-
-
-
-
- Format of the exception output to the specific target.
-
-
-
-
- Appends the Message of an Exception to the specified target.
-
-
-
-
- Appends the type of an Exception to the specified target.
-
-
-
-
- Appends the short type of an Exception to the specified target.
-
-
-
-
- Appends the result of calling ToString() on an Exception to the specified target.
-
-
-
-
- Appends the method name from Exception's stack trace to the specified target.
-
-
-
-
- Appends the stack trace from an Exception to the specified target.
-
-
-
-
- Appends the contents of an Exception's Data property to the specified target.
-
-
-
-
- Destructure the exception (usually into JSON)
-
-
-
-
- Appends the from the application or the object that caused the error.
-
-
-
-
- Factory for class-based items.
-
- The base type of each item.
- The type of the attribute used to annotate items.
-
-
-
- Scans the assembly.
-
- The types to scan.
- The prefix.
-
-
-
- Registers the type.
-
- 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.
-
-
-
-
- Registers a single type definition.
-
- The item name.
- The type of the item.
-
-
-
- Tries to get registered item definition.
-
- Name of the item.
- Reference to a variable which will store the item definition.
- Item definition.
-
-
-
- Tries to create an item instance.
-
- Name of the item.
- The result.
- True if instance was created successfully, false otherwise.
-
-
-
- Creates an item instance.
-
- The name of the item.
- Created item.
-
-
-
- Factory specialized for s.
-
-
-
-
- Clear all func layouts
-
-
-
-
- Register a layout renderer with a callback function.
-
- Name of the layoutrenderer, without ${}.
- the renderer that renders the value.
-
-
-
- Tries to create an item instance.
-
- Name of the item.
- The result.
- True if instance was created successfully, false otherwise.
-
-
-
- Provides means to populate factories of named items (such as targets, layouts, layout renderers, etc.).
-
-
-
-
- Implemented by objects which support installation and uninstallation.
-
-
-
-
- Performs installation which requires administrative permissions.
-
- The installation context.
-
-
-
- Performs uninstallation which requires administrative permissions.
-
- The installation context.
-
-
-
- Determines whether the item is installed.
-
- The installation context.
-
- Value indicating whether the item is installed or null if it is not possible to determine.
-
-
-
-
- Interface for accessing configuration details
-
-
-
-
- Name of the config section
-
-
-
-
- Configuration Key/Value Pairs
-
-
-
-
- Child config sections
-
-
-
-
- Interface for loading NLog
-
-
-
-
- Finds and loads the NLog configuration
-
- LogFactory that owns the NLog configuration
- NLog configuration (or null if none found)
-
-
-
- Notifies when LoggingConfiguration has been successfully applied
-
- LogFactory that owns the NLog configuration
- NLog Config
-
-
-
- Get file paths (including filename) for the possible NLog config files.
-
- The filepaths to the possible config file
-
-
-
- Level enabled flags for each LogLevel ordinal
-
-
-
-
- Converts the filter into a simple
-
-
-
-
- Represents a factory of named items (such as targets, layouts, layout renderers, etc.).
-
- Base type for each item instance.
- Item definition type (typically or ).
-
-
-
- Registers new item definition.
-
- Name of the item.
- Item definition.
-
-
-
- Tries to get registered item definition.
-
- Name of the item.
- Reference to a variable which will store the item definition.
- Item definition.
-
-
-
- Creates item instance.
-
- Name of the item.
- Newly created item instance.
-
-
-
- Tries to create an item instance.
-
- Name of the item.
- The result.
- True if instance was created successfully, false otherwise.
-
-
-
- Provides context for install/uninstall operations.
-
-
-
-
- Mapping between log levels and console output colors.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The log output.
-
-
-
- Gets or sets the installation log level.
-
-
-
-
- Gets or sets a value indicating whether to ignore failures during installation.
-
-
-
-
- Whether installation exceptions should be rethrown. If IgnoreFailures is set to true,
- this property has no effect (there are no exceptions to rethrow).
-
-
-
-
- Gets the installation parameters.
-
-
-
-
- Gets or sets the log output.
-
-
-
-
- Logs the specified trace message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified debug message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified informational message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified warning message.
-
- The message.
- The arguments.
-
-
-
- Logs the specified error message.
-
- The message.
- The arguments.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Creates the log event which can be used to render layouts during installation/uninstallations.
-
- Log event info object.
-
-
-
- Convert object-value into specified type
-
-
-
-
- Parses the input value and converts into the wanted type
-
- Input Value
- Wanted Type
- Format to use when parsing
- Culture to use when parsing
- Output value with wanted type
-
-
-
- Encapsulates and the logic to match the actual logger name
- All subclasses defines immutable objects.
- Concrete subclasses defines various matching rules through
-
-
-
-
- Creates a concrete based on .
-
-
- Rules used to select the concrete implementation returned:
-
- - if is null => returns (never matches)
- - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals)
- - if == '*' => returns (always matches)
- - if doesn't contain '?'
-
- - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns
- - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns
- - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns
-
-
- - returns
-
-
-
- It may include one or more '*' or '?' wildcards at any position.
-
- - '*' means zero or more occurrecnces of any character
- - '?' means exactly one occurrence of any character
-
-
- A concrete
-
-
-
- Returns the argument passed to
-
-
-
-
- Checks whether given name matches the logger name pattern.
-
- String to be matched.
- A value of when the name matches, otherwise.
-
-
-
- Defines a that never matches.
- Used when pattern is null
-
-
-
-
- Defines a that always matches.
- Used when pattern is '*'
-
-
-
-
- Defines a that matches with a case-sensitive Equals
- Used when pattern is a string without wildcards '?' '*'
-
-
-
-
- Defines a that matches with a case-sensitive StartsWith
- Used when pattern is a string like "*foobar"
-
-
-
-
- Defines a that matches with a case-sensitive EndsWith
- Used when pattern is a string like "foobar*"
-
-
-
-
- Defines a that matches with a case-sensitive Contains
- Used when pattern is a string like "*foobar*"
-
-
-
-
- Defines a that matches with a complex wildcards combinations:
-
- - '*' means zero or more occurrences of any character
- - '?' means exactly one occurrence of any character
-
- used when pattern is a string containing any number of '?' or '*' in any position
- i.e. "*Server[*].Connection[?]"
-
-
-
-
- Keeps logging configuration and provides simple API to modify it.
-
- This class is thread-safe..ToList() is used for that purpose.
-
-
-
- Variables defined in xml or in API. name is case case insensitive.
-
-
-
-
- Gets the factory that will be configured
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Use the old exception log handling of NLog 3.0?
-
- This method was marked as obsolete on NLog 4.1 and it may be removed in a future release.
-
-
-
- Gets the variables defined in the configuration.
-
-
-
-
- Gets a collection of named targets specified in the configuration.
-
-
- A list of named targets.
-
-
- Unnamed targets (such as those wrapped by other targets) are not returned.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
-
-
-
-
- Gets the collection of logging rules.
-
-
-
-
- Gets or sets the default culture info to use as .
-
-
- Specific culture info or null to use
-
-
-
-
- Gets all targets.
-
-
-
-
- Compare objects based on their name.
-
- This property is use to cache the comparer object.
-
-
-
- Defines methods to support the comparison of objects for equality based on their name.
-
-
-
-
- Registers the specified target object. The name of the target is read from .
-
-
- The target object with a non
-
- when is
-
-
-
- Registers the specified target object under a given name.
-
- Name of the target.
- The target object.
- when is
- when is
-
-
-
- Finds the target with the specified name.
-
-
- The name of the target to be found.
-
-
- Found target or when the target is not found.
-
-
-
-
- Finds the target with the specified name and specified type.
-
-
- The name of the target to be found.
-
- Type of the target
-
- Found target or when the target is not found of not of type
-
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule with min- and maxLevel.
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for one loglevel.
-
- log level needed to trigger this rule.
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Add a rule for all loglevels.
-
- Name of the target to be written when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for all loglevels.
-
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
-
-
-
- Add a rule for all loglevels.
-
- Target to be written to when the rule matches.
- Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
- Finds the logging rule with the specified name.
-
- The name of the logging rule to be found.
- Found logging rule or when not found.
-
-
-
- Removes the specified named logging rule.
-
- The name of the logging rule to be removed.
- Found one or more logging rule to remove, or when not found.
-
-
-
- Called by LogManager when one of the log configuration files changes.
-
-
- A new instance of that represents the updated configuration.
-
-
-
-
- Removes the specified named target.
-
- Name of the target.
-
-
-
- Installs target-specific objects on current system.
-
- The installation context.
-
- Installation typically runs with administrative permissions.
-
-
-
-
- Uninstalls target-specific objects from current system.
-
- The installation context.
-
- Uninstallation typically runs with administrative permissions.
-
-
-
-
- Closes all targets and releases any unmanaged resources.
-
-
-
-
- Log to the internal (NLog) logger the information about the and associated with this instance.
-
-
- The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
- recorded.
-
-
-
-
- Flushes any pending log messages on all appenders.
-
- The asynchronous continuation.
-
-
-
- Validates the configuration.
-
-
-
-
- Copies all variables from provided dictionary into current configuration variables.
-
- Master variables dictionary
-
-
-
- Replace a simple variable with a value. The orginal value is removed and thus we cannot redo this in a later stage.
-
-
-
-
-
-
- Checks whether unused targets exist. If found any, just write an internal log at Warn level.
- If initializing not started or failed, then checking process will be canceled
-
-
-
-
- Arguments for events.
-
-
-
-
- Initializes a new instance of the class.
-
- The new configuration.
- The old configuration.
-
-
-
- Gets the old configuration.
-
- The old configuration.
-
-
-
- Gets the new configuration.
-
- The new configuration.
-
-
-
- Gets the new configuration
-
- The new configuration.
-
-
-
- Gets the old configuration
-
- The old configuration.
-
-
-
- Enables loading of NLog configuration from a file
-
-
-
-
-
-
-
- Get default file paths (including filename) for possible NLog config files.
-
-
-
-
- Get default file paths (including filename) for possible NLog config files.
-
-
-
-
- Loads NLog configuration from
-
-
-
-
- Constructor
-
-
-
-
-
- Loads NLog configuration from provided config section
-
-
-
-
-
-
- Builds list with unique keys, using last value of duplicates. High priority keys placed first.
-
-
-
-
-
-
- Parse loglevel, but don't throw if exception throwing is disabled
-
- Name of attribute for logging.
- Value of parse.
- Used if there is an exception
-
-
-
-
- Parses a single config section within the NLog-config
-
-
- Section was recognized
-
-
-
- Parse {Rules} xml element
-
-
- Rules are added to this parameter.
-
-
-
- Parse {Logger} xml element
-
-
-
-
-
- Parse boolean
-
- Name of the property for logging.
- value to parse
- Default value to return if the parse failed
- Boolean attribute value or default.
-
-
-
- Remove the namespace (before :)
-
-
- x:a, will be a
-
-
-
-
-
-
- Gets the optional boolean attribute value.
-
-
- Name of the attribute.
- Default value to return if the attribute is not found or if there is a parse error
- Boolean attribute value or default.
-
-
-
- Arguments for .
-
-
-
-
- Initializes a new instance of the class.
-
- Whether configuration reload has succeeded.
-
-
-
- Initializes a new instance of the class.
-
- Whether configuration reload has succeeded.
- The exception during configuration reload.
-
-
-
- Gets a value indicating whether configuration reload has succeeded.
-
- A value of true if succeeded; otherwise, false.
-
-
-
- Gets the exception which occurred during configuration reload.
-
- The exception.
-
-
-
- Enables FileWatcher for the currently loaded NLog Configuration File,
- and supports automatic reload on file modification.
-
-
-
-
- Represents a logging rule. An equivalent of <logger /> configuration element.
-
-
-
-
- Create an empty .
-
-
-
-
- Create an empty .
-
-
-
-
- Create a new with a and which writes to .
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
- Target to be written to when the rule matches.
-
-
-
- Create a new with a which writes to .
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Minimum log level needed to trigger this rule.
- Target to be written to when the rule matches.
-
-
-
- Create a (disabled) . You should call or see cref="EnableLoggingForLevels"/> to enable logging.
-
- Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
- Target to be written to when the rule matches.
-
-
-
- Rule identifier to allow rule lookup
-
-
-
-
- Gets a collection of targets that should be written to when this rule matches.
-
-
-
-
- Gets a collection of child rules to be evaluated when this rule matches.
-
-
-
-
- Gets a collection of filters to be checked before writing to targets.
-
-
-
-
- Gets or sets a value indicating whether to quit processing any further rule when this one matches.
-
-
-
-
- Gets or sets logger name pattern.
-
-
- Logger name pattern used by to check if a logger name matches this rule.
- It may include one or more '*' or '?' wildcards at any position.
-
- - '*' means zero or more occurrecnces of any character
- - '?' means exactly one occurrence of any character
-
-
-
-
-
- Gets the collection of log levels enabled by this rule.
-
-
-
-
- Default action if none of the filters match
-
-
-
-
- Enables logging for a particular level.
-
- Level to be enabled.
-
-
-
- Enables logging for a particular levels between (included) and .
-
- Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
-
-
-
- Disables logging for a particular level.
-
- Level to be disabled.
-
-
-
- Disables logging for particular levels between (included) and .
-
- Minimum log level to be disables.
- Maximum log level to de disabled.
-
-
-
- Enables logging the levels between (included) and . All the other levels will be disabled.
-
- >Minimum log level needed to trigger this rule.
- Maximum log level needed to trigger this rule.
-
-
-
- Returns a string representation of . Used for debugging.
-
-
- A that represents the current .
-
-
-
-
- Checks whether te particular log level is enabled for this rule.
-
- Level to be checked.
- A value of when the log level is enabled, otherwise.
-
-
-
- Checks whether given name matches the .
-
- String to be matched.
- A value of when the name matches, otherwise.
-
-
-
- Default filtering with static level config
-
-
-
-
- Factory for locating methods.
-
- The type of the class marker attribute.
- The type of the method marker attribute.
-
-
-
- Gets a collection of all registered items in the factory.
-
-
- Sequence of key/value pairs where each key represents the name
- of the item and value is the of
- the item.
-
-
-
-
- Scans the assembly for classes marked with
- and methods marked with and adds them
- to the factory.
-
- The types to scan.
- The prefix to use for names.
-
-
-
- Registers the type.
-
- The type to register.
- The item name prefix.
-
-
-
- Clears contents of the factory.
-
-
-
-
- Registers the definition of a single method.
-
- The method name.
- The method info.
-
-
-
- Tries to retrieve method by name.
-
- The method name.
- The result.
- A value of true if the method was found, false otherwise.
-
-
-
- Retrieves method by name.
-
- Method name.
- MethodInfo object.
-
-
-
- Tries to get method definition.
-
- The method name.
- The result.
- A value of true if the method was found, false otherwise.
-
-
-
- Marks the layout or layout renderer depends on mutable objects from the LogEvent
-
- This can be or
-
-
-
-
- Attaches a simple name to an item (such as ,
- , , etc.).
-
-
-
-
- Initializes a new instance of the class.
-
- The name of the item.
-
-
-
- Gets the name of the item.
-
- The name of the item.
-
-
-
- Indicates NLog should not scan this property during configuration.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Marks the object as configuration item for NLog.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Represents simple XML element with case-insensitive attribute semantics.
-
-
-
-
- Initializes a new instance of the class.
-
- The input URI.
-
-
-
- Initializes a new instance of the class.
-
- The reader to initialize element from.
-
-
-
- Prevents a default instance of the class from being created.
-
-
-
-
- Gets the element name.
-
-
-
-
- Gets the dictionary of attribute values.
-
-
-
-
- Gets the collection of child elements.
-
-
-
-
- Gets the value of the element.
-
-
-
-
- Last error occured during configuration read
-
-
-
-
- Returns children elements with the specified element name.
-
- Name of the element.
- Children elements with the specified element name.
-
-
-
- Asserts that the name of the element is among specified element names.
-
- The allowed names.
-
-
-
- Returns all parsing errors from current and all child elements.
-
-
-
-
- Special attribute we could ignore
-
-
-
-
- Default implementation of
-
-
-
-
-
-
-
- Attribute used to mark the required parameters for targets,
- layout targets and filters.
-
-
-
-
- Provides simple programmatic configuration API used for trivial logging cases.
-
- Warning, these methods will overwrite the current config.
-
-
-
-
- Configures NLog for console logging so that all messages above and including
- the level are output to the console.
-
-
-
-
- Configures NLog for console logging so that all messages above and including
- the specified level are output to the console.
-
- The minimal logging level.
-
-
-
- Configures NLog for to log to the specified target so that all messages
- above and including the level are output.
-
- The target to log all messages to.
-
-
-
- Configures NLog for to log to the specified target so that all messages
- above and including the specified level are output.
-
- The target to log all messages to.
- The minimal logging level.
-
-
-
- Configures NLog for file logging so that all messages above and including
- the level are written to the specified file.
-
- Log file name.
-
-
-
- Configures NLog for file logging so that all messages above and including
- the specified level are written to the specified file.
-
- Log file name.
- The minimal logging level.
-
-
-
- Value indicating how stack trace should be captured when processing the log event.
-
-
-
-
- Stack trace should not be captured.
-
-
-
-
- Stack trace should be captured without source-level information.
-
-
-
-
- Stack trace should be captured including source-level information such as line numbers.
-
-
-
-
- Capture maximum amount of the stack trace information supported on the platform.
-
-
-
-
- Marks the layout or layout renderer as thread independent - it producing correct results
- regardless of the thread it's running on.
-
- Without this attribute everything is rendered on the main thread.
-
-
- If this attribute is set on a layout, it could be rendered on the another thread.
- This could be more efficient as it's skipped when not needed.
-
- If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied.
-
- See the AsyncTargetWrapper and BufferTargetWrapper with the , using
-
- Apply this attribute when:
- - The result can we rendered in another thread. Delaying this could be more efficient. And/Or,
- - The result should not be precalculated, for example the target sends some extra context information.
-
-
-
-
- Marks the layout or layout renderer as thread safe - it producing correct results
- regardless of the number of threads it's running on.
-
- Without this attribute then the target concurrency will be reduced
-
-
-
-
- A class for configuring NLog through an XML configuration file
- (App.config style or App.nlog style).
-
- Parsing of the XML file is also implemented in this class.
-
-
- - This class is thread-safe..ToList() is used for that purpose.
- - Update TemplateXSD.xml for changes outside targets
-
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- Ignore any errors during configuration.
-
-
-
- Initializes a new instance of the class.
-
- Configuration file to be read.
- Ignore any errors during configuration.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- XML reader to read from.
-
-
-
- Create XML reader for (xml config) file.
-
- filepath
- reader or null if filename is empty.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
-
-
-
- Initializes a new instance of the class.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
- The to which to apply any applicable configuration values.
-
-
-
- Initializes a new instance of the class.
-
- The XML contents.
- Name of the XML file.
- The to which to apply any applicable configuration values.
-
-
-
- Parse XML string as NLog configuration
-
- NLog configuration
-
-
-
-
- Gets the default object by parsing
- the application configuration file (app.exe.config).
-
-
-
-
- Did the Succeeded? true= success, false= error, null = initialize not started yet.
-
-
-
-
- Gets or sets a value indicating whether all of the configuration files
- should be watched for changes and reloaded automatically when changed.
-
-
-
-
- Gets the collection of file names which should be watched for changes by NLog.
- This is the list of configuration files processed.
- If the autoReload attribute is not set it returns empty collection.
-
-
-
-
- Re-reads the original configuration file and returns the new object.
-
- The new object.
-
-
-
- Get file paths (including filename) for the possible NLog config files.
-
- The filepaths to the possible config file
-
-
-
- Overwrite the paths (including filename) for the possible NLog config files.
-
- The filepaths to the possible config file
-
-
-
- Clear the candidate file paths and return to the defaults.
-
-
-
-
- Initializes the configuration.
-
- containing the configuration section.
- Name of the file that contains the element (to be used as a base for including other files). null is allowed.
- Ignore any errors during configuration.
-
-
-
- Checks whether any error during XML configuration parsing has occured.
- If there are any and ThrowConfigExceptions or ThrowExceptions
- setting is enabled - throws NLogConfigurationException, otherwise
- just write an internal log at Warn level.
-
- Root NLog configuration xml element
-
-
-
- Add a file with configuration. Check if not already included.
-
-
-
-
-
-
- Parse the root
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parse {configuration} xml element.
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parse {NLog} xml element.
-
-
- path to config file.
- The default value for the autoReload option.
-
-
-
- Parses a single config section within the NLog-config
-
-
- Section was recognized
-
-
-
- Include (multiple) files by filemask, e.g. *.nlog
-
- base directory in case if is relative
- relative or absolute fileMask
-
-
-
-
- Matches when the specified condition is met.
-
-
- Conditions are expressed using a simple language
- described here.
-
-
-
-
- Gets or sets the condition expression.
-
-
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- An abstract filter class. Provides a way to eliminate log messages
- based on properties other than logger name and log level.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the action to be taken when filter matches.
-
-
-
-
-
- Gets the result of evaluating filter against given log event.
-
- The log event.
- Filter result.
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Marks class as a layout renderer and assigns a name to it.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the filter.
-
-
-
- Filter result.
-
-
-
-
- The filter doesn't want to decide whether to log or discard the message.
-
-
-
-
- The message should be logged.
-
-
-
-
- The message should not be logged.
-
-
-
-
- The message should be logged and processing should be finished.
-
-
-
-
- The message should not be logged and processing should be finished.
-
-
-
-
- A base class for filters that are based on comparing a value to a layout.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the layout to be used to filter log messages.
-
- The layout.
-
-
-
-
- Matches when the calculated layout contains the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Gets or sets the substring to be matched.
-
-
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Matches when the calculated layout is equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Gets or sets a string to compare the layout to.
-
-
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Matches the provided filter-method
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
-
-
- Matches when the calculated layout does NOT contain the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Gets or sets the substring to be matched.
-
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Matches when the calculated layout is NOT equal to the specified substring.
- This filter is deprecated in favor of <when /> which is based on conditions.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a string to compare the layout to.
-
-
-
-
-
- Gets or sets a value indicating whether to ignore case when comparing strings.
-
-
-
-
-
- Checks whether log event should be logged or not.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Matches when the result of the calculated layout has been repeated a moment ago
-
-
-
-
- How long before a filter expires, and logging is accepted again
-
-
-
-
-
- Max length of filter values, will truncate if above limit
-
-
-
-
-
- Applies the configured action to the initial logevent that starts the timeout period.
- Used to configure that it should ignore all events until timeout.
-
-
-
-
-
- Max number of unique filter values to expect simultaneously
-
-
-
-
-
- Default number of unique filter values to expect, will automatically increase if needed
-
-
-
-
-
- Insert FilterCount value into when an event is no longer filtered
-
-
-
-
-
- Append FilterCount to the when an event is no longer filtered
-
-
-
-
-
- Reuse internal buffers, and doesn't have to constantly allocate new buffers
-
-
-
-
-
- Default buffer size for the internal buffers
-
-
-
-
-
- Can be used if has been enabled.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Checks whether log event should be logged or not. In case the LogEvent has just been repeated.
-
- Log event.
-
- - if the log event should be ignored
- - if the filter doesn't want to decide
- - if the log event should be logged
- .
-
-
-
- Uses object pooling, and prunes stale filter items when the pool runs dry
-
-
-
-
- Remove stale filter-value from the cache, and fill them into the pool for reuse
-
-
-
-
- Renders the Log Event into a filter value, that is used for checking if just repeated
-
-
-
-
- Repeated LogEvent detected. Checks if it should activate filter-action
-
-
-
-
- Filter Value State (mutable)
-
-
-
-
- Filter Lookup Key (immutable)
-
-
-
-
- A fluent class to build log events for NLog.
-
-
-
-
- Initializes a new instance of the class.
-
- The to send the log event.
-
-
-
- Initializes a new instance of the class.
-
- The to send the log event.
- The for the log event.
-
-
-
- Gets the created by the builder.
-
-
-
-
- Sets the information of the logging event.
-
- The exception information of the logging event.
- current for chaining calls.
-
-
-
- Sets the level of the logging event.
-
- The level of the logging event.
- current for chaining calls.
-
-
-
- Sets the logger name of the logging event.
-
- The logger name of the logging event.
- current for chaining calls.
-
-
-
- Sets the log message on the logging event.
-
- The log message for the logging event.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- The third object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- The first object to format.
- The second object to format.
- The third object to format.
- The fourth object to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- A composite format string.
- An object array that contains zero or more objects to format.
- current for chaining calls.
-
-
-
- Sets the log message and parameters for formatting on the logging event.
-
- An object that supplies culture-specific formatting information.
- A composite format string.
- An object array that contains zero or more objects to format.
- current for chaining calls.
-
-
-
- Sets a per-event context property on the logging event.
-
- The name of the context property.
- The value of the context property.
- current for chaining calls.
-
-
-
- Sets multiple per-event context properties on the logging event.
-
- The properties to set.
- current for chaining calls.
-
-
-
- Sets the timestamp of the logging event.
-
- The timestamp of the logging event.
- current for chaining calls.
-
-
-
- Sets the stack trace for the event info.
-
- The stack trace.
- Index of the first user stack frame within the stack trace.
- current for chaining calls.
-
-
-
- Writes the log event to the underlying logger.
-
-
-
-
- Writes the log event to the underlying logger.
-
- If condition is true, write log event; otherwise ignore event.
-
-
-
- Writes the log event to the underlying logger.
-
- If condition is true, write log event; otherwise ignore event.
-
-
-
- Extension methods for NLog .
-
-
-
-
- Starts building a log event with the specified .
-
- The logger to write the log event to.
- The log level.
- current for chaining calls.
-
-
-
- Starts building a log event at the Trace level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Starts building a log event at the Debug level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Starts building a log event at the Info level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Starts building a log event at the Warn level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Starts building a log event at the Error level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Starts building a log event at the Fatal level.
-
- The logger to write the log event to.
- current for chaining calls.
-
-
-
- Global Diagnostics Context
-
- This class was marked as obsolete on NLog 2.0 and it may be removed in a future release.
-
-
-
- Sets the Global Diagnostics Context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Gets the Global Diagnostics Context named item.
-
- 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 Global Diagnostics Context item.
-
- Item name.
- to use when converting the item's value to a string.
- The value of as a string, 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 Global Diagnostics Context named item.
-
- Item name.
- The value of , if defined; otherwise null.
-
-
-
- Checks whether the specified item exists in the Global Diagnostics Context.
-
- Item name.
- A boolean indicating whether the specified item exists in current thread GDC.
-
-
-
- Removes the specified item from the Global Diagnostics Context.
-
- Item name.
-
-
-
- Clears the content of the GDC.
-
-
-
-
- Global Diagnostics Context - a dictionary structure to hold per-application-instance values.
-
-
-
-
- Sets the Global Diagnostics Context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Sets the Global Diagnostics Context item to the specified value.
-
- Item name.
- Item value.
-
-
-
- Gets the Global Diagnostics Context named item.
-
- 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 Global Diagnostics Context item.
-
- Item name.
- to use when converting the item's value to a string.
- The value of as a string, 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 Global Diagnostics Context named item.
-
- Item name.
- The item value, if defined; otherwise null.
-
-
-
- Returns all item names
-
- A collection of the names of all items in the Global Diagnostics Context.
-
-
-
- Checks whether the specified item exists in the Global Diagnostics Context.
-
- Item name.
- A boolean indicating whether the specified item exists in current thread GDC.
-
-
-
- Removes the specified item from the Global Diagnostics Context.
-
- Item name.
-
-
-
- Clears the content of the GDC.
-
-
-
-
- Include context properties
-
-
-
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
-
-
- Gets or sets the option to include all properties from the log events
-
-
-
-
-
- Gets or sets a value indicating whether to include contents of the dictionary.
-
-
-
-
-
- Gets or sets a value indicating whether to include contents of the stack.
-
-
-
Interface for serialization of object values into JSON format
@@ -7446,7 +2594,7 @@
Writes the specified diagnostic message.
- The name of the type that wraps Logger.
+ Type of custom Logger wrapper.
Log event.
@@ -7606,11 +2754,5319 @@
The second argument to format.
The third argument to format.
+
+
+ Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
+
+
+
+
+ Runs the provided action. If the action throws, the exception is logged at Error level. The exception is not propagated outside of this method.
+
+ Action to execute.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a default value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Result returned by the provided function or the default value of type in case of exception.
+
+
+
+ Runs the provided function and returns its result. If an exception is thrown, it is logged at Error level.
+ The exception is not propagated outside of this method; a fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Fallback value to return in case of exception.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ 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.
+
+
+
+ Render a message template property to a string
+
+
+
+
+ Serialization of an object, e.g. JSON and append to
+
+ The object to serialize to string.
+ Parameter Format
+ Parameter CaptureType
+ An object that supplies culture-specific formatting information.
+ Output destination.
+ Serialize succeeded (true/false)
+
+
+
+ Support implementation of
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Mark a parameter of a method for message templating
+
+
+
+
+ Specifies which parameter of an annotated method should be treated as message-template-string
+
+
+
+
+ The name of the parameter that should be as treated as message-template-string
+
+
+
+
+ Asynchronous continuation delegate - function invoked at the end of asynchronous
+ processing.
+
+ Exception during asynchronous processing or null if no exception
+ was thrown.
+
+
+
+ Helpers for asynchronous operations.
+
+
+
+
+ Iterates over all items in the given collection and runs the specified action
+ in sequence (each action executes only after the preceding one has completed without an error).
+
+ Type of each item.
+ The items to iterate.
+ The asynchronous continuation to invoke once all items
+ have been iterated.
+ The action to invoke for each item.
+
+
+
+ Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.
+
+ The repeat count.
+ The asynchronous continuation to invoke at the end.
+ The action to invoke.
+
+
+
+ Modifies the continuation by pre-pending given action to execute just before it.
+
+ The async continuation.
+ The action to pre-pend.
+ Continuation which will execute the given action before forwarding to the actual continuation.
+
+
+
+ Attaches a timeout to a continuation which will invoke the continuation when the specified
+ timeout has elapsed.
+
+ The asynchronous continuation.
+ The timeout.
+ Wrapped continuation.
+
+
+
+ Iterates over all items in the given collection and runs the specified action
+ in parallel (each action executes on a thread from thread pool).
+
+ Type of each item.
+ The items to iterate.
+ The asynchronous continuation to invoke once all items
+ have been iterated.
+ The action to invoke for each item.
+
+
+
+ Runs the specified asynchronous action synchronously (blocks until the continuation has
+ been invoked).
+
+ The action.
+
+ Using this method is not recommended because it will block the calling thread.
+
+
+
+
+ Wraps the continuation with a guard which will only make sure that the continuation function
+ is invoked only once.
+
+ The asynchronous continuation.
+ Wrapped asynchronous continuation.
+
+
+
+ Gets the combined exception from all exceptions in the list.
+
+ The exceptions.
+ Combined exception or null if no exception was thrown.
+
+
+
+ Disposes the Timer, and waits for it to leave the Timer-callback-method
+
+ The Timer object to dispose
+ Timeout to wait (TimeSpan.Zero means dispose without waiting)
+ Timer disposed within timeout (true/false)
+
+
+
+ Asynchronous action.
+
+ Continuation to be invoked at the end of action.
+
+
+
+ Asynchronous action with one argument.
+
+ Type of the argument.
+ Argument to the action.
+ Continuation to be invoked at the end of action.
+
+
+
+ Represents the logging event with asynchronous continuation.
+
+
+
+
+ Initializes a new instance of the struct.
+
+ The log event.
+ The continuation.
+
+
+
+ Gets the log event.
+
+
+
+
+ Gets the continuation.
+
+
+
+
+ Implements the operator ==.
+
+ The event info1.
+ The event info2.
+ The result of the operator.
+
+
+
+ Implements the operator ==.
+
+ The event info1.
+ The event info2.
+ The result of the operator.
+
+
+
+
+
+
+
+
+
+
+
+
+ String Conversion Helpers
+
+
+
+
+ Converts input string value into . Parsing is case-insensitive.
+
+ Input value
+ Output value
+ Default value
+ Returns false if the input value could not be parsed
+
+
+
+ Converts input string value into . Parsing is case-insensitive.
+
+ Input value
+ The type of the enum
+ Output value. Null if parse failed
+
+
+
+ Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
+
+ The enumeration type to which to convert value.
+ The string representation of the enumeration name or underlying value to convert.
+ true to ignore case; false to consider case.
+ When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
+ true if the value parameter was converted successfully; otherwise, false.
+ Wrapper because Enum.TryParse is not present in .net 3.5
+
+
+
+ Enum.TryParse implementation for .net 3.5
+
+
+
+ Don't uses reflection
+
+
+
+ Enables to extract extra context details for
+
+
+
+
+ Name of context
+
+
+
+
+ The current LogFactory next to LogManager
+
+
+
+
+ NLog internal logger.
+
+ Writes to file, console or custom text writer (see )
+
+
+ Don't use as that can lead to recursive calls - stackoverflow
+
+
+
+
+ Gets a value indicating whether internal log includes Trace messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Debug messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Info messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Warn messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Error messages.
+
+
+
+
+ Gets a value indicating whether internal log includes Fatal messages.
+
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ 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.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Trace level.
+
+ 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.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Debug level.
+
+ 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.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Debug level.
+
+ 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.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Info level.
+
+ 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.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Info level.
+
+ 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.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Warn level.
+
+ 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.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Warn level.
+
+ 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.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Error level.
+
+ 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.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Error level.
+
+ 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.
+
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Fatal level.
+
+ 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.
+
+ Exception to be logged.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+
+
+
+ Logs the specified message without an at the Trace level.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ Message which may include positional parameters.
+ Argument {0} to the message.
+ Argument {1} to the message.
+ Argument {2} to the message.
+
+
+
+ Logs the specified message with an at the Fatal level.
+
+ 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.
+
+
+
+ Set the config of the InternalLogger with defaults and config.
+
+
+
+
+ Gets or sets the minimal internal log level.
+
+ If set to , then messages of the levels , and will be written.
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console output stream.
+
+ Your application must be a console application.
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the console error stream.
+
+ Your application must be a console application.
+
+
+
+ Gets or sets a value indicating whether internal messages should be written to the .Trace
+
+
+
+
+ Gets or sets the file path of the internal log file.
+
+ A value of value disables internal logging to a file.
+
+
+
+ Gets or sets the text writer that will receive internal logs.
+
+
+
+
+ Event written to the internal log.
+
+
+ EventHandler will only be triggered for events, where severity matches the configured .
+
+ Avoid using/calling NLog Logger-objects when handling these internal events, as it will lead to deadlock / stackoverflow.
+
+
+
+
+ Gets or sets a value indicating whether timestamp should be included in internal log output.
+
+
+
+
+ Is there an thrown when writing the message?
+
+
+
+
+ Logs the specified message without an at the specified level.
+
+ Log level.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message without an at the specified level.
+
+ 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.
+
+ Exception to be logged.
+ Log level.
+ Message which may include positional parameters.
+ Arguments to the message.
+
+
+
+ Logs the specified message with an at the specified level.
+
+ Exception to be logged.
+ Log level.
+ Log message.
+
+
+
+ Write to internallogger.
+
+ optional exception to be logged.
+ level
+ message
+ optional args for
+
+
+
+ Create log line with timestamp, exception message etc (if configured)
+
+
+
+
+ Determine if logging should be avoided because of exception type.
+
+ The exception to check.
+ true if logging should be avoided; otherwise, false.
+
+
+
+ Determine if logging is enabled for given LogLevel
+
+ The for the log event.
+ true if logging is enabled; otherwise, false.
+
+
+
+ Determine if logging is enabled.
+
+ true if logging is enabled; otherwise, false.
+
+
+
+ Write internal messages to the log file defined in .
+
+ Message to write.
+
+ Message will be logged only when the property is not null, otherwise the
+ method has no effect.
+
+
+
+
+ Write internal messages to the defined in .
+
+ Message to write.
+
+ Message will be logged only when the property is not null, otherwise the
+ method has no effect.
+
+
+
+
+ Write internal messages to the .
+
+ Message to write.
+
+ Message will be logged only when the property is true, otherwise the
+ method has no effect.
+
+
+
+
+ Write internal messages to the .
+
+ Message to write.
+
+ Message will be logged when the property is true, otherwise the
+ method has no effect.
+
+
+
+
+ Write internal messages to the .
+
+ A message to write.
+
+ Works when property set to true.
+ The is used in Debug and Release configuration.
+ The works only in Debug configuration and this is reason why is replaced by .
+ in DEBUG
+
+
+
+
+ Logs the assembly version and file version of the given Assembly.
+
+ The assembly to log.
+
+
+
+ A message has been written to the internal logger
+
+
+
+
+ The rendered message
+
+
+
+
+ The log level
+
+
+
+
+ The exception. Could be null.
+
+
+
+
+ The type that triggered this internal log event, for example the FileTarget.
+ This property is not always populated.
+
+
+
+
+ The context name that triggered this internal log event, for example the name of the Target.
+ This property is not always populated.
+
+
+
+
+ A cyclic buffer of object.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Buffer size.
+ Whether buffer should grow as it becomes full.
+ The maximum number of items that the buffer can grow to.
+
+
+
+ Gets the capacity of the buffer
+
+
+
+
+ Gets the number of items in the buffer
+
+
+
+
+ Adds the specified log event to the buffer.
+
+ Log event.
+ The number of items in the buffer.
+
+
+
+ Gets the array of events accumulated in the buffer and clears the buffer as one atomic operation.
+
+ Events in the buffer.
+
+
+
+ Marks class as a log event Condition and assigns a name to it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Condition method name.
+
+
+
+ Marks the class as containing condition methods.
+
+
+
+
+ A bunch of utility methods (mostly predicates) which can be used in
+ condition expressions. Partially inspired by XPath 1.0.
+
+
+
+
+ Compares two values for equality.
+
+ The first value.
+ The second value.
+ true when two objects are equal, false otherwise.
+
+
+
+ Compares two strings for equality.
+
+ The first string.
+ The second string.
+ Optional. If true, case is ignored; if false (default), case is significant.
+ true when two strings are equal, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a substring of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a substring of the first string, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a prefix of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a prefix of the first string, false otherwise.
+
+
+
+ Gets or sets a value indicating whether the second string is a suffix of the first one.
+
+ The first string.
+ The second string.
+ Optional. If true (default), case is ignored; if false, case is significant.
+ true when the second string is a prefix of the first string, false otherwise.
+
+
+
+ Returns the length of a string.
+
+ A string whose lengths is to be evaluated.
+ The length of the string.
+
+
+
+ Indicates whether the specified regular expression finds a match in the specified input string.
+
+ The string to search for a match.
+ The regular expression pattern to match.
+ A string consisting of the desired options for the test. The possible values are those of the separated by commas.
+ true if the regular expression finds a match; otherwise, false.
+
+
+
+
+
+
+
+
+
+
+ Relational operators used in conditions.
+
+
+
+
+ Equality (==).
+
+
+
+
+ Inequality (!=).
+
+
+
+
+ Less than (<).
+
+
+
+
+ Greater than (>).
+
+
+
+
+ Less than or equal (<=).
+
+
+
+
+ Greater than or equal (>=).
+
+
+
+
+ Exception during evaluation of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Exception during parsing of condition expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Condition and expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the AND expression.
+ Right hand side of the AND expression.
+
+
+
+ Gets the left hand side of the AND expression.
+
+
+
+
+ Gets the right hand side of the AND expression.
+
+
+
+
+ Returns a string representation of this expression.
+
+ A concatenated '(Left) and (Right)' string.
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the conjunction operator.
+
+
+
+ Condition message expression (represented by the exception keyword).
+
+
+
+
+
+
+
+ Evaluates the current .
+
+ Evaluation context.
+ The object.
+
+
+
+ Base class for representing nodes in condition expression trees.
+
+ Documentation on NLog Wiki
+
+
+
+ Converts condition text to a condition expression tree.
+
+ Condition text to be converted.
+ Condition expression tree.
+
+
+
+ Evaluates the expression.
+
+ Evaluation context.
+ Expression result.
+
+
+
+ Returns a string representation of the expression.
+
+
+
+
+ Evaluates the expression.
+
+ Evaluation context.
+ Expression result.
+
+
+
+ Condition layout expression (represented by a string literal
+ with embedded ${}).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The layout.
+
+
+
+ Gets the layout.
+
+ The layout.
+
+
+
+
+
+
+ Evaluates the expression by rendering the formatted output from
+ the
+
+ Evaluation context.
+ The output rendered from the layout.
+
+
+
+ Condition level expression (represented by the level keyword).
+
+
+
+
+
+
+
+ Evaluates to the current log level.
+
+ Evaluation context.
+ The object representing current log level.
+
+
+
+ Condition literal expression (numeric, LogLevel.XXX, true or false).
+
+
+
+
+ Initializes a new instance of the class.
+
+ Literal value.
+
+
+
+ Gets the literal value.
+
+ The literal value.
+
+
+
+
+
+
+ Evaluates the expression.
+
+ Evaluation context. Ignored.
+ The literal value as passed in the constructor.
+
+
+
+ Condition logger name expression (represented by the logger keyword).
+
+
+
+
+
+
+
+ Evaluates to the logger name.
+
+ Evaluation context.
+ The logger name.
+
+
+
+ Condition message expression (represented by the message keyword).
+
+
+
+
+
+
+
+ Evaluates to the logger message.
+
+ Evaluation context.
+ The logger message.
+
+
+
+ Gets the method parameters
+
+
+
+
+
+
+
+
+
+
+ Condition not expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expression.
+
+
+
+ Gets the expression to be negated.
+
+ The expression.
+
+
+
+
+
+
+
+
+
+ Condition or expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Left hand side of the OR expression.
+ Right hand side of the OR expression.
+
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+
+
+
+ Evaluates the expression by evaluating and recursively.
+
+ Evaluation context.
+ The value of the alternative operator.
+
+
+
+ Condition relational (==, !=, <, <=,
+ > or >=) expression.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The left expression.
+ The right expression.
+ The relational operator.
+
+
+
+ Gets the left expression.
+
+ The left expression.
+
+
+
+ Gets the right expression.
+
+ The right expression.
+
+
+
+ Gets the relational operator.
+
+ The operator.
+
+
+
+
+
+
+
+
+
+ Compares the specified values using specified relational operator.
+
+ The first value.
+ The second value.
+ The relational operator.
+ Result of the given relational operator.
+
+
+
+ Promote values to the type needed for the comparison, e.g. parse a string to int.
+
+
+
+
+
+
+ Promotes to type
+
+
+
+ success?
+
+
+
+ Try to promote both values. First try to promote to ,
+ when failed, try to .
+
+
+
+
+
+ Get the order for the type for comparison.
+
+
+ index, 0 to max int. Lower is first
+
+
+
+ Dictionary from type to index. Lower index should be tested first.
+
+
+
+
+ Build the dictionary needed for the order of the types.
+
+
+
+
+
+ Get the string representing the current
+
+
+
+
+
+ Condition parser. Turns a string representation of condition expression
+ into an expression tree.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The string reader.
+ Instance of used to resolve references to condition methods and layout renderers.
+
+
+
+ Parses the specified condition string and turns it into
+ tree.
+
+ The expression to be parsed.
+ 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 expression to be parsed.
+ 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.
+
+
+
+
+ Try stringed keyword to
+
+
+
+ success?
+
+
+
+ Parse number
+
+ negative number? minus should be parsed first.
+
+
+
+
+ Hand-written tokenizer for conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The string reader.
+
+
+
+ Gets the type of the token.
+
+ The type of the token.
+
+
+
+ Gets the token value.
+
+ The token value.
+
+
+
+ Gets the value of a string token.
+
+ The string token value.
+
+
+
+ Asserts current token type and advances to the next token.
+
+ Expected token type.
+ If token type doesn't match, an exception is thrown.
+
+
+
+ Asserts that current token is a keyword and returns its value and advances to the next token.
+
+ Keyword value.
+
+
+
+ Gets or sets a value indicating whether current keyword is equal to the specified value.
+
+ The keyword.
+
+ A value of true if current keyword is equal to the specified value; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the tokenizer has reached the end of the token stream.
+
+
+ A value of true if the tokenizer has reached the end of the token stream; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether current token is a number.
+
+
+ A value of true if current token is a number; otherwise, false.
+
+
+
+
+ Gets or sets a value indicating whether the specified token is of specified type.
+
+ The token type.
+
+ A value of true if current token is of specified type; otherwise, false.
+
+
+
+
+ Gets the next token and sets and properties.
+
+
+
+
+ Try the comparison tokens (greater, smaller, greater-equals, smaller-equals)
+
+ current char
+ is match
+
+
+
+ Try the logical tokens (and, or, not, equals)
+
+ current char
+ is match
+
+
+
+ Mapping between characters and token types for punctuations.
+
+
+
+
+ Initializes a new instance of the CharToTokenType struct.
+
+ The character.
+ Type of the token.
+
+
+
+ Token types for condition expressions.
+
+
+
+
+ Marks the class or a member as advanced. Advanced classes and members are hidden by
+ default in generated documentation.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Identifies that the output of layout or layout render does not change for the lifetime of the current appdomain.
+
+
+
+ Implementors must have the [ThreadAgnostic] attribute
+
+ A layout(renderer) could be converted to a literal when:
+ - The layout and all layout properties are SimpleLayout or [AppDomainFixedOutput]
+
+ Recommendation: Apply this attribute to a layout or layout-renderer which have the result only changes by properties of type Layout.
+
+
+
+
+ Used to mark configurable parameters which are arrays.
+ Specifies the mapping between XML elements and .NET types.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type of the array item.
+ The XML element name that represents the item.
+
+
+
+ Gets the .NET type of the array item.
+
+
+
+
+ Gets the XML element name.
+
+
+
+
+ Load from url
+
+ file or path, including .dll
+ basepath, optional
+
+
+
+
+ Load from url
+
+
+
+
+ Provides logging interface and utility functions.
+
+
+
+
+ An assembly is trying to load.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Assembly that have been loaded
+
+
+
+ The assembly that is trying to load.
+
+
+
+
+ Class for providing Nlog configuration xml code from app.config
+ to
+
+
+
+
+ Overriding base implementation to just store
+ of the relevant app.config section.
+
+ The XmlReader that reads from the configuration file.
+ true to serialize only the collection key properties; otherwise, false.
+
+
+
+ Override base implementation to return a object
+ for
+ instead of the instance.
+
+
+ A instance, that has been deserialized from app.config.
+
+
+
+
+ Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type.
+
+ Type of the item.
+ Created object of the specified type.
+
+
+
+ Provides registration information for named items (targets, layouts, layout renderers, etc.) managed by NLog.
+
+ Everything of an assembly could be loaded by
+
+
+
+
+ Called before the assembly will be loaded.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The assemblies to scan for named items.
+
+
+
+ Gets or sets default singleton instance of .
+
+
+ This property implements lazy instantiation so that the is not built before
+ the internal logger is configured.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the ambient property factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets the factory.
+
+
+
+
+ Gets or sets the creator delegate used to instantiate configuration objects.
+
+
+ By overriding this property, one can enable dependency injection or interception for created objects.
+
+
+
+
+ Gets the factory.
+
+ The target factory.
+
+
+
+ Gets the factory.
+
+ The layout factory.
+
+
+
+ Gets the factory.
+
+ The layout renderer factory.
+
+
+
+ Gets the ambient property factory.
+
+ The ambient property factory.
+
+
+
+ Gets the factory.
+
+ The filter factory.
+
+
+
+ Gets the time source factory.
+
+ The time source factory.
+
+
+
+ Gets the condition method factory.
+
+ The condition method factory.
+
+
+
+ Gets or sets the JSON serializer to use with
+
+
+
+
+ Gets or sets the string serializer to use with
+
+
+
+
+ Gets or sets the parameter converter to use with or
+
+
+
+
+ Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
+
+
+ - Null (Auto Detect) : NLog-parser checks for positional parameters, and will then fallback to string.Format-rendering.
+ - True: Always performs the parsing of and rendering of using the NLog-parser (Allows custom formatting with )
+ - False: Always performs parsing and rendering using string.Format (Fastest if not using structured logging)
+
+
+
+
+ Registers named items from the assembly.
+
+ The assembly.
+
+
+
+ Registers named items from the assembly.
+
+ The assembly.
+ Item name prefix.
+
+
+
+ Call Preload for NLogPackageLoader
+
+
+ Every package could implement a class "NLogPackageLoader" (namespace not important) with the public static method "Preload" (no arguments)
+ This method will be called just before registering all items in the assembly.
+
+
+
+
+
+ Call the Preload method for . The Preload method must be static.
+
+
+
+
+
+ Clears the contents of all factories.
+
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Builds the default configuration item factory.
+
+ Default factory.
+
+
+
+ Registers items in using late-bound types, so that we don't need a reference to the dll.
+
+
+
+
+ Attribute used to mark the default parameters for layout renderers.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Dynamic filtering with a positive list of enabled levels
+
+
+
+
+ Dynamic filtering with a minlevel and maxlevel range
+
+
+
+
+ Format of the exception output to the specific target.
+
+
+
+
+ Appends the Message of an Exception to the specified target.
+
+
+
+
+ Appends the type of an Exception to the specified target.
+
+
+
+
+ Appends the short type of an Exception to the specified target.
+
+
+
+
+ Appends the result of calling ToString() on an Exception to the specified target.
+
+
+
+
+ Appends the method name from Exception's stack trace to the specified target.
+
+
+
+
+ Appends the stack trace from an Exception to the specified target.
+
+
+
+
+ Appends the contents of an Exception's Data property to the specified target.
+
+
+
+
+ Destructure the exception (usually into JSON)
+
+
+
+
+ Appends the from the application or the object that caused the error.
+
+
+
+
+ Appends the from the application or the object that caused the error.
+
+
+
+
+ Appends any additional properties that specific type of Exception might have.
+
+
+
+
+ Factory for class-based items.
+
+ The base type of each item.
+ The type of the attribute used to annotate items.
+
+
+
+ Scans the assembly.
+
+ The types to scan.
+ The assembly name for the types.
+ The prefix.
+
+
+
+ Registers the type.
+
+ 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.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Factory specialized for s.
+
+
+
+
+
+
+
+ Register a layout renderer with a callback function.
+
+ Name of the layoutrenderer, without ${}.
+ the renderer that renders the value.
+
+
+
+ Tries to create an item instance.
+
+ Name of the item.
+ The result.
+ True if instance was created successfully, false otherwise.
+
+
+
+ Factory of named items (such as , , , etc.).
+
+
+
+
+ Factory of named items (such as , , , etc.).
+
+
+
+
+ Registers type-creation from type-alias
+
+
+
+
+ Create type-instance from type-alias
+
+
+
+
+ Include context properties
+
+
+
+
+ Gets or sets the option to include all properties from the log events
+
+
+
+
+
+ Gets or sets whether to include the contents of the properties-dictionary.
+
+
+
+
+
+ Gets or sets whether to include the contents of the nested-state-stack.
+
+
+
+
+
+ Did the Initialize Succeeded? true= success, false= error, null = initialize not started yet.
+
+
+
+
+ Implemented by objects which support installation and uninstallation.
+
+
+
+
+ Performs installation which requires administrative permissions.
+
+ The installation context.
+
+
+
+ Performs uninstallation which requires administrative permissions.
+
+ The installation context.
+
+
+
+ Determines whether the item is installed.
+
+ The installation context.
+
+ Value indicating whether the item is installed or null if it is not possible to determine.
+
+
+
+
+ Interface for accessing configuration details
+
+
+
+
+ Name of this configuration element
+
+
+
+
+ Configuration Key/Value Pairs
+
+
+
+
+ Child configuration elements
+
+
+
+
+ Interface for loading NLog
+
+
+
+
+ Finds and loads the NLog configuration
+
+ LogFactory that owns the NLog configuration
+ Name of NLog.config file (optional)
+ NLog configuration (or null if none found)
+
+
+
+ Notifies when LoggingConfiguration has been successfully applied
+
+ LogFactory that owns the NLog configuration
+ NLog Config
+
+
+
+ Get file paths (including filename) for the possible NLog config files.
+
+ Name of NLog.config file (optional)
+ The file paths to the possible config file
+
+
+
+ Level enabled flags for each LogLevel ordinal
+
+
+
+
+ Converts the filter into a simple
+
+
+
+
+ Represents a factory of named items (such as targets, layouts, layout renderers, etc.).
+
+ Base type for each item instance.
+ Item definition type (typically ).
+
+
+
+ Registers new item definition.
+
+ Name of the item.
+ Item definition.
+
+
+
+ Tries to get registered item definition.
+
+ Name of the item.
+ Reference to a variable which will store the item definition.
+ Item definition.
+
+
+
+ Creates item instance.
+
+ Name of the item.
+ Newly created item instance.
+
+
+
+ Tries to create an item instance.
+
+ Name of the item.
+ The result.
+ True if instance was created successfully, false otherwise.
+
+
+
+ Provides context for install/uninstall operations.
+
+
+
+
+ Mapping between log levels and console output colors.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The log output.
+
+
+
+ Gets or sets the installation log level.
+
+
+
+
+ Gets or sets a value indicating whether to ignore failures during installation.
+
+
+
+
+ Whether installation exceptions should be rethrown. If IgnoreFailures is set to true,
+ this property has no effect (there are no exceptions to rethrow).
+
+
+
+
+ Gets the installation parameters.
+
+
+
+
+ Gets or sets the log output.
+
+
+
+
+ Logs the specified trace message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified debug message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified informational message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified warning message.
+
+ The message.
+ The arguments.
+
+
+
+ Logs the specified error message.
+
+ The message.
+ The arguments.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+
+
+
+ Creates the log event which can be used to render layouts during install/uninstall.
+
+ Log event info object.
+
+
+
+ Convert object-value into specified type
+
+
+
+
+ Parses the input value and converts into the wanted type
+
+ Input Value
+ Wanted Type
+ Format to use when parsing
+ Culture to use when parsing
+ Output value with wanted type
+
+
+
+ Interface for fluent setup of LogFactory options
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LoggingRules for LoggingConfiguration
+
+
+
+
+ LoggingRule being built
+
+
+
+
+ Interface for fluent setup of target for LoggingRule
+
+
+
+
+ LoggingConfiguration being built
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Collection of targets that should be written to
+
+
+
+
+ Interface for fluent setup of LogFactory options for extension loading
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LogFactory options for enabling NLog
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LoggingConfiguration for LogFactory
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ LoggingConfiguration being built
+
+
+
+
+ Interface for fluent setup of LogFactory options
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Interface for fluent setup of LogFactory options for logevent serialization
+
+
+
+
+ LogFactory under configuration
+
+
+
+
+ Allows components to request stack trace information to be provided in the .
+
+
+
+
+ Gets the level of stack trace information required by the implementing class.
+
+
+
+
+ Encapsulates and the logic to match the actual logger name
+ All subclasses defines immutable objects.
+ Concrete subclasses defines various matching rules through
+
+
+
+
+ Creates a concrete based on .
+
+
+ Rules used to select the concrete implementation returned:
+
+ - if is null => returns (never matches)
+ - if doesn't contains any '*' nor '?' => returns (matches only on case sensitive equals)
+ - if == '*' => returns (always matches)
+ - if doesn't contain '?'
+
+ - if contains exactly 2 '*' one at the beginning and one at the end (i.e. "*foobar*) => returns
+ - if contains exactly 1 '*' at the beginning (i.e. "*foobar") => returns
+ - if contains exactly 1 '*' at the end (i.e. "foobar*") => returns
+
+
+ - returns
+
+
+
+ It may include one or more '*' or '?' wildcards at any position.
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+
+ A concrete
+
+
+
+ Returns the argument passed to
+
+
+
+
+ Checks whether given name matches the logger name pattern.
+
+ String to be matched.
+ A value of when the name matches, otherwise.
+
+
+
+ Defines a that never matches.
+ Used when pattern is null
+
+
+
+
+ Defines a that always matches.
+ Used when pattern is '*'
+
+
+
+
+ Defines a that matches with a case-sensitive Equals
+ Used when pattern is a string without wildcards '?' '*'
+
+
+
+
+ Defines a that matches with a case-sensitive StartsWith
+ Used when pattern is a string like "*foobar"
+
+
+
+
+ Defines a that matches with a case-sensitive EndsWith
+ Used when pattern is a string like "foobar*"
+
+
+
+
+ Defines a that matches with a case-sensitive Contains
+ Used when pattern is a string like "*foobar*"
+
+
+
+
+ Defines a that matches with a complex wildcards combinations:
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+ used when pattern is a string containing any number of '?' or '*' in any position
+ i.e. "*Server[*].Connection[?]"
+
+
+
+
+ Keeps logging configuration and provides simple API to modify it.
+
+ This class is thread-safe..ToList() is used for that purpose.
+
+
+
+ Gets the factory that will be configured
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the variables defined in the configuration or assigned from API
+
+ Name is case insensitive.
+
+
+
+ Gets a collection of named targets specified in the configuration.
+
+
+ A list of named targets.
+
+
+ Unnamed targets (such as those wrapped by other targets) are not returned.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+
+
+
+
+ Gets the collection of logging rules.
+
+
+
+
+ Gets or sets the default culture info to use as .
+
+
+ Specific culture info or null to use
+
+
+
+
+ Gets all targets.
+
+
+
+
+ Inserts NLog Config Variable without overriding NLog Config Variable assigned from API
+
+
+
+
+ Lookup NLog Config Variable Layout
+
+
+
+
+ Registers the specified target object. The name of the target is read from .
+
+
+ The target object with a non
+
+ when is
+
+
+
+ Registers the specified target object under a given name.
+
+ Name of the target.
+ The target object.
+ when is
+ when is
+
+
+
+ Finds the target with the specified name.
+
+
+ The name of the target to be found.
+
+
+ Found target or when the target is not found.
+
+
+
+
+ Finds the target with the specified name and specified type.
+
+
+ The name of the target to be found.
+
+ Type of the target
+
+ Found target or when the target is not found of not of type
+
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule with min- and maxLevel.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Add a rule object.
+
+ rule object to add
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for one loglevel.
+
+ log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Add a rule for all loglevels.
+
+ Name of the target to be written when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for all loglevels.
+
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+
+
+
+ Add a rule for all loglevels.
+
+ Target to be written to when the rule matches.
+ Logger name pattern. It may include the '*' wildcard at the beginning, at the end or at both ends.
+ Gets or sets a value indicating whether to quit processing any further rule when this one matches.
+
+
+
+ Lookup the logging rule with matching
+
+ The name of the logging rule to be found.
+ Found logging rule or when not found.
+
+
+
+ Removes the specified named logging rule with matching
+
+ The name of the logging rule to be removed.
+ Found one or more logging rule to remove, or when not found.
+
+
+
+ Called by LogManager when one of the log configuration files changes.
+
+
+ A new instance of that represents the updated configuration.
+
+
+
+
+ Allow this new configuration to capture state from the old configuration
+
+ Old config that is about to be replaced
+ Checks KeepVariablesOnReload and copies all NLog Config Variables assigned from API into the new config
+
+
+
+ Removes the specified named target.
+
+ Name of the target.
+
+
+
+ Installs target-specific objects on current system.
+
+ The installation context.
+
+ Installation typically runs with administrative permissions.
+
+
+
+
+ Uninstalls target-specific objects from current system.
+
+ The installation context.
+
+ Uninstallation typically runs with administrative permissions.
+
+
+
+
+ Closes all targets and releases any unmanaged resources.
+
+
+
+
+ Log to the internal (NLog) logger the information about the and associated with this instance.
+
+
+ The information are only recorded in the internal logger if Debug level is enabled, otherwise nothing is
+ recorded.
+
+
+
+
+ Validates the configuration.
+
+
+
+
+ Replace a simple variable with a value. The original value is removed and thus we cannot redo this in a later stage.
+
+
+
+
+
+
+ Checks whether unused targets exist. If found any, just write an internal log at Warn level.
+ If initializing not started or failed, then checking process will be canceled
+
+
+
+
+
+
+
+ Arguments for events.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The new configuration.
+ The old configuration.
+
+
+
+ Gets the old configuration.
+
+ The old configuration.
+
+
+
+ Gets the new configuration.
+
+ The new configuration.
+
+
+
+ Gets the optional boolean attribute value.
+
+
+ Name of the attribute.
+ Default value to return if the attribute is not found or if there is a parse error
+ Boolean attribute value or default.
+
+
+
+ Remove the namespace (before :)
+
+
+ x:a, will be a
+
+
+
+
+
+
+ Enables loading of NLog configuration from a file
+
+
+
+
+ Get default file paths (including filename) for possible NLog config files.
+
+
+
+
+ Get default file paths (including filename) for possible NLog config files.
+
+
+
+
+ Loads NLog configuration from
+
+
+
+
+ Constructor
+
+
+
+
+
+ Loads NLog configuration from provided config section
+
+
+ Directory where the NLog-config-file was loaded from
+
+
+
+ Builds list with unique keys, using last value of duplicates. High priority keys placed first.
+
+
+
+
+
+
+ Parse loglevel, but don't throw if exception throwing is disabled
+
+ Name of attribute for logging.
+ Value of parse.
+ Used if there is an exception
+
+
+
+
+ Parses a single config section within the NLog-config
+
+
+ Section was recognized
+
+
+
+ Parse {Rules} xml element
+
+
+ Rules are added to this parameter.
+
+
+
+ Parse {Logger} xml element
+
+
+
+
+
+ Parse boolean
+
+ Name of the property for logging.
+ value to parse
+ Default value to return if the parse failed
+ Boolean attribute value or default.
+
+
+
+ Config element that's validated and having extra context
+
+
+
+
+ Explicit cast because NET35 doesn't support covariance.
+
+
+
+
+ Arguments for .
+
+
+
+
+ Initializes a new instance of the class.
+
+ Whether configuration reload has succeeded.
+
+
+
+ Initializes a new instance of the class.
+
+ Whether configuration reload has succeeded.
+ The exception during configuration reload.
+
+
+
+ Gets a value indicating whether configuration reload has succeeded.
+
+ A value of true if succeeded; otherwise, false.
+
+
+
+ Gets the exception which occurred during configuration reload.
+
+ The exception.
+
+
+
+ Enables FileWatcher for the currently loaded NLog Configuration File,
+ and supports automatic reload on file modification.
+
+
+
+
+ Represents a logging rule. An equivalent of <logger /> configuration element.
+
+
+
+
+ Create an empty .
+
+
+
+
+ Create an empty .
+
+
+
+
+ Create a new with a and which writes to .
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+
+
+
+ Create a new with a which writes to .
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Minimum log level needed to trigger this rule.
+ Target to be written to when the rule matches.
+
+
+
+ Create a (disabled) . You should call or to enable logging.
+
+ Logger name pattern used for . It may include one or more '*' or '?' wildcards at any position.
+ Target to be written to when the rule matches.
+
+
+
+ Rule identifier to allow rule lookup
+
+
+
+
+ Gets a collection of targets that should be written to when this rule matches.
+
+
+
+
+ Gets a collection of child rules to be evaluated when this rule matches.
+
+
+
+
+ Gets a collection of filters to be checked before writing to targets.
+
+
+
+
+ Gets or sets a value indicating whether to quit processing any following rules when this one matches.
+
+
+
+
+ Gets or sets the whether to quit processing any following rules when lower severity and this one matches.
+
+
+ Loggers matching will be restricted to specified minimum level for following rules.
+
+
+
+
+ Gets or sets logger name pattern.
+
+
+ Logger name pattern used by to check if a logger name matches this rule.
+ It may include one or more '*' or '?' wildcards at any position.
+
+ - '*' means zero or more occurrences of any character
+ - '?' means exactly one occurrence of any character
+
+
+
+
+
+ Gets the collection of log levels enabled by this rule.
+
+
+
+
+ Default action if none of the filters match
+
+
+
+
+ Default action if none of the filters match
+
+
+
+
+ Enables logging for a particular level.
+
+ Level to be enabled.
+
+
+
+ Enables logging for a particular levels between (included) and .
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+
+
+
+ Disables logging for a particular level.
+
+ Level to be disabled.
+
+
+
+ Disables logging for particular levels between (included) and .
+
+ Minimum log level to be disables.
+ Maximum log level to be disabled.
+
+
+
+ Enables logging the levels between (included) and . All the other levels will be disabled.
+
+ Minimum log level needed to trigger this rule.
+ Maximum log level needed to trigger this rule.
+
+
+
+ Returns a string representation of . Used for debugging.
+
+
+
+
+ Checks whether the particular log level is enabled for this rule.
+
+ Level to be checked.
+ A value of when the log level is enabled, otherwise.
+
+
+
+ Checks whether given name matches the .
+
+ String to be matched.
+ A value of when the name matches, otherwise.
+
+
+
+ Default filtering with static level config
+
+
+
+
+ Factory for locating methods.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Scans the assembly for classes marked with expected class
+ and methods marked with expected and adds them
+ to the factory.
+
+ The types to scan.
+ The assembly name for the type.
+ The item name prefix.
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Registers the type.
+
+ The type to register.
+ The item name prefix.
+
+
+
+ Scans a type for relevant methods with their symbolic names
+
+ Include types that are marked with this attribute
+ Include methods that are marked with this attribute
+ Class Type to scan
+ Collection of methods with their symbolic names
+
+
+
+ Clears contents of the factory.
+
+
+
+
+ Registers the definition of a single method.
+
+ The method name.
+ The method info.
+
+
+
+ Tries to retrieve method by name.
+
+ The method name.
+ The result.
+ A value of true if the method was found, false otherwise.
+
+
+
+ Retrieves method by name.
+
+ Method name.
+ MethodInfo object.
+
+
+
+ Tries to get method definition.
+
+ The method name.
+ The result.
+ A value of true if the method was found, false otherwise.
+
+
+
+ Marks the layout or layout renderer depends on mutable objects from the LogEvent
+
+ This can be or
+
+
+
+
+ Attaches a type-alias for an item (such as ,
+ , , etc.).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type-alias for use in NLog configuration.
+
+
+
+ Gets the name of the type-alias
+
+
+
+
+ Indicates NLog should not scan this property during configuration.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Marks the object as configuration item for NLog.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Failed to resolve the interface of service type
+
+
+
+
+ Typed we tried to resolve
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Represents simple XML element with case-insensitive attribute semantics.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The reader to initialize element from.
+
+
+
+ Gets the element name.
+
+
+
+
+ Gets the dictionary of attribute values.
+
+
+
+
+ Gets the collection of child elements.
+
+
+
+
+ Gets the value of the element.
+
+
+
+
+ Returns children elements with the specified element name.
+
+ Name of the element.
+ Children elements with the specified element name.
+
+
+
+ Asserts that the name of the element is among specified element names.
+
+ The allowed names.
+
+
+
+ Special attribute we could ignore
+
+
+
+
+ Default implementation of
+
+
+
+
+ Singleton instance of the serializer.
+
+
+
+
+
+
+
+ Attribute used to mark the required parameters for targets,
+ layout targets and filters.
+
+
+
+
+ Interface to register available configuration objects type
+
+
+
+
+ Registers instance of singleton object for use in NLog
+
+ Type of service
+ Instance of service
+
+
+
+ Gets the service object of the specified type.
+
+ Avoid calling this while handling a LogEvent, since random deadlocks can occur.
+
+
+
+ Registers singleton-object as implementation of specific interface.
+
+
+ If the same single-object implements multiple interfaces then it must be registered for each interface
+
+ Type of interface
+ The repo
+ Singleton object to use for override
+
+
+
+ Registers the string serializer to use with
+
+
+
+
+ Repository of interfaces used by NLog to allow override for dependency injection
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Registered service type in the service repository
+
+
+
+
+ Initializes a new instance of the class.
+
+ Type of service that have been registered
+
+
+
+ Type of service-interface that has been registered
+
+
+
+
+ Provides simple programmatic configuration API used for trivial logging cases.
+
+ Warning, these methods will overwrite the current config.
+
+
+
+
+ Configures NLog for console logging so that all messages above and including
+ the level are output to the console.
+
+
+
+
+ Configures NLog for console logging so that all messages above and including
+ the specified level are output to the console.
+
+ The minimal logging level.
+
+
+
+ Configures NLog for to log to the specified target so that all messages
+ above and including the level are output.
+
+ The target to log all messages to.
+
+
+
+ Configures NLog for to log to the specified target so that all messages
+ above and including the specified level are output.
+
+ The target to log all messages to.
+ The minimal logging level.
+
+
+
+ Configures NLog for file logging so that all messages above and including
+ the level are written to the specified file.
+
+ Log file name.
+
+
+
+ Configures NLog for file logging so that all messages above and including
+ the specified level are written to the specified file.
+
+ Log file name.
+ The minimal logging level.
+
+
+
+ Value indicating how stack trace should be captured when processing the log event.
+
+
+
+
+ No Stack trace needs to be captured.
+
+
+
+
+ Stack trace should be captured. This option won't add the filenames and linenumbers
+
+
+
+
+ Capture also filenames and linenumbers
+
+
+
+
+ Capture the location of the call
+
+
+
+
+ Capture the class name for location of the call
+
+
+
+
+ Stack trace should be captured. This option won't add the filenames and linenumbers.
+
+
+
+
+ Stack trace should be captured including filenames and linenumbers.
+
+
+
+
+ Capture maximum amount of the stack trace information supported on the platform.
+
+
+
+
+ Marks the layout or layout renderer as thread independent - it producing correct results
+ regardless of the thread it's running on.
+
+ Without this attribute everything is rendered on the main thread.
+
+
+ If this attribute is set on a layout, it could be rendered on the another thread.
+ This could be more efficient as it's skipped when not needed.
+
+ If context like HttpContext.Current is needed, which is only available on the main thread, this attribute should not be applied.
+
+ See the AsyncTargetWrapper and BufferTargetWrapper with the , using
+
+ Apply this attribute when:
+ - The result can we rendered in another thread. Delaying this could be more efficient. And/Or,
+ - The result should not be precalculated, for example the target sends some extra context information.
+
+
+
+
+ Marks the layout or layout renderer as thread safe - it producing correct results
+ regardless of the number of threads it's running on.
+
+ Without this attribute then the target concurrency will be reduced
+
+
+
+
+ A class for configuring NLog through an XML configuration file
+ (App.config style or App.nlog style).
+
+ Parsing of the XML file is also implemented in this class.
+
+
+ - This class is thread-safe..ToList() is used for that purpose.
+ - Update TemplateXSD.xml for changes outside targets
+
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+ Ignore any errors during configuration.
+
+
+
+ Initializes a new instance of the class.
+
+ Configuration file to be read.
+ Ignore any errors during configuration.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ XML reader to read from.
+
+
+
+ Initializes a new instance of the class.
+
+ containing the configuration section.
+ Name of the file that contains the element (to be used as a base for including other files). null is allowed.
+
+
+
+ Initializes a new instance of the class.
+
+ containing the configuration section.
+ Name of the file that contains the element (to be used as a base for including other files). null is allowed.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ containing the configuration section.
+ Name of the file that contains the element (to be used as a base for including other files). null is allowed.
+ Ignore any errors during configuration.
+
+
+
+ Initializes a new instance of the class.
+
+ containing the configuration section.
+ Name of the file that contains the element (to be used as a base for including other files). null is allowed.
+ Ignore any errors during configuration.
+ The to which to apply any applicable configuration values.
+
+
+
+ Initializes a new instance of the class.
+
+ NLog configuration as XML string.
+ Name of the XML file.
+ The to which to apply any applicable configuration values.
+
+
+
+ Parse XML string as NLog configuration
+
+ NLog configuration in XML to be parsed
+
+
+
+ Parse XML string as NLog configuration
+
+ NLog configuration in XML to be parsed
+ NLog LogFactory
+
+
+
+ Gets the default object by parsing
+ the application configuration file (app.exe.config).
+
+
+
+
+ Did the Succeeded? true= success, false= error, null = initialize not started yet.
+
+
+
+
+ Gets or sets a value indicating whether all of the configuration files
+ should be watched for changes and reloaded automatically when changed.
+
+
+
+
+ Gets the collection of file names which should be watched for changes by NLog.
+ This is the list of configuration files processed.
+ If the autoReload attribute is not set it returns empty collection.
+
+
+
+
+ Re-reads the original configuration file and returns the new object.
+
+ The new object.
+
+
+
+ Get file paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
+
+
+
+ Overwrite the paths (including filename) for the possible NLog config files.
+
+ The file paths to the possible config file
+
+
+
+ Clear the candidate file paths and return to the defaults.
+
+
+
+
+ Create XML reader for (xml config) file.
+
+ filepath
+ reader or null if filename is empty.
+
+
+
+ Initializes the configuration.
+
+ containing the configuration section.
+ Name of the file that contains the element (to be used as a base for including other files). null is allowed.
+ Ignore any errors during configuration.
+
+
+
+ Add a file with configuration. Check if not already included.
+
+
+
+
+
+
+ Parse the root
+
+
+ path to config file.
+ The default value for the autoReload option.
+
+
+
+ Parse {configuration} xml element.
+
+
+ path to config file.
+ The default value for the autoReload option.
+
+
+
+ Parse {NLog} xml element.
+
+
+ path to config file.
+ The default value for the autoReload option.
+
+
+
+ Parses a single config section within the NLog-config
+
+
+ Section was recognized
+
+
+
+ Include (multiple) files by filemask, e.g. *.nlog
+
+ base directory in case if is relative
+ relative or absolute fileMask
+
+
+
+
+
+
+
+ Global Diagnostics Context - a dictionary structure to hold per-application-instance values.
+
+
+
+
+ Sets the Global Diagnostics Context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the Global Diagnostics Context item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Gets the Global Diagnostics Context named item.
+
+ 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 Global Diagnostics Context item.
+
+ Item name.
+ to use when converting the item's value to a string.
+ The value of as a string, 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 Global Diagnostics Context named item.
+
+ Item name.
+ The item value, if defined; otherwise null.
+
+
+
+ Returns all item names
+
+ A collection of the names of all items in the Global Diagnostics Context.
+
+
+
+ Checks whether the specified item exists in the Global Diagnostics Context.
+
+ Item name.
+ A boolean indicating whether the specified item exists in current thread GDC.
+
+
+
+ Removes the specified item from the Global Diagnostics Context.
+
+ Item name.
+
+
+
+ Clears the content of the GDC.
+
+
+
+
+ Mapped Diagnostics Context - a thread-local structure that keeps a dictionary
+ of strings and provides methods to output them in layouts.
+
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+ An that can be used to remove the item from the current thread MDC.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current thread MDC.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Sets the current thread MDC item to the specified value.
+
+ Item name.
+ Item value.
+
+
+
+ Gets the current thread MDC 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 thread MDC named item, as .
+
+ Item name.
+ The to use when converting a value to a .
+ 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 thread MDC named item, as .
+
+ Item name.
+ The value of , if defined; otherwise null.
+
+
+
+ Returns all item names
+
+ A set of the names of all items in current thread-MDC.
+
+
+
+ Checks whether the specified item exists in current thread MDC.
+
+ Item name.
+ A boolean indicating whether the specified exists in current thread MDC.
+
+
+
+ Removes the specified from current thread MDC.
+
+ Item name.
+
+
+
+ Clears the content of current thread MDC.
+
+
+
+
+ Async version of Mapped Diagnostics Context - a logical context structure that keeps a dictionary
+ of strings and provides methods to output them in layouts. Allows for maintaining state across
+ asynchronous tasks and call contexts.
+
+
+ Ideally, these changes should be incorporated as a new version of the MappedDiagnosticsContext class in the original
+ NLog library so that state can be maintained for multiple threads in asynchronous situations.
+
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise .
+ If the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The to use when converting a value to a string.
+ The value of , if defined; otherwise .
+ If is null and the value isn't a already, this call locks the for reading the needed for converting to .
+
+
+
+ Gets the current logical context named item, as .
+
+ Item name.
+ The value of , if defined; otherwise null.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Sets the current logical context item to the specified value.
+
+ Item name.
+ Item value.
+ >An that can be used to remove the item from the current logical context.
+
+
+
+ Updates the current logical context with multiple items in single operation
+
+ .
+ >An that can be used to remove the item from the current logical context (null if no items).
+
+
+
+ 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.
+
+
+
+ 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.
+
+
+
+ Nested Diagnostics Context - a thread-local structure that keeps a stack
+ of strings and provides methods to output them in layouts
+
+
+
+
+ Gets the top NDC message but doesn't remove it.
+
+ The top message. .
+
+
+
+ Gets the top NDC object but doesn't remove it.
+
+ The object at the top of the NDC stack if defined; otherwise null.
+
+
+
+ Pushes the specified text on current thread NDC.
+
+ The text to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pushes the specified object on current thread NDC.
+
+ The object to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pops the top message off the NDC stack.
+
+ The top message which is no longer on the stack.
+
+
+
+ Pops the top message from the NDC stack.
+
+ The to use when converting the value to a string.
+ The top message, which is removed from the stack, as a string value.
+
+
+
+ Pops the top object off the NDC stack.
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
+
+
+ Peeks the first object on the NDC stack
+
+ The object from the top of the NDC stack, if defined; otherwise null.
+
+
+
+ Clears current thread NDC stack.
+
+
+
+
+ Gets all messages on the stack.
+
+ Array of strings on the stack.
+
+
+
+ Gets all messages from the stack, without removing them.
+
+ The to use when converting a value to a string.
+ Array of strings.
+
+
+
+ Gets all objects on the stack.
+
+ Array of objects on the stack.
+
+
+
+ Async version of - a logical context structure that keeps a stack
+ Allows for maintaining scope across asynchronous tasks and call contexts.
+
+
+
+
+ Pushes the specified value on current stack
+
+ The value to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pushes the specified value on current stack
+
+ The value to be pushed.
+ An instance of the object that implements IDisposable that returns the stack to the previous level when IDisposable.Dispose() is called. To be used with C# using() statement.
+
+
+
+ Pops the top message off the NDLC stack.
+
+ The top message which is no longer on the stack.
+ this methods returns a object instead of string, this because of backwards-compatibility
+
+
+
+ Pops the top message from the NDLC stack.
+
+ The to use when converting the value to a string.
+ The top message, which is removed from the stack, as a string value.
+
+
+
+ Pops the top message off the current NDLC stack
+
+ The object from the top of the NDLC stack, if defined; otherwise null.
+
+
+
+ Peeks the top object on the current NDLC stack
+
+ The object from the top of the NDLC stack, if defined; otherwise null.
+
+
+
+ Clears current stack.
+
+
+
+
+ Gets all messages on the stack.
+
+ Array of strings on the stack.
+
+
+
+ Gets all messages from the stack, without removing them.
+
+ The to use when converting a value to a string.
+ Array of strings.
+
+
+
+ Gets all objects on the stack. The objects are not removed from the stack.
+
+ Array of objects on the stack.
+
+
+
+ stores state in the async thread execution context. All LogEvents created
+ within a scope can include the scope state in the target output. The logical context scope supports
+ both scope-properties and scope-nested-state-stack (Similar to log4j2 ThreadContext)
+
+
+ (MDLC), (MDC), (NDLC)
+ and (NDC) have been deprecated and replaced by .
+
+ .NetCore (and .Net46) uses AsyncLocal for handling the thread execution context. Older .NetFramework uses System.Runtime.Remoting.CallContext
+
+
+
+
+ Pushes new state on the logical context scope stack together with provided properties
+
+ Value to added to the scope stack
+ Properties being added to the scope dictionary
+ A disposable object that pops the nested scope state on dispose (including properties).
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided properties
+
+ Properties being added to the scope dictionary
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided properties
+
+ Properties being added to the scope dictionary
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided property
+
+ Name of property
+ Value of property
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Updates the logical scope context with provided property
+
+ Name of property
+ Value of property
+ A disposable object that removes the properties from logical context scope on dispose.
+ Scope dictionary keys are case-insensitive
+
+
+
+ Pushes new state on the logical context scope stack
+
+ Value to added to the scope stack
+ A disposable object that pops the nested scope state on dispose.
+ Skips casting of to check for scope-properties
+
+
+
+ Pushes new state on the logical context scope stack
+
+ Value to added to the scope stack
+ A disposable object that pops the nested scope state on dispose.
+
+
+
+ Clears all the entire logical context scope, and removes any properties and nested-states
+
+
+
+
+ Retrieves all properties stored within the logical context scopes
+
+ Collection of all properties
+
+
+
+ Lookup single property stored within the logical context scopes
+
+ Name of property
+ When this method returns, contains the value associated with the specified key
+ Returns true when value is found with the specified key
+ Scope dictionary keys are case-insensitive
+
+
+
+ Retrieves all nested states inside the logical context scope stack
+
+ Array of nested state objects.
+
+
+
+ Peeks the top value from the logical context scope stack
+
+ Value from the top of the stack.
+
+
+
+ Peeks the inner state (newest) from the logical context scope stack, and returns its running duration
+
+ Scope Duration Time
+
+
+
+ Peeks the outer state (oldest) from the logical context scope stack, and returns its running duration
+
+ Scope Duration Time
+
+
+
+ Special bookmark that can restore original parent, after scopes has been collapsed
+
+
+
+
+ Matches when the specified condition is met.
+
+
+ Conditions are expressed using a simple language.
+
+ Documentation on NLog Wiki
+
+
+
+ Gets or sets the condition expression.
+
+
+
+
+
+
+
+
+ An abstract filter class. Provides a way to eliminate log messages
+ based on properties other than logger name and log level.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the action to be taken when filter matches.
+
+
+
+
+
+ Gets the result of evaluating filter against given log event.
+
+ The log event.
+ Filter result.
+
+
+
+ Checks whether log event should be logged or not.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
+
+
+ Marks class as a layout renderer and assigns a name to it.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the filter.
+
+
+
+ Filter result.
+
+
+
+
+ The filter doesn't want to decide whether to log or discard the message.
+
+
+
+
+ The message should be logged.
+
+
+
+
+ The message should not be logged.
+
+
+
+
+ The message should be logged and processing should be finished.
+
+
+
+
+ The message should not be logged and processing should be finished.
+
+
+
+
+ A base class for filters that are based on comparing a value to a layout.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets the layout to be used to filter log messages.
+
+ The layout.
+
+
+
+
+ Matches when the calculated layout contains the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+ Gets or sets the substring to be matched.
+
+
+
+
+
+
+
+
+ Matches when the calculated layout is equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+ Gets or sets a string to compare the layout to.
+
+
+
+
+
+
+
+
+ Matches the provided filter-method
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+
+
+
+ Matches when the calculated layout does NOT contain the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Gets or sets the substring to be matched.
+
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+
+
+
+ Matches when the calculated layout is NOT equal to the specified substring.
+ This filter is deprecated in favor of <when /> which is based on conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a string to compare the layout to.
+
+
+
+
+
+ Gets or sets a value indicating whether to ignore case when comparing strings.
+
+
+
+
+
+
+
+
+ Matches when the result of the calculated layout has been repeated a moment ago
+
+
+
+
+ How long before a filter expires, and logging is accepted again
+
+
+
+
+
+ Max length of filter values, will truncate if above limit
+
+
+
+
+
+ Applies the configured action to the initial logevent that starts the timeout period.
+ Used to configure that it should ignore all events until timeout.
+
+
+
+
+
+ Max number of unique filter values to expect simultaneously
+
+
+
+
+
+ Default number of unique filter values to expect, will automatically increase if needed
+
+
+
+
+
+ Insert FilterCount value into when an event is no longer filtered
+
+
+
+
+
+ Append FilterCount to the when an event is no longer filtered
+
+
+
+
+
+ Reuse internal buffers, and doesn't have to constantly allocate new buffers
+
+
+
+
+
+ Default buffer size for the internal buffers
+
+
+
+
+
+ Checks whether log event should be logged or not. In case the LogEvent has just been repeated.
+
+ Log event.
+
+ - if the log event should be ignored
+ - if the filter doesn't want to decide
+ - if the log event should be logged
+ .
+
+
+
+ Uses object pooling, and prunes stale filter items when the pool runs dry
+
+
+
+
+ Remove stale filter-value from the cache, and fill them into the pool for reuse
+
+
+
+
+ Renders the Log Event into a filter value, that is used for checking if just repeated
+
+
+
+
+ Repeated LogEvent detected. Checks if it should activate filter-action
+
+
+
+
+ Filter Value State (mutable)
+
+
+
+
+ Filter Lookup Key (immutable)
+
+
+
+
+ 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.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The to send the log event.
+
+
+
+ Initializes a new instance of the class.
+
+ The to send the log event.
+ The for the log event.
+
+
+
+ Gets the created by the builder.
+
+
+
+
+ Sets the information of the logging event.
+
+ The exception information of the logging event.
+ current for chaining calls.
+
+
+
+ Sets the level of the logging event.
+
+ The level of the logging event.
+ current for chaining calls.
+
+
+
+ Sets the logger name of the logging event.
+
+ The logger name of the logging event.
+ current for chaining calls.
+
+
+
+ Sets the log message on the logging event.
+
+ The log message for the logging event.
+ current for chaining calls.
+
+
+
+ Sets the log message and parameters for formatting on the logging event.
+
+ A composite format string.
+ The object to format.
+ current for chaining calls.
+
+
+
+ Sets the log message and parameters for formatting on the logging event.
+
+ A composite format string.
+ The first object to format.
+ The second object to format.
+ current for chaining calls.
+
+
+
+ Sets the log message and parameters for formatting on the logging event.
+
+ A composite format string.
+ The first object to format.
+ The second object to format.
+ The third object to format.
+ current for chaining calls.
+
+
+
+ Sets the log message and parameters for formatting on the logging event.
+
+ A composite format string.
+ The first object to format.
+ The second object to format.
+ The third object to format.
+ The fourth object to format.
+ current for chaining calls.
+
+
+
+ Sets the log message and parameters for formatting on the logging event.
+
+ A composite format string.
+ An object array that contains zero or more objects to format.
+ current for chaining calls.
+
+
+
+ Sets the log message and parameters for formatting on the logging event.
+
+ An object that supplies culture-specific formatting information.
+ A composite format string.
+ An object array that contains zero or more objects to format.
+ current for chaining calls.
+
+
+
+ Sets a per-event context property on the logging event.
+
+ The name of the context property.
+ The value of the context property.
+ current for chaining calls.
+
+
+
+ Sets multiple per-event context properties on the logging event.
+
+ The properties to set.
+ current for chaining calls.
+
+
+
+ Sets the timestamp of the logging event.
+
+ The timestamp of the logging event.
+ current for chaining calls.
+
+
+
+ Sets the stack trace for the event info.
+
+ The stack trace.
+ 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.
+
+ 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.
+
+ 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.
+
+
+
+ Extension methods for NLog .
+
+
+
+
+ Starts building a log event with the specified .
+
+ The logger to write the log event to.
+ The log level.
+ current for chaining calls.
+
+
+
+ Starts building a log event at the Trace level.
+
+ The logger to write the log event to.
+ current for chaining calls.
+
+
+
+ Starts building a log event at the Debug level.
+
+ The logger to write the log event to.
+ current for chaining calls.
+
+
+
+ Starts building a log event at the Info level.
+
+ The logger to write the log event to.
+ current for chaining calls.
+
+
+
+ Starts building a log event at the Warn level.
+
+ The logger to write the log event to.
+ current for chaining calls.
+
+
+
+ Starts building a log event at the Error level.
+
+ The logger to write the log event to.
+ current for chaining calls.
+
+
+
+ Starts building a log event at the Fatal level.
+
+ The logger to write the log event to.
+ current for chaining calls.
+
Extensions for NLog .
+
+
+ Starts building a log event with the specified .
+
+ The logger to write the log event to.
+ The log level. When not
+ for chaining calls.
+
+
+
+ Starts building a log event at the Trace level.
+
+ The logger to write the log event to.
+ for chaining calls.
+
+
+
+ Starts building a log event at the Debug level.
+
+ The logger to write the log event to.
+ for chaining calls.
+
+
+
+ Starts building a log event at the Info level.
+
+ The logger to write the log event to.
+ for chaining calls.
+
+
+
+ Starts building a log event at the Warn level.
+
+ The logger to write the log event to.
+ for chaining calls.
+
+
+
+ Starts building a log event at the Error level.
+
+ The logger to write the log event to.
+ for chaining calls.
+
+
+
+ Starts building a log event at the Fatal level.
+
+ The logger to write the log event to.
+ for chaining calls.
+
+
+
+ Starts building a log event at the Exception level.
+
+ The logger to write the log event to.
+ The exception information of the logging event.
+ The for the log event. Defaults to when not specified.
+ for chaining calls.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Type of the value.
+ A logger implementation that will handle the message.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Type of the value.
+ A logger implementation that will handle the message.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ An exception to be logged.
+ A to be written.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ An exception to be logged.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ Log message.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the argument.
+ A logger implementation that will handle the message.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ A logger implementation that will handle the message.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A logger implementation that will handle the message.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Type of the value.
+ A logger implementation that will handle the message.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Type of the value.
+ A logger implementation that will handle the message.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ An exception to be logged.
+ A to be written.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ An exception to be logged.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ Log message.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A logger implementation that will handle the message.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the argument.
+ A logger implementation that will handle the message.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ A logger implementation that will handle the message.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A logger implementation that will handle the message.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
Writes the diagnostic message and exception at the specified level.
@@ -7668,371 +8124,79 @@
An exception to be logged.
A function returning message to be written. Function is not evaluated if logging is not enabled.
-
+
- Allocates new builder and appends to the provided target builder on dispose
+ Interface for fakeable of the current AppDomain.
-
+
- Access the new builder allocated
+ Gets or sets the base directory that the assembly resolver uses to probe for assemblies.
-
+
- Helpers for .
+ Gets or sets the name of the configuration file for an application domain.
-
+
- Load from url
-
- file or path, including .dll
- basepath, optional
-
-
-
-
- Load from url
-
- name without .dll
-
-
-
-
- Forward declare of system delegate type for use by other classes
+ Gets or sets the list of directories under the application base directory that are probed for private assemblies.
-
+
- Keeps track of pending operation count, and can notify when pending operation count reaches zero
+ Gets or set the friendly name.
-
+
- Mark operation has started
+ Gets an integer that uniquely identifies the application domain within the process.
-
+
- Mark operation has completed
+ Gets the assemblies that have been loaded into the execution context of this application domain.
- Exception coming from the completed operation [optional]
+ A list of assemblies in this application domain.
-
+
- Registers an AsyncContinuation to be called when all pending operations have completed
-
- Invoked on completion
- AsyncContinuation operation
-
-
-
- Clear o
+ Process exit event.
-
+
- Sets the stack trace for the event info.
-
- The stack trace.
- Index of the first user stack frame within the stack trace.
- Index of the first user stack frame within the stack trace.
-
-
-
- Sets the details retrieved from the Caller Information Attributes
-
-
-
-
-
-
-
-
- Gets the stack frame of the method that did the logging.
+ Domain unloaded event.
-
+
- Gets the number index of the stack frame that represents the user
- code (not the NLog code).
+ Abstract calls for the application environment
-
+
- Legacy attempt to skip async MoveNext, but caused source file line number to be lost
+ Gets current process name (excluding filename extension, if any).
-
+
- Gets the entire stack trace.
+ Process exit event.
-
+
- Memory optimized filtering
-
- Passing state too avoid delegate capture and memory-allocations.
-
-
-
- Internal configuration manager used to read .NET configuration files.
- Just a wrapper around the BCL ConfigurationManager, but used to enable
- unit testing.
+ Abstract calls to FileSystem
-
-
- Gets the wrapper around ConfigurationManager.AppSettings.
-
+
+ Determines whether the specified file exists.
+ The file to check.
-
-
- Provides untyped IDictionary interface on top of generic IDictionary.
-
- The type of the key.
- The type of the value.
-
-
-
- Initializes a new instance of the DictionaryAdapter class.
-
- The implementation.
-
-
-
- Gets an object containing the values in the object.
-
-
-
- An object containing the values in the object.
-
-
-
-
- Gets the number of elements contained in the .
-
-
-
- The number of elements contained in the .
-
-
-
-
- Gets a value indicating whether access to the is synchronized (thread safe).
-
-
- true if access to the is synchronized (thread safe); otherwise, false.
-
-
-
-
- Gets an object that can be used to synchronize access to the .
-
-
-
- An object that can be used to synchronize access to the .
-
-
-
-
- Gets a value indicating whether the object has a fixed size.
-
-
- true if the object has a fixed size; otherwise, false.
-
-
-
-
- Gets a value indicating whether the object is read-only.
-
-
- true if the object is read-only; otherwise, false.
-
-
-
-
- Gets an object containing the keys of the object.
-
-
-
- An object containing the keys of the object.
-
-
-
-
- Gets or sets the with the specified key.
-
- Dictionary key.
- Value corresponding to key or null if not found
-
-
-
- Adds an element with the provided key and value to the object.
-
- The to use as the key of the element to add.
- The to use as the value of the element to add.
-
-
-
- Removes all elements from the object.
-
-
-
-
- Determines whether the object contains an element with the specified key.
-
- The key to locate in the object.
-
- True if the contains an element with the key; otherwise, false.
-
-
-
-
- Returns an object for the object.
-
-
- An object for the object.
-
-
-
-
- Removes the element with the specified key from the object.
-
- The key of the element to remove.
-
-
-
- Copies the elements of the to an , starting at a particular index.
-
- The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
- The zero-based index in at which copying begins.
-
-
-
- Returns an enumerator that iterates through a collection.
-
-
- An object that can be used to iterate through the collection.
-
-
-
-
- Wrapper IDictionaryEnumerator.
-
-
-
-
- Initializes a new instance of the class.
-
- The wrapped.
-
-
-
- Gets both the key and the value of the current dictionary entry.
-
-
-
- A containing both the key and the value of the current dictionary entry.
-
-
-
-
- Gets the key of the current dictionary entry.
-
-
-
- The key of the current element of the enumeration.
-
-
-
-
- Gets the value of the current dictionary entry.
-
-
-
- The value of the current element of the enumeration.
-
-
-
-
- Gets the current element in the collection.
-
-
-
- The current element in the collection.
-
-
-
-
- Advances the enumerator to the next element of the collection.
-
-
- True if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
-
-
-
-
- Sets the enumerator to its initial position, which is before the first element in the collection.
-
-
-
-
- Ensures that IDictionary.GetEnumerator returns DictionaryEntry values
-
-
-
-
- UTF-8 BOM 239, 187, 191
-
-
-
-
- Safe way to get environment variables.
-
-
-
-
- Helper class for dealing with exceptions.
-
-
-
-
- Mark this exception as logged to the .
-
-
-
-
-
-
- Is this exception logged to the ?
-
-
- trueif the has been logged to the .
-
-
-
- Determines whether the exception must be rethrown and logs the error to the if is false.
-
- Advised to log first the error to the before calling this method.
-
- The exception to check.
- trueif the must be rethrown, false otherwise.
-
-
-
- Determines whether the exception must be rethrown immediately, without logging the error to the .
-
- Only used this method in special cases.
-
- The exception to check.
- trueif the must be rethrown, false otherwise.
-
-
-
- Object construction helper.
-
+
+ Returns the content of the specified file
+ The file to load.
@@ -8091,842 +8255,50 @@
Domain unloaded event.
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
- Interface for fakeable the current . 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.
-
-
-
-
- Gets the assemblies that have been loaded into the execution context of this application domain.
-
- A list of assemblies in this application domain.
-
-
-
- Process exit event.
-
-
-
-
- Domain unloaded event.
-
-
-
-
- Abstract calls for the application environment
-
-
-
-
- Abstract calls to FileSystem
-
-
-
- Determines whether the specified file exists.
- The file to check.
-
-
- Returns the content of the specified file
- The file to load.
-
-
-
- Base class for optimized file appenders.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The create parameters.
-
-
-
- Gets the path of the file, including file extension.
-
- The name of the file.
-
-
-
- Gets 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 appender is opened. The time returned is in Coordinated
- Universal Time [UTC] standard.
-
- The time the file was last opened.
-
-
-
- Gets the file creation parameters.
-
- The file creation parameters.
-
-
-
- Writes the specified bytes.
-
- The bytes.
-
-
-
- Flushes this instance.
-
-
-
-
- Closes this instance.
-
-
-
-
- Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal
- Time [UTC] standard.
-
- The file creation time.
-
-
-
- Gets the length in bytes of the file associated with the appender.
-
- A long value representing the length of the file in bytes.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Creates the file stream.
-
- If set to true sets the file stream to allow shared writing.
- If larger than 0 then it will be used instead of the default BufferSize for the FileStream.
- A object which can be used to write to the file.
-
-
-
- Base class for optimized file appenders which require the usage of a mutex.
-
- It is possible to use this class as replacement of BaseFileAppender and the mutex functionality
- is not enforced to the implementing subclasses.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The create parameters.
-
-
-
- Gets the mutually-exclusive lock for archiving files.
-
- The mutex for archiving.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Creates a mutex that is sharable by more than one process.
-
- The prefix to use for the name of the mutex.
- A object which is sharable by multiple processes.
-
-
-
- Implementation of which caches
- file information.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
- Closes this instance of the appender.
-
-
-
-
- Flushes this current appender.
-
-
-
-
- Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal
- Time [UTC] standard.
-
- The file creation time.
-
-
-
- Gets the length in bytes of the file associated with the appender.
-
- A long value representing the length of the file in bytes.
-
-
-
- Writes the specified bytes to a file.
-
- The bytes array.
- The bytes array offset.
- The number of bytes.
-
-
-
- Factory class which creates objects.
-
-
-
-
- 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.
-
-
-
-
- Maintains a collection of file appenders usually associated with file targets.
-
-
-
-
- An "empty" instance of the class with zero size and empty list of appenders.
-
-
-
-
- Initializes a new "empty" instance of the class with zero size and empty
- list of appenders.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The size of the list should be positive. No validations are performed during initialisation as it is an
- intenal class.
-
- Total number of appenders allowed in list.
- Factory used to create each appender.
- Parameters used for creating a file.
-
-
-
- The archive file path pattern that is used to detect when archiving occurs.
-
-
-
-
- Invalidates appenders for all files that were archived.
-
-
-
-
- Gets the parameters which will be used for creating a file.
-
-
-
-
- Gets the file appender factory used by all the appenders in this list.
-
-
-
-
- Gets the number of appenders which the list can hold.
-
-
-
-
- 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
- unused slots.
-
- File name associated with a single appender.
- The allocated appender.
-
- Thrown when is called on an Empty instance.
-
-
-
-
- Close all the allocated appenders.
-
-
-
-
- Close the allocated appenders initialized before the supplied time.
-
- The time which prior the appenders considered expired
-
-
-
- Fluch all the allocated appenders.
-
-
-
-
- File Archive Logic uses the File-Creation-TimeStamp to detect if time to archive, and the File-LastWrite-Timestamp to name the archive-file.
-
-
- NLog always closes all relevant appenders during archive operation, so no need to lookup file-appender
-
-
-
-
- Closes the specified appender and removes it from the list.
-
- File name of the appender to be closed.
- File Appender that matched the filePath (null if none found)
-
-
-
- Interface that provides parameters for create file function.
-
-
-
-
- Gets or sets the delay in milliseconds to wait before attempting to write to the file again.
-
-
-
-
- Gets or sets the number of times the write is appended on the file before NLog
- discards the log message.
-
-
-
-
- Gets or sets a value indicating whether concurrent writes to the log file by multiple processes on the same host.
-
-
- This makes multi-process logging possible. NLog uses a special technique
- that lets it keep the files open for writing.
-
-
-
-
- Gets or sets a value indicating whether to create directories if they do not exist.
-
-
- Setting this to false may improve performance a bit, but you'll receive an error
- when attempting to write to a directory that's not present.
-
-
-
-
- Gets or sets a value indicating whether to enable log file(s) to be deleted.
-
-
-
-
- Gets or sets the log file buffer size in bytes.
-
-
-
-
- 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 archive mutex be created?
-
-
-
-
- Should manual simple detection of file deletion be enabled?
-
-
-
-
- Interface implemented by all factories capable of creating file appenders.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
- Instance of which can be used to write to the file.
-
-
-
- Provides a multiprocess-safe atomic file appends while
- keeping the files open.
-
-
- On Unix you can get all the appends to be atomic, even when multiple
- processes are trying to write to the same file, because setting the file
- pointer to the end of the file and appending can be made one operation.
- On Win32 we need to maintain some synchronization between processes
- (global named mutex is used for this)
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
- Writes the specified bytes.
-
- The bytes array.
- The bytes array offset.
- The number of bytes.
-
-
-
- Closes this instance.
-
-
-
-
- Flushes this instance.
-
-
-
-
- Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal
- Time [UTC] standard.
-
- The file creation time.
-
-
-
- Gets the length in bytes of the file associated with the appender.
-
- A long value representing the length of the file in bytes.
-
-
-
- Factory class.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
-
- Instance of which can be used to write to the file.
-
-
-
-
- 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
- to get exclusive write access and retries if it's not available.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
- Writes the specified bytes.
-
- The bytes array.
- The bytes array offset.
- The number of bytes.
-
-
-
- Flushes this instance.
-
-
-
-
- Closes this instance.
-
-
-
-
- Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal
- Time [UTC] standard.
-
- The file creation time.
-
-
-
- Gets the length in bytes of the file associated with the appender.
-
- A long value representing the length of the file in bytes.
-
-
-
- Factory class.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
-
- Instance of which can be used to write to the file.
-
-
-
-
- Optimized single-process file appender which keeps the file open for exclusive write.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
- Writes the specified bytes.
-
- The bytes array.
- The bytes array offset.
- The number of bytes.
-
-
-
- Flushes this instance.
-
-
-
-
- Closes this instance.
-
-
-
-
- Gets the creation time for a file associated with the appender. The time returned is in Coordinated Universal
- Time [UTC] standard.
-
- The file creation time.
-
-
-
- Gets the length in bytes of the file associated with the appender.
-
- A long value representing the length of the file in bytes.
-
-
-
- Factory class.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
-
- Instance of which can be used to write to the file.
-
-
-
-
- Provides a multiprocess-safe atomic file append while
- keeping the files open.
-
-
-
-
- Initializes a new instance of the class.
-
- Name of the file.
- The parameters.
-
-
-
- Creates or opens a file in a special mode, so that writes are automatically
- as atomic writes at the file end.
- See also "UnixMultiProcessFileAppender" which does a similar job on *nix platforms.
-
- File to create or open
-
-
-
- Writes the specified bytes.
-
- The bytes array.
- The bytes array offset.
- The number of bytes.
-
-
-
- Closes this instance.
-
-
-
-
- Flushes this instance.
-
-
-
-
- Gets the length in bytes of the file associated with the appender.
-
- A long value representing the length of the file in bytes.
-
-
-
- Factory class.
-
-
-
-
- Opens the appender for given file name and parameters.
-
- Name of the file.
- Creation parameters.
-
- Instance of which can be used to write to the file.
-
-
-
-
- An immutable object that stores basic file info.
-
-
-
-
- Constructs a FileCharacteristics object.
-
- The time the file was created in UTC.
- The time the file was last written to in UTC.
- The size of the file in bytes.
-
-
-
- The time the file was created in UTC.
-
-
-
-
- The time the file was last written to in UTC.
-
-
-
-
- The size of the file in bytes.
-
-
-
-
- Optimized routines to get the basic file characteristics of the specified file.
-
-
-
-
- Initializes static members of the FileCharacteristicsHelper class.
-
-
-
-
- Gets the information about a file.
-
- Name of the file.
- The file stream.
- The file characteristics, if the file information was retrieved successfully, otherwise null.
-
-
-
- A layout that represents a filePath.
-
-
-
-
- Cached directory separator char array to avoid memory allocation on each method call.
-
-
-
-
- Cached invalid filenames char array to avoid memory allocation everytime Path.GetInvalidFileNameChars() is called.
-
-
-
-
- not null when == false
-
-
-
-
- non null is fixed,
-
-
-
-
- is the cache-key, and when newly rendered filename matches the cache-key,
- then it reuses the cleaned cache-value .
-
-
-
-
- is the cache-value that is reused, when the newly rendered filename
- matches the cache-key
-
-
-
- Initializes a new instance of the class.
-
-
-
- Render the raw filename from Layout
-
- The log event.
- StringBuilder to minimize allocations [optional].
- String representation of a layout.
-
-
-
- Convert the raw filename to a correct filename
-
- The filename generated by Layout.
- String representation of a correct filename.
-
-
-
- Is this (templated/invalid) path an absolute, relative or unknown?
-
-
-
-
- Is this (templated/invalid) path an absolute, relative or unknown?
-
-
-
-
- Convert object to string
-
- value
- format for conversion.
-
-
- If is null and isn't a already, then the will get a locked by
-
+
@@ -8943,6 +8315,11 @@
Format a log message
+
+
+ Perform message template parsing and formatting of LogEvent messages (True = Always, False = Never, Null = Auto Detect)
+
+
Format the message and return
@@ -8966,8 +8343,11 @@
- Get the Raw, unformatted and unstrinyfied, value
+ Get the Raw, unformatted value without stringify
+
+ Implementors must has the [ThreadAgnostic] attribute
+
@@ -8984,59 +8364,18 @@
- Renders the the value of layout or layout renderer in the context of the specified log event.
+ Renders the value of layout or layout renderer in the context of the specified log event.
The log event.
String representation of a layout.
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Specifies how outgoing email messages will be handled.
-
-
-
-
- Gets or sets the name or IP address of the host used for SMTP transactions.
-
-
-
-
- Gets or sets the port used for SMTP transactions.
-
-
-
-
- Gets or sets a value that specifies the amount of time after which a synchronous Send call times out.
-
-
-
-
- Gets or sets the credentials used to authenticate the sender.
-
-
-
-
- Sends an e-mail message to an SMTP server for delivery. These methods block while the message is being transmitted.
-
-
- System.Net.Mail.MailMessage
- MailMessage
- A MailMessage that contains the message to send.
-
-
-
- Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.
-
-
Supports rendering as string value with limited or no allocations (preferred)
+
+ Implementors must not have the [AppDomainFixedOutput] attribute
+
@@ -9061,90 +8400,130 @@
Closes this instance.
-
+
- Allows components to request stack trace information to be provided in the .
+ Helpers for .
-
+
- Gets the level of stack trace information required by the implementing class.
+ 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.
+
+
+
+ Forward declare of system delegate type for use by other classes
-
+
- Render the event info as parse as short
+ Keeps track of pending operation count, and can notify when pending operation count reaches zero
- current layout
-
- default value when the render
- layout name for log message to internal log when logging fails
+
+
+
+ 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
+
+
+
+
+ Sets the stack trace for the event info.
+
+ The stack trace.
+ Index of the first user stack frame within the stack trace.
+ Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
+
+
+
+ Sets the details retrieved from the Caller Information Attributes
+
+
+
+
+
+
+
+
+ Gets the stack frame of the method that did the logging.
+
+
+
+
+ Gets the number index of the stack frame that represents the user
+ code (not the NLog code).
+
+
+
+
+ Legacy attempt to skip async MoveNext, but caused source file line number to be lost
+
+
+
+
+ Gets the entire stack trace.
+
+
+
+
+ Finds first user stack frame in a stack trace
+
+ The stack trace of the logging method invocation
+ Type of the logger or logger wrapper. This is still Logger if it's a subclass of Logger.
+ Index of the first user stack frame or 0 if all stack frames are non-user
+
+
+
+ This is only done for legacy reason, as the correct method-name and line-number should be extracted from the MoveNext-StackFrame
+
+ The stack trace of the logging method invocation
+ Starting point for skipping async MoveNext-frames
+
+
+
+ Assembly to skip?
+
+ Find assembly via this frame.
+ true, we should skip.
+
+
+
+ Is this the type of the logger?
+
+ get type of this logger in this frame.
+ Type of the logger.
-
+
- Render the event info as parse as int
+ Memory optimized filtering
- current layout
-
- default value when the render
- layout name for log message to internal log when logging fails
-
+ Passing state too avoid delegate capture and memory-allocations.
-
+
- Render the event info as parse as bool
+ Ensures that IDictionary.GetEnumerator returns DictionaryEntry values
- current layout
-
- default value when the render
- layout name for log message to internal log when logging fails
-
-
-
-
- Logger configuration.
-
-
-
-
- Initializes a new instance of the class.
-
- The targets by level.
- Use the old exception log handling of NLog 3.0?
-
-
-
- Use the old exception log handling of NLog 3.0?
-
- This method was marked as obsolete before NLog 4.3.11 and it will be removed in NLog 5.
-
-
-
- Gets targets for the specified level.
-
- The level.
- Chain of targets with attached filters.
-
-
-
- When true: Do not fallback to StringBuilder.Format for positional templates
-
-
-
-
- New formatter
-
- When true: Do not fallback to StringBuilder.Format for positional templates
-
-
-
-
- The MessageFormatter delegate
-
-
-
-
@@ -9173,538 +8552,6 @@
Output value of the item found in the cache.
True when the key is found in the cache, false otherwise.
-
-
- Watches multiple files at the same time and raises an event whenever
- a single change is detected in any of those files.
-
-
-
-
- The types of changes to watch for.
-
-
-
-
- Occurs when a change is detected in one of the monitored files.
-
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Stops watching all files.
-
-
-
-
- Stops watching the specified file.
-
-
-
-
-
- Watches the specified files for changes.
-
- The file names.
-
-
-
- Supports mocking of SMTP Client code.
-
-
- Disabled Error CS0618 'SmtpClient' is obsolete: 'SmtpClient and its network of types are poorly designed,
- we strongly recommend you use https://github.com/jstedfast/MailKit and https://github.com/jstedfast/MimeKit instead'
-
-
-
-
- Network sender which uses HTTP or HTTPS POST.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Creates instances of objects for given URLs.
-
-
-
-
- Creates a new instance of the network sender based on a network URL.
-
- URL that determines the network sender to be created.
- The maximum queue size.
- SSL protcols for TCP
- KeepAliveTime for TCP
-
- A newly created network sender.
-
-
-
-
- Interface for mocking socket calls.
-
-
-
-
- A base class for all network senders. Supports one-way sending of messages
- over various protocols.
-
-
-
-
- Initializes a new instance of the class.
-
- The network URL.
-
-
-
- Gets the address of the network endpoint.
-
-
-
-
- Gets the last send time.
-
-
-
-
- Initializes this network sender.
-
-
-
-
- Closes the sender and releases any unmanaged resources.
-
- The continuation.
-
-
-
- Flushes any pending messages and invokes a continuation.
-
- The continuation.
-
-
-
- Send the given text over the specified protocol.
-
- Bytes to be sent.
- Offset in buffer.
- Number of bytes to send.
- The asynchronous continuation.
-
-
-
- Closes the sender and releases any unmanaged resources.
-
-
-
-
- Performs sender-specific initialization.
-
-
-
-
- Performs sender-specific close operation.
-
- The continuation.
-
-
-
- Performs sender-specific flush.
-
- The continuation.
-
-
-
- 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.
-
-
-
- Parses the URI into an endpoint address.
-
- The URI to parse.
- The address family.
- Parsed endpoint.
-
-
-
- Default implementation of .
-
-
-
-
-
-
-
- A base class for network senders that can block or send out-of-order
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with tcp://.
-
-
-
- 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.
-
-
-
- Performs sender-specific flush.
-
- The continuation.
-
-
-
- Socket proxy for mocking Socket code.
-
-
-
-
- Initializes a new instance of the class.
-
- The address family.
- Type of the socket.
- Type of the protocol.
-
-
-
- Gets underlying socket instance.
-
-
-
-
- Closes the wrapped socket.
-
-
-
-
- Invokes ConnectAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Invokes SendAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Invokes SendToAsync method on the wrapped socket.
-
- The instance containing the event data.
- Result of original method.
-
-
-
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
-
-
-
-
- Sends messages over a TCP network connection.
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with tcp://.
- The address family.
-
-
-
- Creates the socket with given parameters.
-
- The host address.
- The address family.
- Type of the socket.
- Type of the protocol.
- Instance of which represents the socket.
-
-
-
- Performs sender-specific initialization.
-
-
-
-
- Closes the socket.
-
- The continuation.
-
-
-
- Facilitates mocking of class.
-
-
-
-
- Raises the Completed event.
-
-
-
-
- Sends messages over the network as UDP datagrams.
-
-
-
-
- Initializes a new instance of the class.
-
- URL. Must start with udp://.
- The address family.
-
-
-
- Creates the socket.
-
- The address family.
- Type of the socket.
- Type of the protocol.
- Implementation of to use.
-
-
-
- Performs sender-specific initialization.
-
-
-
-
- Closes the socket.
-
- The continuation.
-
-
-
- Sends the specified text as a UDP datagram.
-
- 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.
-
-
-
- Scans (breadth-first) the object graph following all the edges whose are
- instances have attached and returns
- all objects implementing a specified interfaces.
-
-
-
-
- Finds the objects which have attached which are reachable
- from any of the given root objects when traversing the object graph over public properties.
-
- Type of the objects to return.
- Also search the properties of the wanted objects.
- The root objects.
- Ordered list of objects implementing T.
-
-
- ISet is not there in .net35, so using HashSet
-
-
-
- Helper for extracting propertyPath
-
-
-
-
- Object Path to check
-
-
-
-
- Try get value from , using , and set into
-
-
-
-
-
-
-
- Converts object into a List of property-names and -values using reflection
-
-
-
-
- Scans properties for name (Skips string-compare and value-lookup until finding match)
-
-
-
-
- Scans properties for name (Skips property value lookup until finding match)
-
-
-
-
- Scans properties for name
-
-
-
-
- Binder for retrieving value of
-
-
-
-
-
-
-
- Combine paths
-
- basepath, not null
- optional dir
- optional file
-
-
-
-
- Cached directory separator char array to avoid memory allocation on each method call.
-
-
-
-
- Trims directory separators from the path
-
- path, could be null
- never null
-
-
-
- Detects the platform the NLog is running on.
-
-
-
-
- Gets the current runtime OS.
-
-
-
-
- Gets a value indicating whether current OS is Win32-based (desktop or mobile).
-
-
-
-
- Gets a value indicating whether current OS is Unix-based.
-
-
-
-
- Gets a value indicating whether current runtime is Mono-based
-
-
-
-
- Gets a value indicating whether current runtime supports use of mutex
-
-
-
-
- Will creating a mutex succeed runtime?
- "Cached" detection
-
-
-
-
- Will creating a mutex succeed runtime?
-
-
-
-
- Portable 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.
-
-
-
- Portable implementation of .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets current process ID.
-
-
-
-
-
- Gets current process name.
-
-
-
-
-
- Returns details about current process and thread in a portable manner.
-
-
-
-
- Gets the singleton instance of PortableThreadIDHelper or
- Win32ThreadIDHelper depending on runtime environment.
-
- The instance.
-
-
-
- Gets current process ID.
-
-
-
-
- Gets current process absolute file path.
-
-
-
-
- Gets current process name (excluding filename extension, if any).
-
-
-
-
- Initializes the ThreadIDHelper class.
-
-
Dictionary that combines the standard with the
@@ -9721,16 +8568,9 @@
- Is this a property of the message?
+ Has property been captured from message-template ?
-
-
-
-
- Value of the property
- Is this a property of the message?
-
The properties of the logEvent
@@ -9738,14 +8578,20 @@
- The properties extracted from the message
+ The properties extracted from the message-template
- Injects the list of message-template-parameter into the IDictionary-interface
+ Wraps the list of message-template-parameters as IDictionary-interface
- Message-template-parameters
+ Message-template-parameters
+
+
+
+ Transforms the list of event-properties into IDictionary-interface
+
+ Message-template-parameters
@@ -9807,16 +8653,7 @@
Attempt to insert the message-template-parameters into an empty dictionary