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);