TLoggerBase.IsEnabled(TLogLevel,TLogEventTypes) Method
Returns true
if level is enabled and any of the eventTypes
is enabled or false
otherwise.
public function IsEnabled(level: TLogLevel; eventTypes: TLogEventTypes = [TLogEventType.Text]): Boolean; inline;
Parameters
- level
- Type: TLogLevel
- eventTypes
- Type: TLogEventTypes
Specifies event types to check, must not be empty! Defaults to
Text
.
Return Value
Type: Boolean