public static void SaveWarningToEventLogs(this string log, service service, eventID eventID) { EventLogs.SaveWarning(log, (service == service.Null ? (int?)null : (int)service), (eventID == eventID.Null ? (int?)null : (int)eventID)); }
public static void SaveWarningToEventLogs(this string log) { EventLogs.SaveWarning(log); }