Flotype / now

NowJS makes it easy to build real-time web apps using JavaScript
http://www.nowjs.com
MIT License
1.91k stars 175 forks source link

How do I turn of the debug - messages? #127

Closed felixchan closed 13 years ago

felixchan commented 13 years ago

Just upgraded to V0.7. How do I turn off the debug- messages that's flooding the console?

jeffchan commented 13 years ago
var httpServer = require('http').createServer();
httpServer.listen(8080);

var nowjs = require('now');
var everyone= nowjs.initialize(httpServer, {
    socketio: {
        'log level': 2
    }
});
ericz commented 13 years ago

nowjs.initialize(httpServer, {socketio: {"log level" : 0}})

felixchan commented 13 years ago

Thanks!