메소드 | 설명 | |
---|---|---|
Initialize ( IServiceProvider serviceProvider ) : void |
Initialize the helper, most importantly provides the service provider to use to get to the log service.
|
|
LogError ( string entry ) : void |
Logs an error entry into the log.
|
|
LogInfo ( string entry ) : void |
Logs a information entry into the log.
|
메소드 | 설명 | |
---|---|---|
GetActivityLog ( ) : IVsActivityLog |
This method retrieves the activity log service, as per the documentation a new interface must be fetched everytime it is needed, which is why not caching is performed. See https://msdn.microsoft.com/en-us/library/bb166359.aspx for more details.
|
public static Initialize ( IServiceProvider serviceProvider ) : void | ||
serviceProvider | IServiceProvider | The service provider to use to get the log service. |
리턴 | void |
public static LogError ( string entry ) : void | ||
entry | string | The log entry. |
리턴 | void |
public static LogInfo ( string entry ) : void | ||
entry | string | The log entry. |
리턴 | void |