PatrickJS / angular-websocket

:arrow_upper_left: The missing Angular WebSocket module for connecting client applications to servers by @AngularClass
https://angularclass.github.io/angular-websocket
MIT License
1.22k stars 194 forks source link

Logging to console on reconnect #95

Open skladd opened 8 years ago

skladd commented 8 years ago

Now, every time a connection is closed with enabled reconnect a message is logged to the console. This can get quite disturbing, e.g. while running a test suite.

Pull request #91 addresses this by making the logging optional (on per default) and adding an additional 'reconnectDelaySeconds' property to the close event.