Expand Minimize

LogCategory Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies where messages written by using the SharePoint log service appear in the Output window and Error List window.

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

public enum LogCategory

Member nameDescription
ErrorSpecifies that the message appears in the Output window and in the Errors group of the Error List window.
MessageSpecifies that the message appears in the Output window and in the Message group of the Error List window.
StatusSpecifies that the message appears only in the Output window. The message does not appear in the Error List window.
VerboseSpecifies that the message appears only in the Output window, if verbose messages are enabled. The message does not appear in the Error List window.
WarningSpecifies that the message appears in the Output window and in the Warning group of the Error List window.

The LogCategory values specify whether a message appears in the Output window or Error List window (or both), and the group in which the message appears in the Error List window.

To write a message to the Output window or Error List window from an extension of the SharePoint project system, use one of the WriteLine() methods of an ISharePointProjectLogger object.

Enabling Verbose Messages

To display verbose messages in the Output window, the EnableDiagnostics value under the registry key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools must be set to 1. For more information, see Debugging SharePoint Solutions.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft