mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 05:19:58 +02:00
Fix of broken tests
This commit is contained in:
@@ -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);
|
||||
};
|
Reference in New Issue
Block a user