NLog Logging Library

LogLevel Members

LogLevel overview

Public Static (Shared) Fields

Debug The Debug level.
Error The Error level.
Fatal The Fatal level.
Info The Info level.
Off The Off level.
Trace The Trace level.
Warn The Warn level.

Public Static (Shared) Methods

FromOrdinal Gets the LogLevel that corresponds to the specified ordinal.
FromString Returns the LogLevel that corresponds to the supplied string.

Public Static (Shared) Operators

Greater Than Operator Compares two LogLevel objects and returns a value indicating whether the first one is greater than the second one.
Greater Than Or Equal Operator Compares two LogLevel objects and returns a value indicating whether the first one is greater than or equal to the second one.
Less Than Operator Compares two LogLevel objects and returns a value indicating whether the first one is less than the second one.
Less Than Or Equal Operator Compares two LogLevel objects and returns a value indicating whether the first one is less than or equal to the second one.

Public Instance Properties

LowercaseName Gets the name of the logger in lower case.
Name Gets the name of the log level.
UppercaseName Gets the name of the logger in upper case.

Public Instance Methods

CompareTo Compares the level to the other LogLevel object.
ToString Returns a string representation of the log level.

See Also

LogLevel Class | NLog Namespace