Open sandboxFocus

Method IsEnabled

IsEnabled(LogLevel)

Determines whether logging is enabled in the current Logger for a given LogLevel.

Declaration
public bool IsEnabled(LogLevel level)
Parameters
Type Name Description
LogLevel level

A LogLevel.

Returns
Type Description
bool

true if logging is enabled for level, otherwise false.