public async Task MakeRequestAsync(string url, int?httpStatusCodeOverride = null) { var fullUrl = httpStatusCodeOverride == null ? url : $"{url}?statuscode={httpStatusCodeOverride}"; System.Console.WriteLine($"Calling {fullUrl}"); var response = await client.MakeRequestAsync(fullUrl); logContext.AddLogEntry(response).Wait(); }