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