Share via


Logger.GetLogger(String) Method

Definition

Create a logger instance using a name

public:
 static Microsoft::VisualStudio::Workspace::Logging::Logger ^ GetLogger(System::String ^ name);
public:
 static Microsoft::VisualStudio::Workspace::Logging::Logger ^ GetLogger(Platform::String ^ name);
 static Microsoft::VisualStudio::Workspace::Logging::Logger GetLogger(std::wstring const & name);
public static Microsoft.VisualStudio.Workspace.Logging.Logger GetLogger (string name);
static member GetLogger : string -> Microsoft.VisualStudio.Workspace.Logging.Logger
Public Shared Function GetLogger (name As String) As Logger

Parameters

name
String

name of the logger

Returns

a Logger class instance

Applies to