From 87823f6e226ff11031fa241df68ea555fe6e3933 Mon Sep 17 00:00:00 2001 From: csausdev Date: Sat, 20 Mar 2010 17:51:21 +1100 Subject: [PATCH] updated to work with node 0.1.33 --- lib/log4js-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log4js-node.js b/lib/log4js-node.js index 9c2b571..7fbe76c 100644 --- a/lib/log4js-node.js +++ b/lib/log4js-node.js @@ -330,7 +330,7 @@ Logger = function(name, level) { this.level = Level.toLevel(level, log4js.levels.TRACE); }; -process.inherits(Logger, process.EventEmitter); +sys.inherits(Logger, process.EventEmitter); Logger.prototype.setLevel = function(level) { this.level = Level.toLevel(level, log4js.levels.TRACE);