NullLocalFileLogger.Log(LocalLoggerSeverity, String, String) 方法

定义

记录具有严重性的当前字符串

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)

参数

severity
LocalLoggerSeverity

严重性

componentId
String

组件 id,因此以后可以轻松地进行筛选,可能为 null 或空

text
String

必需的自由格式记录器文本

实现

适用于