Logger.IsEnabled(LoggingLevel) Método

Definição

Retornar true se um nível de log estiver habilitado

public:
 bool IsEnabled(Microsoft::VisualStudio::Workspace::Logging::LoggingLevel level);
public:
 bool IsEnabled(Microsoft::VisualStudio::Workspace::Logging::LoggingLevel level);
bool IsEnabled(Microsoft::VisualStudio::Workspace::Logging::LoggingLevel level);
public bool IsEnabled (Microsoft.VisualStudio.Workspace.Logging.LoggingLevel level);
member this.IsEnabled : Microsoft.VisualStudio.Workspace.Logging.LoggingLevel -> bool
Public Function IsEnabled (level As LoggingLevel) As Boolean

Parâmetros

level
LoggingLevel

nível desejado para avaliar

Retornos

Boolean

true se o nível estiver habilitado

Aplica-se a