FakeLogger.IsEnabled(LogLevel) Method

Definition

Checks if the given log level is enabled.

public bool IsEnabled (Microsoft.Extensions.Logging.LogLevel logLevel);

Parameters

logLevel
LogLevel

Level to be checked.

Returns

true if enabled; false otherwise.

Implements

Applies to

製品 バージョン
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)