/// <summary> /// Сохранить лог Error /// </summary> /// <param name="log"></param> /// <returns></returns> public static long SaveError(this string log) { EFLog eflog = new EFLog(_blog); return(eflog.SaveError(log)); }
/// <summary> /// Сохранить лог Exception /// </summary> /// <param name="ex"></param> /// <returns></returns> public static long SaveError(this Exception ex) { EFLog eflog = new EFLog(_blog); return(eflog.SaveError(ex)); }
/// <summary> /// Сохранить лог Exception /// </summary> /// <param name="ex"></param> /// <param name="id_services"></param> /// <param name="id_eventID"></param> /// <returns></returns> public static long SaveError(this Exception ex, int?id_services, int?id_eventID) { EFLog eflog = new EFLog(_blog); return(eflog.SaveError(ex, id_services, id_eventID)); }
/// <summary> /// Сохранить лог Exception /// </summary> /// <param name="ex"></param> /// <param name="user_message"></param> /// <returns></returns> public static long SaveError(this Exception ex, string user_message) { EFLog eflog = new EFLog(_blog); return(eflog.SaveError(ex, user_message)); }
/// <summary> /// Сохранить лог Error /// </summary> /// <param name="log"></param> /// <param name="services"></param> /// <param name="eventID"></param> /// <returns></returns> public static long SaveError(this string log, int?id_services, int?id_eventID) { EFLog eflog = new EFLog(_blog); return(eflog.SaveError(id_services, id_eventID, log)); }