mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Only print query interface messages on log level 2
This commit is contained in:
@@ -59,6 +59,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
multiple instances of a plugin.
|
||||
- The deserialization part of yabridge's communication is now slightly faster by
|
||||
skipping some unnecessary checks.
|
||||
- Log messages about VST3 query interfaces are now only printed when
|
||||
`YABRIDGE_DEBUG_LEVEL` is set to 2 or higher, up from 1.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ void Vst3Logger::log_query_interface(
|
||||
const std::string& where,
|
||||
tresult result,
|
||||
const std::optional<Steinberg::FUID>& uid) {
|
||||
if (BOOST_UNLIKELY(logger.verbosity >= Logger::Verbosity::most_events)) {
|
||||
if (BOOST_UNLIKELY(logger.verbosity >= Logger::Verbosity::all_events)) {
|
||||
std::ostringstream message;
|
||||
std::string uid_string = uid ? format_uid(*uid) : "<unknown_pointer>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user