Some logs are out of logLevel #1024
Labels
Area: Development
Graph: State
Retained
Nonperishable
Status: Approved
Is ready to be worked on
Type: Bug / Error
Something isn't working or is incorrect
Describe the bug
These
console.warn
are not controlled bylogLevel
option:https://github.com/knsv/mermaid/blob/0157f665a305b0616e7932360a2f9fb2fa154668/src/diagrams/state/stateRenderer.js#L281
https://github.com/knsv/mermaid/blob/2da55993e0e7f5a35c8d2b3132d4588c1189a149/src/diagrams/state/shapes.js#L109
They print logs to browser no matter what
logLevel
is.To Reproduce
Open state diagram example page: https://mermaidjs.github.io/#/stateDiagram
Open browser console, check the logs at
warn
level.Same issue in my own project that uses state diagram.
Expected behavior
Remove those warning logs, or make them be controlled by
logLevel
.Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: