1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Use util.debuglog instead of using different indidivudal styles for debugging

This commit is contained in:
Ruben Bridgewater
2015-09-02 18:11:19 +02:00
parent 954f1f30df
commit 1eb30add66
10 changed files with 52 additions and 161 deletions

View File

@@ -7,8 +7,6 @@ var redis = require("redis"),
client4 = redis.createClient(),
msg_count = 0;
redis.debug_mode = false;
client1.on("psubscribe", function (pattern, count) {
console.log("client1 psubscribed to " + pattern + ", " + count + " total subscriptions");
client2.publish("channeltwo", "Me!");