Share via


SPLog.GetInstance method

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