ISharePointCommandLogger 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 logging service for SharePoint commands.
public interface class ISharePointCommandLogger
public interface ISharePointCommandLogger
type ISharePointCommandLogger = interface
Public Interface ISharePointCommandLogger
Remarks
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.
Methods
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. |
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) |
Writes a message to the Output window or Error List window with the specified category and Help keyword. |
WriteLine(String, LogCategory) |
Writes a message to the Output window or Error List window with the specified category. |