![]() | LogLevel Class |
Namespace: NLog
The LogLevel type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AllLevels |
All log levels. (Trace, Debug, Info, Warn, Error, Fatal, Off)
|
![]() ![]() | AllLoggingLevels |
All log levels that can be used to log events (excludes Off). (Trace, Debug, Info, Warn, Error, Fatal)
|
![]() | Name |
Gets the name of the log level.
|
![]() | Ordinal |
Gets the ordinal of the log level.
|
Name | Description | |
---|---|---|
![]() | CompareTo |
Compares the level to the other LogLevel object.
|
![]() | Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).) |
![]() | Equals(LogLevel) |
Determines whether the specified LogLevel instance is equal to this instance.
|
![]() ![]() | FromOrdinal |
Gets the LogLevel that corresponds to the specified ordinal.
|
![]() ![]() | FromString |
Returns the LogLevel that corresponds to the supplied string.
|
![]() | GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) |
![]() | ToString |
Returns a string representation of the log level.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Compares two LogLevel objects
and returns a value indicating whether
the first one is equal to the second one.
|
![]() ![]() | GreaterThan |
Compares two LogLevel objects
and returns a value indicating whether
the first one is greater than the second one.
|
![]() ![]() | GreaterThanOrEqual |
Compares two LogLevel objects
and returns a value indicating whether
the first one is greater than or equal to the second one.
|
![]() ![]() | Inequality |
Compares two LogLevel objects
and returns a value indicating whether
the first one is not equal to the second one.
|
![]() ![]() | LessThan |
Compares two LogLevel objects
and returns a value indicating whether
the first one is less than the second one.
|
![]() ![]() | LessThanOrEqual |
Compares two LogLevel objects
and returns a value indicating whether
the first one is less than or equal to the second one.
|
Name | Description | |
---|---|---|
![]() ![]() | Debug |
Debug log level.
|
![]() ![]() | Error |
Error log level.
|
![]() ![]() | Fatal |
Fatal log level.
|
![]() ![]() | Info |
Info log level.
|
![]() ![]() | Off |
Off log level.
|
![]() ![]() | Trace |
Trace log level.
|
![]() ![]() | Warn |
Warn log level.
|