IsEnabled

Logger.IsEnabled method

Determines if logging is enabled for the specified level.

public bool IsEnabled(LogLevel level)
Parameter Type Description
level LogLevel level to be checked

Return Value

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

See Also