Implement ctf.lttng-live component
[babeltrace.git] / plugins / ctf / print.h
index eb5b30c8ec3d566ebaefb23f0e3626d1324012a9..eab99d77104e08d6ec6ac33c78b9e55c51d35134 100644 (file)
@@ -32,7 +32,7 @@
        do {                                                            \
                if (PRINT_ERR_STREAM) {                                 \
                        fprintf(PRINT_ERR_STREAM,                       \
-                               "Error: " PRINT_PREFIX ": " fmt,        \
+                               "[error " PRINT_PREFIX "] " fmt,        \
                                ##__VA_ARGS__);                         \
                }                                                       \
        } while (0)
@@ -41,7 +41,7 @@
        do {                                                            \
                if (PRINT_ERR_STREAM) {                                 \
                        fprintf(PRINT_ERR_STREAM,                       \
-                               "Warning: " PRINT_PREFIX ": " fmt,      \
+                               "[warning " PRINT_PREFIX "] " fmt,      \
                                ##__VA_ARGS__);                         \
                }                                                       \
        } while (0)
@@ -50,7 +50,7 @@
        do {                                                            \
                if (PRINT_DBG_CHECK) {                                  \
                        fprintf(stderr,                                 \
-                               "Debug: " PRINT_PREFIX ": " fmt,        \
+                               "[debug " PRINT_PREFIX "] " fmt,        \
                                ##__VA_ARGS__);                         \
                }                                                       \
        } while (0)
This page took 0.023944 seconds and 4 git commands to generate.