From b3771b13c0f54bb8fecc2c17e2456b1f91c75f70 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 2 Sep 2023 04:49:36 +0100 Subject: [PATCH] add debug logs for popups --- src/nvda_voicemeeter/window.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/nvda_voicemeeter/window.py b/src/nvda_voicemeeter/window.py index 907b932..1fd17fa 100644 --- a/src/nvda_voicemeeter/window.py +++ b/src/nvda_voicemeeter/window.py @@ -141,6 +141,8 @@ class NVDAVMWindow(psg.Window): filepath = None while True: event, values = window.read() + self.logger.debug(f"event::{event}") + self.logger.debug(f"values::{values}") if event in (psg.WIN_CLOSED, "Cancel"): break elif event.endswith("||FOCUS IN"): @@ -189,8 +191,8 @@ class NVDAVMWindow(psg.Window): data = {} while True: event, values = window.read() - print(f"event: {event}") - print(f"values: {values}") + self.logger.debug(f"event::{event}") + self.logger.debug(f"values::{values}") if event in (psg.WIN_CLOSED, "Cancel"): break elif event.endswith("||KEY ENTER"):