Logger.IsEnabled(LoggingLevel) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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