Logger.GetLogger(String) 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.
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