ISharePointProjectLogger Interface

 

Represents the SharePoint logging service, which enables SharePoint project extensions to log messages into the Output window and Error List, depending on the specified LogCategory.

Namespace:   Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

public interface ISharePointProjectLogger

NameDescription
System_CAPS_pubmethodActivateOutputWindow()

Opens the Output window and activates the current Output window pane.

System_CAPS_pubmethodClearErrorList()

Clears the Error List of all SharePoint Tool-related error messages.

System_CAPS_pubmethodGetNewSubcategoryId()

Returns a subcategory identifier which can be used to log and remove messages from the error list.

System_CAPS_pubmethodRemoveMessages(Int32)

Removes messages from the Error List based on the subcategory of the messages.

System_CAPS_pubmethodWriteLine(String, LogCategory)

Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory.

System_CAPS_pubmethodWriteLine(String, LogCategory, Int32)

Logs a message to SharePoint Tools output pane and Error List depending on the specified LogCategory

System_CAPS_pubmethodWriteLine(String, LogCategory, String)

Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory.

System_CAPS_pubmethodWriteLine(String, LogCategory, String, Int32)

Logs a message to SharePoint Tools output pane and Error List depending on the specified LogCategory.

System_CAPS_pubmethodWriteLine(String, LogCategory, String, Int32, Int32)

Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory.

System_CAPS_pubmethodWriteLine(String, LogCategory, String, Int32, Int32, Int32)

Logs a message to SharePoint Tools output pane and Error List depending on the specified LogCategory.

System_CAPS_pubmethodWriteLine(String, LogCategory, String, Int32, Int32, String)

Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory.

System_CAPS_pubmethodWriteLine(String, LogCategory, String, Int32, Int32, String, Int32)

Log a message to SharePoint Tools output pane and Error List depending on the specified LogCategory.

All logged messages go to a "SharePoint Tools" Output window pane, except when performing deployment, when messages are re-directed to the VS "Build" pane in the Output window.

Return to top
Show: