sink.text.pretty: print inactivity msg handling with BT_LOGD_STR
[babeltrace.git] / plugins / text / pretty / pretty.c
index 63a6c879ac3b2b19fec94c8e34c7723999a9e048..6b6e3cd55f229f3af781d6f5f6c00a3308292cfa 100644 (file)
@@ -23,6 +23,9 @@
  * SOFTWARE.
  */
 
+#define BT_LOG_TAG "PLUGIN-TEXT-PRETTY-SINK"
+#include "logging.h"
+
 #include <babeltrace/babeltrace.h>
 #include <babeltrace/compiler-internal.h>
 #include <babeltrace/common-internal.h>
@@ -139,7 +142,7 @@ bt_self_component_status handle_message(
                }
                break;
        case BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY:
-               fprintf(stderr, "Message iterator inactivity message\n");
+               BT_LOGD_STR("Message iterator inactivity message.");
                break;
        case BT_MESSAGE_TYPE_DISCARDED_EVENTS:
        case BT_MESSAGE_TYPE_DISCARDED_PACKETS:
This page took 0.024254 seconds and 4 git commands to generate.