Print CIDs in IPluginBase::initialize()

This commit is contained in:
Robbert van der Helm
2020-12-17 14:28:02 +01:00
parent 78f9203378
commit 1f5bd43fe8
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -34,14 +34,14 @@ void Vst3Logger::log_unknown_interface(
}
void Vst3Logger::log_request(bool is_host_vst,
const Vst3PluginProxy::Construct&) {
const Vst3PluginProxy::Construct& args) {
log_request_base(is_host_vst, [&](auto& message) {
// TODO: Log the CID on verbosity level 2, and then also report all CIDs
// in the plugin factory
// TODO: When adding the enum class for instantiating different types,
// make sure to reflect those in the constructor and destructor
// logging
message << "IPluginFactory::createComponent(cid = ..., _iid = "
message << "IPluginFactory::createComponent(cid = "
<< format_uid(Steinberg::FUID::fromTUID(args.cid.data()))
<< ", _iid = "
"IComponent::iid, "
"&obj)";
});