Class NLogExtensions
Class containing all NLog extensions
Inheritance
System.Object
NLogExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:Intranet.Common
Assembly:Intranet.Common.dll
Syntax
public static class NLogExtensions
Methods
| Improve this Doc View SourceToLogLevel(LogLevel)
Convert a LogLevel value to a NLog.LogLevel value
Declaration
public static LogLevel ToLogLevel(this LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The level to convert |
Returns
Type | Description |
---|---|
NLog.LogLevel | The converted NLog value |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | level is out of range. |