Compares two specified Level instances.
Namespace: log4net.CoreAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- l
- Type: log4net.Core Level
The first Level to compare.
- r
- Type: log4net.Core Level
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