1
0

chore: 调整接收、发送数据的日志等级

This commit is contained in:
2026-02-12 14:24:52 +08:00
parent 18ae6d4db7
commit 6807a000a9

View File

@@ -386,7 +386,7 @@ window.addEventListener('DOMContentLoaded', () => {
// 处理接收到的数据 // 处理接收到的数据
const data = decoder.decode(value); const data = decoder.decode(value);
console.log('接收数据:', data); console.debug('接收数据:', data);
// 检测是否为 MSN 设备 // 检测是否为 MSN 设备
if (data.length > 5) { if (data.length > 5) {
@@ -426,7 +426,7 @@ window.addEventListener('DOMContentLoaded', () => {
} }
await writer.write(data); await writer.write(data);
console.log('发送消息:', message); console.debug('发送数据:', message);
} catch (error) { } catch (error) {
console.error('发送消息时出错:', error); console.error('发送消息时出错:', error);
} }