Share via


SPLog.WriteLog method

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

Overload list

  Name Description
Public method WriteLog(String, LogLevel) Writes the specified message to the upgrade event log based on the specified log level.
Public method WriteLog(String, LogLevel, []) Writes the specified message to the upgrade event log based on the specified log level.
Public method WriteLog(String, Exception, LogLevel) Writes the specified message and exception to the upgrade event log based on the specified log level.
Public method WriteLog(String, Exception, LogLevel, []) Writes the specified message to the upgrade event log based on the specified log level.

Top

See also

Reference

SPLog class

SPLog members

Microsoft.SharePoint.Upgrade namespace