예제 #1
0
        /// <summary>
        /// Debug log
        /// </summary>
        /// <param name="errCode"></param>
        /// <param name="errDesc"></param>
        /// <param name="errFileName"></param>
        /// <param name="errLineNo"></param>
        public static void RISLog_Info(long errCode, string errDesc, string errFileName, long errLineNo)
        {
            if (_log == null)
            {
                _log = new LogManagerForServer(ReportCommon.ProfileName._REPORTLOGLEVEL_FORSERVER, "0400");
            }

            if (_log != null)
            {
                _log.Info(
                    System.Convert.ToInt32(ReportCommon.ModuleID.Report),
                    "Report",
                    errCode,
                    errDesc,
                    "",
                    errFileName,
                    errLineNo);
            }
            else
            {
                System.Diagnostics.Debug.Assert(false);
            }
        }