Share via


LocalFileLogger.Log(LocalLoggerSeverity, String, String) Method

Definition

Log current string with severity

public:
 virtual void Log(Microsoft::VisualStudio::LocalLogger::LocalLoggerSeverity severity, System::String ^ componentId, System::String ^ text);
public void Log (Microsoft.VisualStudio.LocalLogger.LocalLoggerSeverity severity, string componentId, string text);
abstract member Log : Microsoft.VisualStudio.LocalLogger.LocalLoggerSeverity * string * string -> unit
override this.Log : Microsoft.VisualStudio.LocalLogger.LocalLoggerSeverity * string * string -> unit
Public Sub Log (severity As LocalLoggerSeverity, componentId As String, text As String)

Parameters

severity
LocalLoggerSeverity

Severity

componentId
String

Component id, so it would be easy to filter later, might be null or empty

text
String

Required free form logger text

Implements

Applies to