Przeglądaj źródła

chore: 增加 saveTextRecord 事件的日志记录

wui 11 miesięcy temu
rodzic
commit
f47a15d8f2
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/Services/Ws.ts

+ 1 - 0
app/Services/Ws.ts

@@ -70,6 +70,7 @@ class Ws {
             // 监听 saveTextRecord 事件
             socket.on('saveTextRecord', async (data: any) => {
                 try {
+                    Logger.info('got saveTextRecord ' + JSON.stringify(data))
                     const textRecord = await TextRecord.create({
                         deviceId: data.deviceId,
                         appName: data.appName,