]> git.r.bdr.sh - rbdr/cologne/blame - lib/ext/socket_helper.js
Adds placeholders for extended console API
[rbdr/cologne] / lib / ext / socket_helper.js
CommitLineData
bdedb5e5 1var bindEvents = function (socket, logger) {
71a808fe
BB
2 socket.on('log', function (logArgs) {
3 logger.log.apply(logger, logArgs);
bdedb5e5
BB
4 });
5}
6
7exports.bindEvents = bindEvents;