Logger.IsEnabled(LoggingLevel) Method

Definition

Return true if a logging level is enabled

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

Parameters

level
LoggingLevel

level desired to evaluate

Returns

true if the level is enabled

Applies to