X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/blobdiff_plain/b69497efe78c60742e0bb7ab5fed2b94ce89682e..72c9a3ca94fbd24c2de828bd73c8f12ace7ccbe7:/lib/ext/socket_helper.js?ds=sidebyside diff --git a/lib/ext/socket_helper.js b/lib/ext/socket_helper.js index 661d435..50fe5bc 100644 --- a/lib/ext/socket_helper.js +++ b/lib/ext/socket_helper.js @@ -1,6 +1,6 @@ var bindEvents = function (socket, logger) { - socket.on('log', function (logObject) { - logger.log(logObject); + socket.on('log', function (logArgs) { + logger.log.apply(logger, logArgs); }); }