cli: Rename `logging.c` to `logging.cpp` to force C++ linking
[babeltrace.git] / src / cli / logging.cpp
diff --git a/src/cli/logging.cpp b/src/cli/logging.cpp
new file mode 100644 (file)
index 0000000..329cb70
--- /dev/null
@@ -0,0 +1,10 @@
+/*
+ * SPDX-License-Identifier: MIT
+ *
+ * Copyright (c) 2017 Philippe Proulx <pproulx@efficios.com>
+ */
+
+#define BT_LOG_OUTPUT_LEVEL bt_cli_log_level
+#include "logging/log.h"
+
+BT_LOG_INIT_LOG_LEVEL(bt_cli_log_level, "BABELTRACE_CLI_LOG_LEVEL");
This page took 0.027281 seconds and 4 git commands to generate.