- bt_object_set_parent(port, &parent_component->base);
- BT_LOGD("Created port for component: "
- "comp-addr=%p, comp-name=\"%s\", port-type=%s, "
- "port-name=\"%s\", port-addr=%p",
- parent_component, bt_component_get_name(parent_component),
- bt_port_type_string(type), name, port);
+ bt_object_set_parent(&port->base, &parent_component->base);
+ BT_LIB_LOGD("Created port for component: "
+ "%![comp-]+c, %![port-]+p", parent_component, port);