SPLog.WriteLog method (String, LogLevel)
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)
Syntax
'Declaration
Public Sub WriteLog ( _
output As String, _
level As LogLevel _
)
'Usage
Dim instance As SPLog
Dim output As String
Dim level As LogLevel
instance.WriteLog(output, level)
public void WriteLog(
string output,
LogLevel level
)
Parameters
output
Type: System.StringA string containing the warning that will be written to the event log.
level
Type: Microsoft.SharePoint.Upgrade.LogLevelA LogLevel value that specifies the log level.