* SOFTWARE.
*/
-#define BT_LOG_TAG "LIB-LOGGING"
+/*
+ * This is just to satisfy the preprocessor check in "lib/logging.h":
+ * this file does not log anything.
+ */
+#define BT_LOG_TAG ""
#include <stdarg.h>
#include <stdio.h>
#include "graph/message/stream-activity.h"
#include "graph/message/stream.h"
#include "graph/port.h"
-#include "lib-logging.h"
+#include "logging.h"
#include "plugin/plugin.h"
#include "plugin/plugin-so.h"
#include "trace-ir/clock-class.h"
{
char tmp_prefix[TMP_PREFIX_LEN];
- BUF_APPEND(", %sname=\"%s\"",
- PRFIELD_GSTRING(component->name));
+ BUF_APPEND(", %sname=\"%s\", %slog-level=%s",
+ PRFIELD_GSTRING(component->name),
+ PRFIELD(bt_common_logging_level_string(component->log_level)));
if (component->class) {
SET_TMP_PREFIX("class-");