ActivityLog Class

 

Provides methods for logging messages to the IVsActivityLog.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  Microsoft.VisualStudio.Shell.ActivityLog

public static class ActivityLog

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticLogFilePath

Gets the path to the activity log for the current application.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticLogError(String, String)

Logs an error message in the activity log with the given source.

System_CAPS_pubmethodSystem_CAPS_staticLogInformation(String, String)

Logs an information message in the activity log with the given source.

System_CAPS_pubmethodSystem_CAPS_staticLogWarning(String, String)

Logs a warning message in the activity log with the given source.

System_CAPS_pubmethodSystem_CAPS_staticTryLogError(String, String)

Logs an error message in the activity log with the given source.

System_CAPS_pubmethodSystem_CAPS_staticTryLogInformation(String, String)

Logs an information message in the activity log with the given source.

System_CAPS_pubmethodSystem_CAPS_staticTryLogWarning(String, String)

Logs a warning message in the activity log with the given source.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: