SPLog.WriteLog method (String, LogLevel, Object[])

Writes the specified message to the upgrade event log based on the specified log level.

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

public void WriteLog(
	string format,
	LogLevel level,
	params Object[] args
)

Parameters

format
Type: System.String

A format string that supplies formatting information.

level
Type: Microsoft.SharePoint.Upgrade.LogLevel

A LogLevel value that specifies the log level.

args
Type: []

An Object array containing zero or more objects to format.

Show: