LocalFileLogger.Log(LocalLoggerSeverity, String, 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.
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