ActivityLog Class
Provides methods for logging messages to the IVsActivityLog.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.ActivityLog
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public NotInheritable Class ActivityLog
public static class ActivityLog
public ref class ActivityLog abstract sealed
[<AbstractClass>]
[<Sealed>]
type ActivityLog = class end
public final class ActivityLog
The ActivityLog type exposes the following members.
Properties
Name | Description | |
---|---|---|
LogFilePath | Gets the path to the activity log for the current application. |
Top
Methods
Name | Description | |
---|---|---|
LogError | Logs an error message in the activity log with the given source. | |
LogInformation | Logs an information message in the activity log with the given source. | |
LogWarning | Logs a warning message in the activity log with the given source. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.