-BT_HIDDEN
-bt_component_class_query_method_status metadata_info_query(
- bt_self_component_class_source *comp_class,
- const bt_value *params,
- bt_logging_level log_level, const bt_value **result);
-
-BT_HIDDEN
-bt_component_class_query_method_status trace_infos_query(
- bt_self_component_class_source *comp_class,
- const bt_value *params, bt_logging_level log_level,
- const bt_value **result);
-
-BT_HIDDEN
-bt_component_class_query_method_status support_info_query(
- bt_self_component_class_source *comp_class,
- const bt_value *params, bt_logging_level log_level,
- const bt_value **result);
+namespace bt2c {
+
+class Logger;
+
+} /* namespace bt2c */
+
+bt_component_class_query_method_status
+metadata_info_query(const bt_value *params, const bt2c::Logger& logger, const bt_value **result);
+
+bt_component_class_query_method_status
+trace_infos_query(const bt_value *params, const bt2c::Logger& logger, const bt_value **result);
+
+bt_component_class_query_method_status
+support_info_query(const bt_value *params, const bt2c::Logger& logger, const bt_value **result);