pdeva
pdeva

Reputation: 45541

StompJS javascript client logging like crazy on console

I am using the StompJS javascript client along with SockJS It seems to log every single message and event on the chrome dev console.

How do i prevent StompJS from logging every single event on the console?

Upvotes: 2

Views: 1273

Answers (1)

pdeva
pdeva

Reputation: 45541

ok apparently the answer was just to do this:

stompClient.debug = function (){};//do nothing

Upvotes: 3

Related Questions