Click or drag to resize

LogLevelEquality Operator

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

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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