Fix of broken tests

This commit is contained in:
knsv
2015-10-04 19:30:53 +02:00
parent c5d41c5a21
commit 122274bf52
9 changed files with 879 additions and 809 deletions

View File

@@ -86,9 +86,11 @@ Logger.levels = {
warn: 3,
error: 4,
fatal: 5,
default:1
default:5
};
exports.create = function(type, options) {
exports.setLogLevel = function(level){
Logger.levels.default = level;
}
exports.create = function(options) {
return new Logger(options);
};