示例#1
0
文件: CLog.cs 项目: rainbow-lpf/Ecore
        public void Error(Exception ex)
        {
            ErrorEntity entity = new ErrorEntity();

            FillBase(entity);
            entity.ErrorMessage = GetErrorMsg(ex);
            Log(entity);
        }
示例#2
0
文件: CLog.cs 项目: rainbow-lpf/Ecore
        private void LogError(object errorEntity)
        {
            ErrorEntity entity = (ErrorEntity)errorEntity;

            Log(entity);
        }