From 16b949bccfb475a0a532d7e7561585c9f74895ba Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 13 Dec 2020 21:53:08 +0100 Subject: [PATCH] Log all function calls kwargs-style --- src/common/logging/vst3.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common/logging/vst3.cpp b/src/common/logging/vst3.cpp index cc43a3f3..b2035a32 100644 --- a/src/common/logging/vst3.cpp +++ b/src/common/logging/vst3.cpp @@ -39,7 +39,8 @@ void Vst3Logger::log_unknown_interface( void Vst3Logger::log_request(bool is_host_vst, const YaComponent::Construct&) { log_request_base(is_host_vst, [](auto& message) { // TODO: Log the cid in some readable way, if possible - message << "IPluginFactory::createComponent(cid, IComponent::iid, " + message << "IPluginFactory::createComponent(cid = ..., _iid = " + "IComponent::iid, " "&obj)"; }); } @@ -55,7 +56,8 @@ void Vst3Logger::log_request(bool is_host_vst, void Vst3Logger::log_request(bool is_host_vst, const YaComponent::Initialize& request) { log_request_base(is_host_vst, [&](auto& message) { - message << "::initialize("; + message << "::initialize(context = "; if (request.host_application_context_args) { message << "IHostApplication*"; } else {