mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Get log level correct
This commit is contained in:
parent
1d7589abb9
commit
388ec2cd97
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user