共用方式為


SPLog.WriteLog Method

Include Protected Members
Include Inherited Members

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