Share via


MockVsActivityLogXunitAdapter Class

Definition

An adapter that can log to Xunit's Xunit.Abstractions.ITestOutputHelper when an instance of this class is set to the ForwardTo property.

public class MockVsActivityLogXunitAdapter : Microsoft.VisualStudio.Shell.Interop.IVsActivityLog
type MockVsActivityLogXunitAdapter = class
    interface IVsActivityLog
Public Class MockVsActivityLogXunitAdapter
Implements IVsActivityLog
Inheritance
MockVsActivityLogXunitAdapter
Implements

Constructors

MockVsActivityLogXunitAdapter(ITestOutputHelper)

Initializes a new instance of the MockVsActivityLogXunitAdapter class.

Methods

LogEntry(UInt32, String, String)

Makes a log entry specifying the log type, the package name, and the event text.

LogEntryGuid(UInt32, String, String, Guid)

Makes a log entry specifying entry type, package name, event text, and GUID to store in the event record.

LogEntryGuidHr(UInt32, String, String, Guid, Int32)

Makes a log entry specifying entry type, package name, event text, a GUID to store in the event record, and an HRESULT to store in the event record.

LogEntryGuidHrPath(UInt32, String, String, Guid, Int32, String)

Makes a log entry specifying entry type, package name, the event text, a GUID to store in the event record, an HRESULT to store in the event record and a full file path to store in the event record.

LogEntryGuidPath(UInt32, String, String, Guid, String)

Makes a log entry specifying entry type, package name, event text, a GUID to store in the event record, and a full file path to store in the event record.

LogEntryHr(UInt32, String, String, Int32)

Makes a log entry specifying entry type, package name, event text, and an HRESULT to store in the event record.

LogEntryHrPath(UInt32, String, String, Int32, String)

Makes a log entry specifying entry type, package name, event text, an HRESULT to store in the event record, and a full file path to store in the event record.

LogEntryPath(UInt32, String, String, String)

Makes a log entry specifying entry type, package name, event text, and a full file path to store in the event record.

Applies to