StaticgroupIf grouping of the log messages is allowed. Recommended for the info verbosity level.
StaticinfoThe most verbose log level, prints out a lot of small details. Disabled by default.
StaticlogThe log functions that get called with the data.
By default, they use console object.
This may be overridden to capture the spessasynth log data.
StaticwarnThe default log level, prints out warnings for unexpected and erroneous behavior.
StaticgroupEquivalent to console.group when groupEnabled.
StaticgroupEquivalent to console.groupCollapsed when groupEnabled.
StaticgroupEquivalent to console.groupEnd when groupEnabled.
StaticinfoEquivalent to console.info when infoEnabled. Disabled by default
StaticsetEnables or disables logging at various levels. All the input variables are booleans corresponding to the things SpessaSynth logs.
enables info: all general info such as parsing sound banks, MIDI files, RPN changes, etc.
enables warning: all messages unrecognized by the synthesizer, other warnings.
enables groups: the groups for parsing the sound banks and MIDI files.
StaticwarnEquivalent to console.warn when warnEnabled.
SpessaSynth can print out additional info to the console or print nothing at all.
This class manages the log level of
spessasynth_core.