You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-12-25 00:40:59 +03:00
Use util.debuglog instead of using different indidivudal styles for debugging
This commit is contained in:
@@ -4,7 +4,6 @@ var events = require("events"),
|
||||
util = require("../util"),
|
||||
hiredis = require("hiredis");
|
||||
|
||||
exports.debug_mode = false;
|
||||
exports.name = "hiredis";
|
||||
|
||||
function HiredisReplyParser(options) {
|
||||
|
||||
@@ -9,7 +9,6 @@ function Packet(type, size) {
|
||||
}
|
||||
|
||||
exports.name = "javascript";
|
||||
exports.debug_mode = false;
|
||||
|
||||
function ReplyParser(options) {
|
||||
this.name = exports.name;
|
||||
@@ -18,7 +17,6 @@ function ReplyParser(options) {
|
||||
this._buffer = null;
|
||||
this._offset = 0;
|
||||
this._encoding = "utf-8";
|
||||
this._debug_mode = options.debug_mode;
|
||||
this._reply_type = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user