logging: strip down and clean `log.h` and `log.c`
[babeltrace.git] / src / ctf-writer / assert-pre.h
index 3d41037c6a6640a41a3b229c1516658726d9d318..38e3ac2c98644e96d875ed0efab7b728cf97eb53 100644 (file)
@@ -58,7 +58,7 @@
  */
 # define BT_CTF_ASSERT_PRE_MSG(_fmt, ...)                              \
        do {                                                            \
-               _bt_log_write_d(_BT_LOG_SRCLOC_FUNCTION, __FILE__,      \
+               bt_log_write_printf(__FILE__, __func__,                 \
                        __LINE__, BT_LOG_FATAL, BT_LOG_TAG, (_fmt),     \
                        ##__VA_ARGS__);                                 \
        } while (0)
This page took 0.023785 seconds and 4 git commands to generate.