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: 4.3.0
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