SPLog members
Represents the Microsoft SharePoint Foundation upgrade log.
The SPLog type exposes the following members.
Methods
Name | Description | |
---|---|---|
Debug(String) | Writes the specified message to the upgrade event log as an information-only message. | |
Debug(String, Exception) | Writes the specified string and exception to the upgrade event log as a information-only message. | |
Debug(String, []) | Writes the specified string and the specified objects to the upgrade event log as an information-only message. | |
Debug(String, Exception, []) | Writes the specified string, exception, and specified objects to the upgrade event log as an information-only message. | |
DebugTag(UInt32, String) | Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Use[LogLevel.Debug]. | |
DebugTag(UInt32, String, Exception) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use[LogLevel.Debug]. | |
DebugTag(UInt32, String, []) | Shorthand of [WriteLog(stringformat,LogLevellevel,paramsobject[]args)]. Use[LogLevel.Debug]. | |
DebugTag(UInt32, String, Exception, []) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel,paramsobject[]args)]. Use[LogLevel.Debug]. | |
Equals | (Inherited from Object.) | |
Error(String) | Writes the specified string to the upgrade log as an error. This call will cause the upgrade session that contains the SPLog to increase its error count by one. An upgrade session that contains one or more errors is considered to have failed. | |
Error(String, Exception) | Writes the specified string and exception to the upgrade log as an error. This call will cause the upgrade session that contains the SPLog to increase its error count by one. An upgrade session that contains one or more errors is considered to have failed. | |
Error(String, []) | Writes the specified string and object to the upgrade log as an error. This call will cause the upgrade session that contains the SPLog to increase its error count by one. An upgrade session that contains one or more errors is considered to have failed. | |
Error(SPUpgradeSession, String) | Writes the specified error message to the upgrade event log specified by the user. This call will cause the upgrade session that contains the SPLog to increase its error count by one. An upgrade session that contains one or more errors is considered to have failed. | |
Error(String, Exception, []) | Writes the specified string, exception, and a list of objects to the upgrade log as an error. This call will cause the upgrade session that contains the SPLog to increase its error count by one. An upgrade session that contains one or more errors is considered to have failed. | |
ErrorTag(UInt32, String) | Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Use[LogLevel.Error]. | |
ErrorTag(UInt32, SPUpgradeSession, String) | Log an error, to a file specified by the caller. This is useful when logging to a non-active session | |
ErrorTag(UInt32, String, Exception) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use[LogLevel.Error]. | |
ErrorTag(UInt32, String, []) | Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Use[LogLevel.Error]. | |
ErrorTag(UInt32, String, Exception, []) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use[LogLevel.Error]. | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetInstance(String) | Returns an instance of the log object that belongs to the specified category. | |
GetInstance(Type) | Returns an instance of the log object that belongs to the specified type. | |
GetInstance(Type, MethodInfo) | Returns an instance of the log object that belongs to the specified type based on the specified method information. | |
GetType | (Inherited from Object.) | |
Info(String) | Writes the specified message to the upgrade event log as an information-only message. | |
Info(String, Exception) | Writes the specified message and exception to the upgrade event log as an information-only message. | |
Info(String, []) | Writes the specified string and specified objects to the upgrade event log as an information-only message. | |
Info(String, Exception, []) | Writes the specified string, exception, and specified objects to the upgrade event log as an information-only message. | |
InfoTag(UInt32, String) | Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Use[LogLevel.Info]. | |
InfoTag(UInt32, String, Exception) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use[LogLevel.Info]. | |
InfoTag(UInt32, String, []) | Shorthand of [WriteLog(stringformat,LogLevellevel,paramsobject[]args)]. Use[LogLevel.Info]. | |
InfoTag(UInt32, String, Exception, []) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use[LogLevel.Info]. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
Verbose(String) | Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Use[LogLevel.Info]. | |
Verbose(String, Exception) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use[LogLevel.Debug]. | |
Verbose(String, []) | Shorthand of [WriteLog(stringformat,LogLevellevel,paramsobject[]args)]. Use[LogLevel.Verbose]. | |
Verbose(String, Exception, []) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel,paramsobject[]args)]. Use[LogLevel.Debug]. | |
VerboseTag(UInt32, String) | Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Use[LogLevel.Info]. | |
VerboseTag(UInt32, String, Exception) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use[LogLevel.Debug]. | |
VerboseTag(UInt32, String, []) | Shorthand of [WriteLog(stringformat,LogLevellevel,paramsobject[]args)]. Use[LogLevel.Verbose]. | |
VerboseTag(UInt32, String, Exception, []) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel,paramsobject[]args)]. Use[LogLevel.Debug]. | |
Warning(String) | Writes the specified string to the upgrade log as a warning. This call will cause the upgrade session that contains the SPLog to increase its warning count by one. An upgrade session that contains one or more warnings is considered to be successful. | |
Warning(String, Exception) | Writes the specified string and exception to the upgrade log as a warning. This call will cause the upgrade session that contains the SPLog to increase its warning count by one. An upgrade session that contains one or more warnings is considered to be successful. | |
Warning(String, []) | Writes the specified string and list of objects to the upgrade log as a warning. This call will cause the upgrade session that contains the SPLog to increase its warning count by one. An upgrade session that contains one or more warnings is considered to be successful. | |
Warning(String, Exception, []) | Writes the specified string, exception and list of objects to the upgrade log as a warning. This call will cause the upgrade session that contains the SPLog to increase its warning count by one. An upgrade session that contains one or more warnings is considered to be successful. | |
WarningTag(UInt32, String) | Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Use[LogLevel.Warning]. | |
WarningTag(UInt32, String, Exception) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use[LogLevel.Warning]. | |
WarningTag(UInt32, String, []) | Shorthand of [WriteLog(stringformat,LogLevellevel,paramsobject[]args)]. Use[LogLevel.Warning]. | |
WarningTag(UInt32, String, Exception, []) | Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use[LogLevel.Warning]. | |
WriteLog(String, LogLevel) | Writes the specified message to the upgrade event log based on the specified log level. | |
WriteLog(String, LogLevel, []) | Writes the specified message to the upgrade event log based on the specified log level. | |
WriteLog(String, Exception, LogLevel) | Writes the specified message and exception to the upgrade event log based on the specified log level. | |
WriteLog(String, Exception, LogLevel, []) | Writes the specified message to the upgrade event log based on the specified log level. | |
WriteLogTag(UInt32, String, LogLevel) | Logs the given message with given log level. | |
WriteLogTag(UInt32, String, LogLevel, []) | Logs the given formatted message with the given log level | |
WriteLogTag(UInt32, String, Exception, LogLevel) | Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Logs both the message and the exception stack trace as message. | |
WriteLogTag(UInt32, String, Exception, LogLevel, []) | Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Logs both the message and the exception stack trace as message. | |
WriteToConsole |
Top