Click or drag to resize
LogLevelCompareTo Method
Compares the level to the other LogLevel object.

Namespace: NLog
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public int CompareTo(
	Object obj
)

Parameters

obj
Type: SystemObject
The object object.

Return Value

Type: Int32
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.

Implements

IComparableCompareTo(Object)
See Also