X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=src%2Fplugins%2Futils%2Fmuxer%2Fcomp.cpp;h=fb2a111936a1213594de541447862cdbb4de85e0;hb=HEAD;hp=ea2df4d03136316bd8df66ee8e034ab5547d26f8;hpb=e66071f3c17583e8964d2f09845858720d9a5478;p=babeltrace.git diff --git a/src/plugins/utils/muxer/comp.cpp b/src/plugins/utils/muxer/comp.cpp index ea2df4d0..fb2a1119 100644 --- a/src/plugins/utils/muxer/comp.cpp +++ b/src/plugins/utils/muxer/comp.cpp @@ -13,7 +13,7 @@ namespace bt2mux { Comp::Comp(const bt2::SelfFilterComponent selfComp, const bt2::ConstMapValue params, void *) : bt2::UserFilterComponent {selfComp, "PLUGIN/FLT.UTILS.MUXER"} { - BT_CPPLOGI_STR("Initializing component."); + BT_CPPLOGI("Initializing component."); /* No parameters expected */ if (!params.isEmpty()) { @@ -28,10 +28,10 @@ Comp::Comp(const bt2::SelfFilterComponent selfComp, const bt2::ConstMapValue par try { this->_addOutputPort("out"); } catch (const bt2c::Error&) { - BT_CPPLOGE_STR_APPEND_CAUSE_AND_RETHROW("Failed to add a single output port."); + BT_CPPLOGE_APPEND_CAUSE_AND_RETHROW("Failed to add a single output port."); } - BT_CPPLOGI_STR("Initialized component."); + BT_CPPLOGI("Initialized component."); } void Comp::_inputPortConnected(const bt2::SelfComponentInputPort, const bt2::ConstOutputPort) @@ -44,7 +44,7 @@ void Comp::_addAvailInputPort() try { this->_addInputPort(fmt::format("in{}", this->_inputPorts().length())); } catch (const bt2c::Error&) { - BT_CPPLOGE_STR_APPEND_CAUSE_AND_RETHROW("Failed to add an available input port."); + BT_CPPLOGE_APPEND_CAUSE_AND_RETHROW("Failed to add an available input port."); } BT_CPPLOGI("Added one available input port: name={}", this->_inputPorts().back().name());