EventLogProviderLogException Method |
Note: This API is now obsolete.
This method is obsolete and will be removed in future version. Use LogEvent(EventLogData) or LogException(IEventLogService, String, String, Exception, Int32, String, LoggingPolicy) instead.
Namespace: CMS.EventLog
[ObsoleteAttribute("Use 'CMS.Core.Service.Resolve<CMS.Core.IEventLogService>().LogException(source, eventCode, ex, siteId, additionalMessage, loggingPolicy)' code instead.")] public static void LogException( string source, string eventCode, Exception ex, int siteId = 0, string additionalMessage = null, LoggingPolicy loggingPolicy = null )