ISharePointCommandLogger Interface
Represents the logging service for SharePoint commands.
Assembly: Microsoft.VisualStudio.SharePoint.Commands (in Microsoft.VisualStudio.SharePoint.Commands.dll)
| Name | Description | |
|---|---|---|
|
WriteLine(String, LogCategory) | Writes a message to the Output window or Error List window with the specified category. |
|
WriteLine(String, LogCategory, String) | Writes a message to the Output window or Error List window with the specified category and Help keyword. |
|
WriteLine(String, LogCategory, String, Int32, Int32) | Writes a message to the Output window or Error List window with the specified category and error location information. |
|
WriteLine(String, LogCategory, String, Int32, Int32, String) | Writes a message to the Output window or Error List window with the specified category, error location information, and Help keyword. |
The logging service enables SharePoint commands to write messages to the Output window or Error List window.
In the Output window, all messages are written to the SharePoint Tools output pane, except when writing messages from deployment extensions. In deployment extensions, messages are written to the Build output pane.