Click or drag to resize

LogLevelLessThan Operator

Compares two LogLevel objects and returns a value indicating whether the first one is less than the second one.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static bool operator <(
	LogLevel? level1,
	LogLevel? level2
)

Parameters

level1
Type: NLogLogLevel
The first level.
level2
Type: NLogLogLevel
The second level.

Return Value

Type: Boolean
The value of level1.Ordinal < level2.Ordinal.
See Also