From edf95eb6fae7fc79e1655ecf740e11002efc5c4f Mon Sep 17 00:00:00 2001 From: Vitali Zaidman Date: Fri, 7 Mar 2025 02:31:54 -0800 Subject: [PATCH] minor log rewording from "received" to "sent" (#49870) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49870 Changelog: [General][Internal] minor log rewording from "received" to "sent" Reviewed By: huntie Differential Revision: D70707308 fbshipit-source-id: 8a28b093ebc3dd374e98cfad23996982a48bab8d --- .../dev-middleware/src/inspector-proxy/CDPMessagesLogging.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/dev-middleware/src/inspector-proxy/CDPMessagesLogging.js b/packages/dev-middleware/src/inspector-proxy/CDPMessagesLogging.js index 868a9abdd08..5fb58877d69 100644 --- a/packages/dev-middleware/src/inspector-proxy/CDPMessagesLogging.js +++ b/packages/dev-middleware/src/inspector-proxy/CDPMessagesLogging.js @@ -74,9 +74,10 @@ export default class CDPMessagesLogging { if (timeout == null) { timeout = setTimeout<$ReadOnlyArray>(() => { debug( - '%s %s CDP messages received in the last %ss.', + '%s %s CDP messages %s in the last %ss.', getCDPLogPrefix(destination), String(batchingCounters[destination]).padStart(5), + destination.startsWith('Proxy') ? ' sent ' : 'received', CDP_MESSAGES_BATCH_DEBUGGING_THROTTLE_MS / 1000, ); batchingCounters[destination] = 0;