Click or drag to resize
NLogILoggerBaseIsEnabled Method
Gets a value indicating whether logging is enabled for the specified level.

Namespace: NLog
Assembly: NLog (in NLog.dll) Version: 0.0.0.0
Syntax
bool IsEnabled(
	LogLevel level
)

Parameters

level
Type: NLogLogLevel
Log level to be checked.

Return Value

Type: Boolean
A value of if logging is enabled for the specified level, otherwise it returns .
See Also