From ddec8b9f771f35a1b1e6d006ef865d636bbf45ff Mon Sep 17 00:00:00 2001 From: soul-walker Date: Sat, 11 May 2024 15:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4mqtt=20on=20message=E7=9A=84d?= =?UTF-8?q?ebug=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/index.js | 1 - src/message/MqttBroker.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index fd225e5..c753c4a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -5458,7 +5458,6 @@ class MqttMsgClient extends MessageClient { this.emit('error', error); }); this.cli.on('message', (topic, message) => { - console.debug('MQTT 收到消息', topic, message); const handle = this.subMsgHandler.get(topic); if (handle) { if (this.options.protocol === 'json') { diff --git a/src/message/MqttBroker.ts b/src/message/MqttBroker.ts index 141afcc..c687141 100644 --- a/src/message/MqttBroker.ts +++ b/src/message/MqttBroker.ts @@ -52,7 +52,6 @@ export class MqttMsgClient extends MessageClient { this.emit('error', error); }); this.cli.on('message', (topic, message) => { - console.debug('MQTT 收到消息', topic, message); const handle = this.subMsgHandler.get(topic); if (handle) { if (this.options.protocol === 'json') {