mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
Get log level correct
This commit is contained in:
2
dist/index.html
vendored
2
dist/index.html
vendored
@@ -101,7 +101,7 @@ Class08 <--> C2: Cool label
|
||||
</div>
|
||||
<script src="./mermaid.js"></script>
|
||||
<script>
|
||||
mermaid.initialize({ theme: 'forest' });
|
||||
mermaid.initialize({ theme: 'forest', logLevel: 3 });
|
||||
</script>
|
||||
<script>
|
||||
function testClick(nodeId) {
|
||||
|
@@ -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