主题
Untitled undefined type in Mermaid Config Schema
txt
https://mermaid.js.org/schemas/config.schema.json#/properties/logLevel
此选项决定 mermaid 要使用的日志量。
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | config.schema.json* |
logLevel Type
any of the following: string
or number
(Details)
logLevel Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"trace" | Equivalent to 0 |
0 | |
"debug" | Equivalent to 1 |
1 | |
"info" | Equivalent to 2 |
2 | |
"warn" | Equivalent to 3 |
3 | |
"error" | Equivalent to 4 |
4 | |
"fatal" | Equivalent to 5 (default) |
5 |
logLevel Default Value
The default value is:
json
5