TNullLogger.IsEnabled(TLogLevel,TLogEventTypes) Method

Returns true if level is enabled and any of the eventTypes is enabled or false otherwise.

Namespace: Spring.Logging.NullLogger
public
 function IsEnabled(level: TLogLevel; eventTypes: TLogEventTypes): 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

 

Implements

ILoggerBase.IsEnabled(TLogLevel,TLogEventTypes)