Adding an Event log.html
Using CMS.Eventlog;//NameSpace
var eventLogProvider = new EventLogProvider();//Not need in kentico 8
eventLogProvider.LogEvent("E",
DateTime.Now,
"CustomInfo",
"Custom - ",
"eventUrl",
"Some error description");
EventLogInfo ev = new EventLogInfo("Warranty Rego", "", "");