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.Int32The categoryId of the log entry
source
Type: System.Int32The source of the log entry
message
Type: System.StringThe log message