From 143d795c0b0f20697d231334cd67e4090c47c452 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 14 Dec 2020 13:21:28 +0100 Subject: [PATCH] Unify log message format for initialize() --- src/common/logging/vst3.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/logging/vst3.cpp b/src/common/logging/vst3.cpp index d77fcc49..e18f20a6 100644 --- a/src/common/logging/vst3.cpp +++ b/src/common/logging/vst3.cpp @@ -38,7 +38,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 + // TODO: Log the CID on verbosity level 2, and then also report all CIDs + // in the plugin factory message << "IPluginFactory::createComponent(cid = ..., _iid = " "IComponent::iid, " "&obj)"; @@ -59,9 +60,9 @@ void Vst3Logger::log_request(bool is_host_vst, message << "::initialize(context = "; if (request.host_application_context_args) { - message << "IHostApplication*"; + message << ""; } else { - message << "nullptr"; + message << ""; } message << ")"; });