From 2e57631d39553db10f1efc0c96b439ae8ec6fb70 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 12 Jan 2021 17:00:58 +0100 Subject: [PATCH] Add logging for IInfoListener --- src/common/logging/vst3.cpp | 10 ++++++++++ src/common/logging/vst3.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/src/common/logging/vst3.cpp b/src/common/logging/vst3.cpp index fd00e086..cac9a9d9 100644 --- a/src/common/logging/vst3.cpp +++ b/src/common/logging/vst3.cpp @@ -365,6 +365,16 @@ bool Vst3Logger::log_request( }); } +bool Vst3Logger::log_request( + bool is_host_vst, + const YaInfoListener::SetChannelContextInfos& request) { + return log_request_base(is_host_vst, [&](auto& message) { + message << request.instance_id + << ": IInfoListener::setChannelContextInfos(list = " + ")"; + }); +} + bool Vst3Logger::log_request( bool is_host_vst, const YaKeyswitchController::GetKeyswitchCount& request) { diff --git a/src/common/logging/vst3.h b/src/common/logging/vst3.h index 2667ce4a..54bf818e 100644 --- a/src/common/logging/vst3.h +++ b/src/common/logging/vst3.h @@ -104,6 +104,8 @@ class Vst3Logger { const YaEditControllerHostEditing::BeginEditFromHost&); bool log_request(bool is_host_vst, const YaEditControllerHostEditing::EndEditFromHost&); + bool log_request(bool is_host_vst, + const YaInfoListener::SetChannelContextInfos&); bool log_request(bool is_host_vst, const YaKeyswitchController::GetKeyswitchCount&); bool log_request(bool is_host_vst,