MockVsActivityLogXunitAdapter Class
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.
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. |