From 592a5780e9b3c4f99364969659f86a9de700190a Mon Sep 17 00:00:00 2001 From: Sergey Konovalov Date: Mon, 28 Aug 2023 19:56:58 +0300 Subject: [PATCH] [all] Console.log performance metrics with action "debug" --- common/editorscommon.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/editorscommon.js b/common/editorscommon.js index 1e2e4e2a45..e6e5c12597 100644 --- a/common/editorscommon.js +++ b/common/editorscommon.js @@ -13204,6 +13204,9 @@ if (!api) { return; } + if (api.documentOpenOptions && api.documentOpenOptions["debug"]) { + console.log("clientLog: "+ msg); + } api.CoAuthoringApi.sendClientLog(level, msg); }