删除mqtt on message的debug日志

This commit is contained in:
soul-walker 2024-05-11 15:05:50 +08:00
parent 7dbd032eb8
commit ddec8b9f77
2 changed files with 0 additions and 2 deletions

View File

@ -5458,7 +5458,6 @@ class MqttMsgClient extends MessageClient {
this.emit('error', error); this.emit('error', error);
}); });
this.cli.on('message', (topic, message) => { this.cli.on('message', (topic, message) => {
console.debug('MQTT 收到消息', topic, message);
const handle = this.subMsgHandler.get(topic); const handle = this.subMsgHandler.get(topic);
if (handle) { if (handle) {
if (this.options.protocol === 'json') { if (this.options.protocol === 'json') {

View File

@ -52,7 +52,6 @@ export class MqttMsgClient extends MessageClient {
this.emit('error', error); this.emit('error', error);
}); });
this.cli.on('message', (topic, message) => { this.cli.on('message', (topic, message) => {
console.debug('MQTT 收到消息', topic, message);
const handle = this.subMsgHandler.get(topic); const handle = this.subMsgHandler.get(topic);
if (handle) { if (handle) {
if (this.options.protocol === 'json') { if (this.options.protocol === 'json') {