EventLogProviderLogExceptionInternal Method |
Writes a new error to the event log.
Namespace: CMS.EventLogAssembly: CMS.EventLog (in CMS.EventLog.dll) Version: 10.0.0
Syntaxprotected virtual void LogExceptionInternal(
string source,
string eventCode,
Exception ex,
int siteId,
string additionalMessage,
LoggingPolicy loggingPolicy
)
Parameters
- source
- Type: SystemString
Source of the event (Content, Administration, etc.) - eventCode
- Type: SystemString
Event code (UPDATEDOC, SENDEMAIL, DELETE, etc.) - ex
- Type: SystemException
Exception to be logged - siteId
- Type: SystemInt32
Current site ID - additionalMessage
- Type: SystemString
Additional information to the exception message - loggingPolicy
- Type: CMS.CoreLoggingPolicy
Logging policy.
See Also