我在这里坐了几个小时,想知道如何禁用 stomp.js 的调试输出。
我实际上在开发+生产环境中得到了这个输出:
Web Socket Opened...
webstomp.js?afe9:238 >>> CONNECT
accept-version:1.2,1.1,1.0
heart-beat:10000,10000
�
webstomp.js?afe9:238 >>> length 60
webstomp.js?afe9:238 <<< CONNECTED
version:1.2
heart-beat:0,0
user-name:coach
�
webstomp.js?afe9:238 connected to server undefined
webstomp.js?afe9:238 >>> SEND
destination:/topic/activity
content-length:12
{"page":"/"}�
webstomp.js?afe9:238 >>> length 65
webstomp.js?afe9:238 >>> SEND
destination:/topic/activity
content-length:35
{"page":"/coach/client-management"}�
webstomp.js?afe9:238 >>> length 88
有没有办法关闭它?
..
谢谢你的帮助!