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