mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-22 09:46:42 +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>
|
</div>
|
||||||
<script src="./mermaid.js"></script>
|
<script src="./mermaid.js"></script>
|
||||||
<script>
|
<script>
|
||||||
mermaid.initialize({ theme: 'forest' });
|
mermaid.initialize({ theme: 'forest', logLevel: 3 });
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
function testClick(nodeId) {
|
function testClick(nodeId) {
|
||||||
|
@@ -38,7 +38,7 @@ export const getRelations = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const addRelation = function (relation) {
|
export const addRelation = function (relation) {
|
||||||
logger.warn('Adding relation: ' + JSON.stringify(relation))
|
logger.debug('Adding relation: ' + JSON.stringify(relation))
|
||||||
addClass(relation.id1)
|
addClass(relation.id1)
|
||||||
addClass(relation.id2)
|
addClass(relation.id2)
|
||||||
relations.push(relation)
|
relations.push(relation)
|
||||||
|
@@ -489,7 +489,7 @@ function render2 (id, text, cb, containerElement) {
|
|||||||
return render(id, text, cb, containerElement)
|
return render(id, text, cb, containerElement)
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.warn(e)
|
logger.error(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user