Compartilhar via


ActivityLog Class

Definition

Class which provides convenient managed methods for logging messages to the IVsActivityLog.

public ref class ActivityLog abstract sealed
public ref class ActivityLog abstract sealed
class ActivityLog abstract sealed
public static class ActivityLog
type ActivityLog = class
Public Class ActivityLog
Inheritance
ActivityLog

Properties

LogFilePath

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

Methods

LogError(String, String)

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

LogInformation(String, String)

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

LogWarning(String, String)

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

TryLogError(String, String)

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

TryLogInformation(String, String)

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

TryLogWarning(String, String)

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

Applies to