jsMind

log_level Option

Option Name Data Type Default Value Description
log_level string ‘info’ Log level

Usage

The log_level option is used to control the log output level of jsMind. Different log levels can help developers obtain varying degrees of detailed log information during debugging and development. jsMind provides five log levels:

Example Code

<div id="jsmind_container"></div>
<script>
    var options = {
        container: 'jsmind_container',
        editable: true,
        theme: 'primary',
        log_level: 'debug', // Set log level to debug
    };
    var mind = new jsMind(options);
</script>

Notes

copyright notice

Reproduction and deduction are prohibited.

The jsMind project is still being updated and the corresponding documentation is updated at the same time as the version is updated. In order to avoid confusion to the user, it is forbidden to reprint this document without written permission and to make changes of any kind to this document.