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