Logging: standardize logging tags
[babeltrace.git] / src / plugins / text / pretty / pretty.c
index 9db8770e8866c47e418c7e249e6aaa36b88e2bca..95abda08cc9229b27cd715aa98639cd46cb17bae 100644 (file)
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "PLUGIN-TEXT-PRETTY-SINK"
+#define BT_LOG_TAG "PLUGIN/SINK.TEXT.PRETTY"
 #include "logging.h"
 
 #include <babeltrace2/babeltrace.h>
 #include "compat/compiler.h"
 #include "common/common.h"
-#include "plugins/plugins-common.h"
 #include <stdio.h>
 #include <stdbool.h>
 #include <glib.h>
@@ -141,9 +140,6 @@ bt_self_component_status handle_message(
                        ret = BT_SELF_COMPONENT_STATUS_ERROR;
                }
                break;
-       case BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY:
-               BT_LOGD_STR("Message iterator inactivity message.");
-               break;
        case BT_MESSAGE_TYPE_DISCARDED_EVENTS:
        case BT_MESSAGE_TYPE_DISCARDED_PACKETS:
                if (pretty_print_discarded_items(pretty, message)) {
@@ -645,7 +641,7 @@ BT_HIDDEN
 bt_self_component_status pretty_init(
                bt_self_component_sink *comp,
                const bt_value *params,
-               UNUSED_VAR void *init_method_data)
+               __attribute__((unused)) void *init_method_data)
 {
        bt_self_component_status ret;
        struct pretty_component *pretty = create_pretty();
This page took 0.025342 seconds and 4 git commands to generate.