You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Updates VSCode settings to build sln
* Improves console output readability. Closes#68
* Adds default logLevel value
* Renames mocks.json to responses.json in the default config
* Renames sample responses
* Adds empty responses.json file to include with the Proxy
* Updates mocks message for readability
* Exposes logLevel as CLI option
* Adds responses.sample.json to output
* Changes port and logLevel options to nullable
privatestaticstringBuildUseSelectMessage(Requestr)=>$"To improve performance of your application, use the $select parameter when calling {r.RequestUriString}. More info at {GetSelectParameterGuidanceUrl()}";
50
+
privatestaticstring[]BuildUseSelectMessage(Requestr)=>new[]{$"To improve performance of your application, use the $select parameter.",$"More info at {GetSelectParameterGuidanceUrl()}"};
_logger?.LogError($"Calling {r.Url} again before waiting for the Retry-After period.Request will be throttled");
118
+
_logger?.LogRequest(new[]{$"Calling {r.Url} again before waiting for the Retry-After period.","Request will be throttled"},MessageType.Failed,newLoggingContext(e.Session));
119
119
// update the retryAfterDate to extend the throttling window to ensure that brute forcing won't succeed.
privatestaticstringBuildApiErrorMessage(Requestr)=>$"Some error was generated by the proxy. {(ProxyUtils.IsGraphRequest(r)?ProxyUtils.IsSdkRequest(r)?"":MessageUtils.BuildUseSdkMessage(r):"")}";
0 commit comments