]> git.r.bdr.sh - rbdr/cologne/blob - lib/ext/socket_helper.js
50fe5bc580dd239ac9af19341eb14ec5653307da
[rbdr/cologne] / lib / ext / socket_helper.js
1 var bindEvents = function (socket, logger) {
2 socket.on('log', function (logArgs) {
3 logger.log.apply(logger, logArgs);
4 });
5 }
6
7 exports.bindEvents = bindEvents;