public void Log(Exception ex) { var log = new { ApplicationName = _configSettings.ApplicationName, Data = GetData(ex), Message = ex.Message, StackTrace = ex.StackTrace }; _webHelperService.HttpPostAsync(_configSettings.LoggingUrl, log); }
public void Log(Exception ex) { var log = new { ApplicationName = _configSettings.ApplicationName, Data = GetData(ex), Message = ex.Message, StackTrace = ex.StackTrace }; _webHelperService.HttpPostAsync(_configSettings.LoggingUrl, log); }