From 6e0efd66077320c138cb07763df7ce5013eed5d1 Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Sun, 17 Sep 2023 12:24:08 +0900 Subject: [PATCH] =?UTF-8?q?[Update]=20Logger=E3=81=A7=E5=87=BA=E5=8A=9B?= =?UTF-8?q?=E3=81=99=E3=82=8B=E9=9A=9B=E3=81=AE=E3=82=BF=E3=82=B0=E5=A4=89?= =?UTF-8?q?=E6=9B=B4=20[SEND]=20[RECEIVE]=20->=20[SENT]=20[RECEIVED]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index ad8c1374..cf787652 100644 --- a/main.py +++ b/main.py @@ -40,7 +40,7 @@ def sendMicMessage(message): if config.ENABLE_LOGGER is True: if len(translation) > 0: translation = f" ({translation})" - model.logger.info(f"[SEND] {message}{translation}") + model.logger.info(f"[SENT] {message}{translation}") def startTranscriptionSendMessage(): model.startMicTranscript(sendMicMessage) @@ -86,7 +86,7 @@ def receiveSpeakerMessage(message): if config.ENABLE_LOGGER is True: if len(translation) > 0: translation = f" ({translation})" - model.logger.info(f"[RECEIVE] {message}{translation}") + model.logger.info(f"[RECEIVED] {message}{translation}") def startTranscriptionReceiveMessage(): model.startSpeakerTranscript(receiveSpeakerMessage) @@ -140,7 +140,7 @@ def sendChatMessage(message): if config.ENABLE_LOGGER is True: if len(translation) > 0: translation = f" ({translation})" - model.logger.info(f"[SEND] {message}{translation}") + model.logger.info(f"[SENT] {message}{translation}") # delete message in entry message box if config.ENABLE_AUTO_CLEAR_MESSAGE_BOX is True: