共用方式為


SPLog.GetInstance Method

Include Protected Members
Include Inherited Members

Returns an instance of the log object that belongs to the given category or type.

Overload List

  Name Description
Public methodStatic member GetInstance(String) Returns an instance of the log object that belongs to the specified category.
Public methodStatic member GetInstance(Type) Returns an instance of the log object that belongs to the specified type.
Public methodStatic member GetInstance(Type, MethodInfo) Returns an instance of the log object that belongs to the specified type based on the specified method information.

Top

See Also

Reference

SPLog Class

SPLog Members

Microsoft.SharePoint.Upgrade Namespace