Share via


Logger.ToLoggingLevel(TraceLevel) Method

Definition

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

Applies to