You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Accept arbitrary arguments in the debug function
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
var index = require('../');
|
||||
|
||||
function debug (msg) {
|
||||
function debug () {
|
||||
if (index.debug_mode) {
|
||||
console.error(msg);
|
||||
console.error.apply(null, arguments);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user