updated to work with node 0.1.33
This commit is contained in:
parent
64fafc3f53
commit
87823f6e22
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user