Logger.ToLoggingLevel(TraceLevel) 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 the Logging level from a Diagnostic level
public:
static Microsoft::VisualStudio::Workspace::Logging::LoggingLevel ToLoggingLevel(System::Diagnostics::TraceLevel level);
public static Microsoft.VisualStudio.Workspace.Logging.LoggingLevel ToLoggingLevel (System.Diagnostics.TraceLevel level);
static member ToLoggingLevel : System.Diagnostics.TraceLevel -> Microsoft.VisualStudio.Workspace.Logging.LoggingLevel
Public Shared Function ToLoggingLevel (level As TraceLevel) As LoggingLevel
Parameters
- level
- TraceLevel
Teh diagnostic level to be converted
Returns
The closer Logging level