SPLog.Debug Method (String, Exception, Object )

Writes the specified string, exception, and specified objects to the upgrade event log as an information-only message.

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

Syntax

'Declaration
Public Sub Debug ( _
    format As String, _
    exception As Exception, _
    ParamArray args As Object() _
)
'Usage
Dim instance As SPLog
Dim format As String
Dim exception As Exception
Dim args As Object()

instance.Debug(format, exception, args)
public void Debug(
    string format,
    Exception exception,
    params Object[] args
)

Parameters

  • format
    Type: System.String

    A format string that supplies formatting information.

  • exception
    Type: System.Exception

    A System.Exception object that represents the exception for this message.

  • args
    Type: []

    An Object array containing zero or more objects to format.

See Also

Reference

SPLog Class

SPLog Members

Debug Overload

Microsoft.SharePoint.Upgrade Namespace