updated to work with node 0.1.33

This commit is contained in:
csausdev 2010-03-20 17:51:21 +11:00
parent 64fafc3f53
commit 87823f6e22

View File

@ -330,7 +330,7 @@ Logger = function(name, level) {
this.level = Level.toLevel(level, log4js.levels.TRACE); this.level = Level.toLevel(level, log4js.levels.TRACE);
}; };
process.inherits(Logger, process.EventEmitter); sys.inherits(Logger, process.EventEmitter);
Logger.prototype.setLevel = function(level) { Logger.prototype.setLevel = function(level) {
this.level = Level.toLevel(level, log4js.levels.TRACE); this.level = Level.toLevel(level, log4js.levels.TRACE);