mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 05:19:58 +02:00
WIP - able to draw circles now.
This commit is contained in:
@@ -69,7 +69,10 @@ function Log(level) {
|
||||
if (typeof console.log !== 'undefined') { //eslint-disable-line no-console
|
||||
//return console.log('[' + formatTime(new Date()) + '] ' , str); //eslint-disable-line no-console
|
||||
args.unshift('[' + formatTime(new Date()) + '] ');
|
||||
console.log.apply(console, args);
|
||||
console.log.apply(console, args.map(function(a){
|
||||
if (typeof a === "object") return JSON.stringify(a, null, 2);
|
||||
return a;
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user