NLog.LogLevel
public sealed class LogLevel : IComparable<LogLevel>, IComparable, IEquatable<LogLevel>, IFormattable
Defines available log levels.
Debug log level (Ordinal = 1)
Error log level (Ordinal = 4)
Fatal log level (Ordinal = 5)
Info log level (Ordinal = 2)
Off log level (Ordinal = 6)
Trace log level (Ordinal = 0)
Warn log level (Ordinal = 3)
Gets all the available log levels (Trace, Debug, Info, Warn, Error, Fatal, Off).
Gets all the log levels that can be used to log events (Trace, Debug, Info, Warn, Error, Fatal)
i.e LogLevel.Off is excluded.
Gets the name of the log level.
Gets the ordinal of the log level.
Gets the LogLevel that corresponds to the specified ordinal.
Returns the LogLevel that corresponds to the supplied string.
Compares two LogLevel objects
and returns a value indicating whether
the first one is equal to the second one.
Compares two LogLevel objects
and returns a value indicating whether
the first one is greater than the second one.
Compares two LogLevel objects
and returns a value indicating whether
the first one is greater than or equal to the second one.
Compares two LogLevel objects
and returns a value indicating whether
the first one is not equal to the second one.
Compares two LogLevel objects
and returns a value indicating whether
the first one is less than the second one.
Compares two LogLevel objects
and returns a value indicating whether
the first one is less than or equal to the second one.
Compares the level to the other LogLevel object.
Compares the level to the other LogLevel object.
Determines whether the specified LogLevel instance is equal to this instance.