| LogLevelCompareTo Method (LogLevel) |
Compares the level to the other
LogLevel object.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax public int CompareTo(
LogLevel other
)
Public Function CompareTo (
other As LogLevel
) As Integer
Dim instance As LogLevel
Dim other As LogLevel
Dim returnValue As Integer
returnValue = instance.CompareTo(other)
abstract CompareTo :
other : LogLevel -> int
override CompareTo :
other : LogLevel -> int
Parameters
- other
- Type: NLogLogLevel
The other 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
IComparableTCompareTo(T)See Also