Open vimpostor opened 2 years ago
Thanks for the report, I'll look into it!
@paulfd what do you think about https://github.com/gabime/spdlog?
Last I checked it wasn't real-time safe (that said, writing to stdout isn't either). I had in mind at some point to find some way to log important things in RT.
I found gabime/spdlog#1873, but I'm not sure if it's relevant for our use case
Right now, if I use sfizz's C++ API and load a sfz file with
loadSfzFile()
, then sfizz may print out lot of stuff on stdout, e.g.:It would be great if there was an option to turn off this logging, as I am writing a CLI application and this verbose output is really distracting (sfizz shouldn't print something to stdout).
This option should take precendence over the compile time options defined in https://github.com/sfztools/sfizz/blob/acd866fd3d247d2fc659593cac96e88e801c29e2/src/sfizz/utility/Debug.h#L68