Export (0) Print
Expand All

IVsActivityLog Interface

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

[GuidAttribute("76AF73F9-A322-42B0-A515-D4D7553508FE")]
[InterfaceTypeAttribute()]
public interface IVsActivityLog

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.

Community Additions

ADD
Show:
© 2014 Microsoft