From 7be3eee7a35714a54a808f5f2b1b6b1865d04757 Mon Sep 17 00:00:00 2001 From: Waldek Mastykarz Date: Fri, 1 Dec 2023 17:46:38 +0100 Subject: [PATCH] Fixes name references after rename (#410) --- dev-proxy/ProxyCommandHandler.cs | 4 ++-- specs/recording-requests.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-proxy/ProxyCommandHandler.cs b/dev-proxy/ProxyCommandHandler.cs index c974de79..f2a9e28e 100644 --- a/dev-proxy/ProxyCommandHandler.cs +++ b/dev-proxy/ProxyCommandHandler.cs @@ -83,7 +83,7 @@ public async Task InvokeAsync(InvocationContext context) { var newReleaseInfo = await UpdateNotification.CheckForNewVersion(); if (newReleaseInfo != null) { - _logger.LogError($"New version {newReleaseInfo.Version} of the Graph Developer Proxy is available."); + _logger.LogError($"New Dev Proxy version {newReleaseInfo.Version} is available."); _logger.LogError($"See https://aka.ms/devproxy/upgrade for more information."); _logger.LogError(string.Empty); } @@ -93,7 +93,7 @@ public async Task InvokeAsync(InvocationContext context) { return 0; } catch (Exception ex) { - _logger.LogError("An error occurred while running the Developer Proxy"); + _logger.LogError("An error occurred while running Dev Proxy"); _logger.LogError(ex.Message.ToString()); _logger.LogError(ex.StackTrace?.ToString() ?? string.Empty); var inner = ex.InnerException; diff --git a/specs/recording-requests.md b/specs/recording-requests.md index 1d321f55..27e07f6e 100644 --- a/specs/recording-requests.md +++ b/specs/recording-requests.md @@ -1,6 +1,6 @@ # Record request logging -Record request logging allows Developer Proxy to capture request logging activities that occurred while the proxy was in record mode. The captured request logging items are passed for further processing to the Developer Proxy plugins. This feature is foundational for scenarios such as permission analysis, building tailored SDKs, audit reports, etc. +Record request logging allows Dev Proxy to capture request logging activities that occurred while the proxy was in record mode. The captured request logging items are passed for further processing to the Dev Proxy plugins. This feature is foundational for scenarios such as permission analysis, building tailored SDKs, audit reports, etc. ## History @@ -10,12 +10,12 @@ Record request logging allows Developer Proxy to capture request logging activit ## Implementation -Developer Proxy can be put in recording mode either by using the `--record` command line option or by pressing `r` after starting the proxy. Recording can be stopped by pressing `s` while running the proxy or by closing the proxy using `CTRL+C`. While recording is stopped and the proxy is running, users can start a new recording session by pressing `r` again. +Dev Proxy can be put in recording mode either by using the `--record` command line option or by pressing `r` after starting the proxy. Recording can be stopped by pressing `s` while running the proxy or by closing the proxy using `CTRL+C`. While recording is stopped and the proxy is running, users can start a new recording session by pressing `r` again. -While recording, Developer Proxy will show an indicator in the terminal window. The indicator will be displayed in the top right corner of the window and will be hidden if the proxy is not recording. +While recording, Dev Proxy will show an indicator in the terminal window. The indicator will be displayed in the top right corner of the window and will be hidden if the proxy is not recording. Proxy is recording requests by subscribing to a `RequestLogged` event which is raised each time proxy logged a request-related log message. The event contains information about the logged message. -After the recording is stopped, Developer Proxy will raise the `RecordingStopped` event. Plugins can subscribe to this event to process the captured requests. +After the recording is stopped, Dev Proxy will raise the `RecordingStopped` event. Plugins can subscribe to this event to process the captured requests. -Recording is a core feature of Developer Proxy and will be implemented in the main proxy code. +Recording is a core feature of Dev Proxy and will be implemented in the main proxy code.