]> git.r.bdr.sh - rbdr/cologne/blobdiff - lib/ext/socket_helper.js
Makes file logger append by default
[rbdr/cologne] / lib / ext / socket_helper.js
index 661d43551cff671951b8911a4e66404ee59d5068..50fe5bc580dd239ac9af19341eb14ec5653307da 100644 (file)
@@ -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);
     });
 }