Open sandboxFocus

Method IsEnabled

IsEnabled(LogLevel)

Determines whether logging is enabled for a given LogLevel.

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

A record level (or severity).

Returns
Type Description
bool

true if logging is enabled for level, otherwise false.