Click or drag to resize
EventLogProviderLogInformation Method

Note: This API is now obsolete.

Writes a new information to the event log.

This method is obsolete and will be removed in future version. Use LogEvent(EventLogData) or LogInformation(IEventLogService, String, String, String, Int32, LoggingPolicy) instead.

Namespace: CMS.EventLog
Assembly: CMS.EventLog (in CMS.EventLog.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use 'CMS.Core.Service.Resolve<CMS.Core.IEventLogService>().LogInformation(source, eventCode, eventDescription)' code instead.")]
public static void LogInformation(
	string source,
	string eventCode,
	string eventDescription = ""
)

Parameters

source
Type: SystemString
Source of the event (Content, Administration, etc.)
eventCode
Type: SystemString
Event code (Security, Update, Delete, etc.)
eventDescription (Optional)
Type: SystemString
Additional event information
See Also