Logger.IsEnabled(LoggingLevel) Methode

Definition

True zurückgeben, wenn ein Protokolliergrad aktiviert ist

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

Parameter

level
LoggingLevel

auszuwertende Ebene

Gibt zurück

Boolean

true, wenn die Ebene aktiviert ist.

Gilt für