Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

IsEnabled

abstract virtual func IsEnabled(level: LogLevel) -> bool

Declaring type: Logger
Module: Neo.Logging
Assembly: Neo.Logging.Abstractions.dll
Source file: Contracts.rvn

Defined by Logger.IsEnabled · Required implementation (no default).

Interface implementation: Required implementation (no default).

Reports whether this severity may be written. None is never enabled.

Parameters

Name Type Description
level LogLevel

Return value

Boolean