示例#1
0
        private void updateHolidays(string year)
        {
            string methodName = "updateHolidays()";

            log.DebugFormat("------------START---{0}-{1}-({2})-----------", className, methodName, "");

            try
            {
                HolidayFeed.getFeed(year);
            }
            catch (Exception ex)
            {
                log.Error(ex);
            }

            log.DebugFormat("------------END---{0}-{1}-({2})-----------", className, methodName);
        }
示例#2
0
        private void updateHolidays(string year)
        {
            string methodName = string.Format("updateHolidays({0})", year);

            LogHelper.DebugFormat("{0}.{1}:--- start ---", className, methodName);

            try
            {
                HolidayFeed.getFeed(year);
            }
            catch (Exception ex)
            {
                LogHelper.Error(ex);
            }

            LogHelper.DebugFormat("{0}.{1}:--- end ---", className, methodName);
        }