mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 22:09:57 +02:00
Merge pull request #1782 from mermaid-js/bug/1742_replace_console_log_with_logger_info
Narrow down console logging when flowchart subgraphs are added
This commit is contained in:
@@ -453,7 +453,7 @@ export const addSubGraph = function(_id, list, _title) {
|
|||||||
subCount = subCount + 1;
|
subCount = subCount + 1;
|
||||||
const subGraph = { id: id, nodes: nodeList, title: title.trim(), classes: [] };
|
const subGraph = { id: id, nodes: nodeList, title: title.trim(), classes: [] };
|
||||||
|
|
||||||
console.log('Adding', subGraph.id, subGraph.nodes);
|
logger.info('Adding', subGraph.id, subGraph.nodes);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deletes an id from all subgraphs
|
* Deletes an id from all subgraphs
|
||||||
|
Reference in New Issue
Block a user