Logger.IsEnabled

Logger.IsEnabled method

Determines if logging is enabled for the specified level.

public bool IsEnabled(LogLevel level)
ParameterTypeDescription
levelLogLevellevel to be checked

Return Value

true if logging is enabled for the specified level, otherwise it returns false.

See Also