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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.