IVsActivityLog IVsActivityLog IVsActivityLog Interface

Definition

Adds events to the IDE Activity Log. Use the SVsActivityLog (SID_SVsActivityLog) service to get an instance of the interface.

[System.Runtime.InteropServices.Guid("76AF73F9-A322-42B0-A515-D4D7553508FE")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsActivityLog
type IVsActivityLog = interface
Public Interface IVsActivityLog
Attributes

Remarks

Visual Studio activates the log when the shell receives the /log switch, or when you set an environment variable ("VSLogActivity").

Use the log to record high level information for quickly tracking down and routing problems. The log is not a tracing tool—log only key events. When logging is on, the implementation logs an event in response to each method on this interface. When logging is off, the implementation for each method is a fast no-op.

Methods

LogEntry(UInt32, String, String) LogEntry(UInt32, String, String) LogEntry(UInt32, String, String)

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

LogEntryGuid(UInt32, String, String, Guid) LogEntryGuid(UInt32, String, String, Guid) 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) LogEntryGuidHr(UInt32, String, String, Guid, Int32) 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) LogEntryGuidHrPath(UInt32, String, String, Guid, Int32, String) 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) LogEntryGuidPath(UInt32, String, String, Guid, String) 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) LogEntryHr(UInt32, String, String, Int32) 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) LogEntryHrPath(UInt32, String, String, Int32, String) 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) LogEntryPath(UInt32, String, String, String) 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