mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Unify log message format for initialize()
This commit is contained in:
@@ -38,7 +38,8 @@ void Vst3Logger::log_unknown_interface(
|
|||||||
|
|
||||||
void Vst3Logger::log_request(bool is_host_vst, const YaComponent::Construct&) {
|
void Vst3Logger::log_request(bool is_host_vst, const YaComponent::Construct&) {
|
||||||
log_request_base(is_host_vst, [](auto& message) {
|
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 = "
|
message << "IPluginFactory::createComponent(cid = ..., _iid = "
|
||||||
"IComponent::iid, "
|
"IComponent::iid, "
|
||||||
"&obj)";
|
"&obj)";
|
||||||
@@ -59,9 +60,9 @@ void Vst3Logger::log_request(bool is_host_vst,
|
|||||||
message << "<IComponent* #" << request.instance_id
|
message << "<IComponent* #" << request.instance_id
|
||||||
<< ">::initialize(context = ";
|
<< ">::initialize(context = ";
|
||||||
if (request.host_application_context_args) {
|
if (request.host_application_context_args) {
|
||||||
message << "IHostApplication*";
|
message << "<IHostApplication*>";
|
||||||
} else {
|
} else {
|
||||||
message << "nullptr";
|
message << "<nullptr>";
|
||||||
}
|
}
|
||||||
message << ")";
|
message << ")";
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user