mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-21 00:09:51 +02:00
Get log level correct
This commit is contained in:
@@ -38,7 +38,7 @@ export const getRelations = function () {
|
||||
}
|
||||
|
||||
export const addRelation = function (relation) {
|
||||
logger.warn('Adding relation: ' + JSON.stringify(relation))
|
||||
logger.debug('Adding relation: ' + JSON.stringify(relation))
|
||||
addClass(relation.id1)
|
||||
addClass(relation.id2)
|
||||
relations.push(relation)
|
||||
|
@@ -489,7 +489,7 @@ function render2 (id, text, cb, containerElement) {
|
||||
return render(id, text, cb, containerElement)
|
||||
}
|
||||
} catch (e) {
|
||||
logger.warn(e)
|
||||
logger.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user