Share via


SPTenantLogUtility.WriteLogEntry method

Writes an entry to the tenant-log.

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

Syntax

'Declaration
Public Shared Sub WriteLogEntry ( _
    categoryId As Integer, _
    source As Integer, _
    message As String _
)
'Usage
Dim categoryId As Integer
Dim source As Integer
Dim message As StringSPTenantLogUtility.WriteLogEntry(categoryId, source, _
    message)
public static void WriteLogEntry(
    int categoryId,
    int source,
    string message
)

Parameters

  • categoryId
    Type: System.Int32

    The categoryId of the log entry

See also

Reference

SPTenantLogUtility class

SPTenantLogUtility members

Microsoft.SharePoint.Administration namespace