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)
Syntax
'Declaration
<GuidAttribute("76AF73F9-A322-42B0-A515-D4D7553508FE")> _
<InterfaceTypeAttribute()> _
Public Interface IVsActivityLog
'Usage
Dim instance As IVsActivityLog
[GuidAttribute("76AF73F9-A322-42B0-A515-D4D7553508FE")]
[InterfaceTypeAttribute()]
public interface IVsActivityLog
[GuidAttribute(L"76AF73F9-A322-42B0-A515-D4D7553508FE")]
[InterfaceTypeAttribute()]
public interface class IVsActivityLog
[<GuidAttribute("76AF73F9-A322-42B0-A515-D4D7553508FE")>]
[<InterfaceTypeAttribute()>]
type IVsActivityLog = interface end
public interface IVsActivityLog
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.