ISharePointCommandContext.Logger Property

Gets the log service which you can use to write messages to the Output window or Error List window in Visual Studio.

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

Syntax

'Declaration
ReadOnly Property Logger As ISharePointCommandLogger
ISharePointCommandLogger Logger { get; }

Property Value

Type: Microsoft.VisualStudio.SharePoint.Commands.ISharePointCommandLogger
An ISharePointCommandLogger instance representing the log service.

.NET Framework Security

See Also

Reference

ISharePointCommandContext Interface

Microsoft.VisualStudio.SharePoint.Commands Namespace