Logger<T>.ILogger.IsEnabled(LogLevel) Método

Definición

Comprueba si el logLevel especificado está habilitado.

 virtual bool Microsoft.Extensions.Logging.ILogger.IsEnabled(Microsoft::Extensions::Logging::LogLevel logLevel) = Microsoft::Extensions::Logging::ILogger::IsEnabled;
bool ILogger.IsEnabled (Microsoft.Extensions.Logging.LogLevel logLevel);
abstract member Microsoft.Extensions.Logging.ILogger.IsEnabled : Microsoft.Extensions.Logging.LogLevel -> bool
override this.Microsoft.Extensions.Logging.ILogger.IsEnabled : Microsoft.Extensions.Logging.LogLevel -> bool
Function IsEnabled (logLevel As LogLevel) As Boolean Implements ILogger.IsEnabled

Parámetros

logLevel
LogLevel

nivel que se va a comprobar.

Devoluciones

true si está habilitado; false de lo contrario.

Implementaciones

Se aplica a