| LogLevelGreaterThan Operator |
Compares two
LogLevel objects
and returns a value indicating whether
the first one is greater than the second one.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static bool operator >(
LogLevel level1,
LogLevel level2
)
Public Shared Operator > (
level1 As LogLevel,
level2 As LogLevel
) As Boolean
Dim level1 As LogLevel
Dim level2 As LogLevel
Dim returnValue As Boolean
returnValue = (level1 > level2)
static let inline (>)
level1 : LogLevel *
level2 : LogLevel : bool
Parameters
- level1
- Type: NLogLogLevel
The first level. - level2
- Type: NLogLogLevel
The second level.
Return Value
Type:
BooleanThe value of
level1.Ordinal > level2.Ordinal.
See Also