共用方式為


EventBulkingDecoratorLogger.IsEnabled(LogLevel) 方法

定義

檢查是否已啟用指定的 logLevel

public virtual bool IsEnabled (Microsoft.Extensions.Logging.LogLevel logLevel);
abstract member IsEnabled : Microsoft.Extensions.Logging.LogLevel -> bool
override this.IsEnabled : Microsoft.Extensions.Logging.LogLevel -> bool
Public Overridable Function IsEnabled (logLevel As LogLevel) As Boolean

參數

logLevel
LogLevel

傳回

實作

適用於