ISharePointProjectLogger Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public interface class ISharePointProjectLogger
public interface ISharePointProjectLogger
type ISharePointProjectLogger = interface
Public Interface ISharePointProjectLogger
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.
Methods
ActivateOutputWindow() |
Opens the Output window and activates the current Output window pane. |
ClearErrorList() |
Clears the Error List of all SharePoint Tool-related error messages. |
GetNewSubcategoryId() |
Returns a subcategory identifier which can be used to log and remove messages from the error list. |
RemoveMessages(Int32) |
Removes messages from the Error List based on the subcategory of the messages. |
WriteLine(String, LogCategory, Int32) |
Logs a message to SharePoint Tools output pane and Error List depending on the specified LogCategory |
WriteLine(String, LogCategory, String, Int32, Int32, Int32) |
Logs a message to SharePoint Tools output pane and Error List depending on the specified LogCategory. |
WriteLine(String, LogCategory, String, Int32, Int32, String, Int32) |
Log a message to SharePoint Tools output pane 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. |
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) |
Logs a message to SharePoint Tools output pane 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) |
Logs a message to the SharePoint Tools Output window and Error List depending on the specified LogCategory. |