/* * public static CMSLogEvent GetNewLogEvent(Type logEventType) * { * if (!CanCreateLogEvent(logEventType)) * return null; * * return Activator.CreateInstance(logEventType)as CMSLogEvent; * } */ public static void SendLogEvent(CMSLogEvent logEvent) { if (logger != null && logger.IsRunning) { logger.SendLog(logEvent); } }