Пример #1
0
        public void Error(Exception ex)
        {
            ErrorEntity entity = new ErrorEntity();

            FillBase(entity);
            entity.ErrorMessage = GetErrorMsg(ex);
            Log(entity);
        }
Пример #2
0
        private void LogError(object errorEntity)
        {
            ErrorEntity entity = (ErrorEntity)errorEntity;

            Log(entity);
        }