Skip to content

Untitled undefined type in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/properties/logLevel

此选项决定 mermaid 要使用的日志量。

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusUnknown identifiabilityForbiddenAllowednoneconfig.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:

ValueExplanation
"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