LogLevel.CompareTo

LogLevel.CompareTo method

Compares the level to the other LogLevel object.

public int CompareTo(object obj)
ParameterTypeDescription
objObjectthe object object

Return Value

a value less than zero when this logger’s Ordinal is less than the other logger’s ordinal, 0 when they are equal and greater than zero when this ordinal is greater than the other ordinal.

See Also