This topic has not yet been rated - Rate this topic

ISharePointCommandLogger Interface

Represents the logging service for SharePoint commands.

Namespace:  Microsoft.VisualStudio.SharePoint.Commands
Assembly:  Microsoft.VisualStudio.SharePoint.Commands (in Microsoft.VisualStudio.SharePoint.Commands.dll)
public interface ISharePointCommandLogger
  Name Description
Public method WriteLine(String, LogCategory) Writes a message to the Output window or Error List window with the specified category.
Public method WriteLine(String, LogCategory, String) Writes a message to the Output window or Error List window with the specified category and Help keyword.
Public method 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.
Public method 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.
Top

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ