Esempio n. 1
0
        /// <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));
        }
Esempio n. 2
0
        /// <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));
        }
Esempio n. 3
0
        /// <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));
        }
Esempio n. 4
0
        /// <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));
        }
Esempio n. 5
0
        /// <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));
        }