Compares two specified Level instances.
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- l
- Type: log4net.CoreLevel
The first Level to compare. - r
- Type: log4net.CoreLevel
The second Level to compare.
Return Value
Type: Int32A 32-bit signed integer that indicates the relative order of the two values compared. The return value has these meanings:
Value | Meaning |
---|---|
Less than zero | l is less than r. |
Zero | l is equal to r. |
Greater than zero | l is greater than r. |
Remarks
Compares two levels.
See Also