Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Interface ISharePointProjectLogger
public interface ISharePointProjectLogger
The ISharePointProjectLogger type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
ActivateOutputWindow | Opens the Output window and activates the current Output window pane. |
![]() |
ClearErrorList | Clears the Error List of all SharePoint Tool-related error messages. |
![]() |
WriteLine(String, LogCategory) | Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory. |
![]() |
WriteLine(String, LogCategory, String) | Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory. |
![]() |
WriteLine(String, LogCategory, String, Int32, Int32) | Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory. |
![]() |
WriteLine(String, LogCategory, String, Int32, Int32, String) | Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory. |
Top
Remarks
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.