LogLevel

LogLevel class

Defines available log levels.

public class LogLevel

Methods

Name Description
CompareTo(object) Compares the level to the other LogLevel object.
override ToString() Returns a string representation of the log level.
operator > Compares two LogLevel objects and returns a value indicating whether the first one is greater than the second one.
operator >= Compares two LogLevel objects and returns a value indicating whether the first one is greater than or equal to the second one.
operator < Compares two LogLevel objects and returns a value indicating whether the first one is less than the second one.
operator <= Compares two LogLevel objects and returns a value indicating whether the first one is less than or equal to the second one.

Fields

Name Description
static readonly Debug The Debug level.
static readonly Error The Error level.
static readonly Fatal The Fatal level.
static readonly Information The Info level.
static readonly Trace The Trace level.
static readonly Warning The Warn level.

See Also