* <babeltrace/assert-pre-internal.h>, you also need to use logging
* explicitly.
*/
+
#ifndef BABELTRACE_LIB_LOGGING_INTERNAL_H
# error Include <babeltrace/lib-logging-internal.h> before this header.
#endif
# define BT_ASSERT_PRE(_cond, _fmt, ...) \
do { \
if (!(_cond)) { \
- BT_LOGF_STR("Library precondition not satisfied:"); \
+ BT_LOGF_STR("Library precondition not satisfied; error is:"); \
BT_LIB_LOGF((_fmt), ##__VA_ARGS__); \
BT_LOGF_STR("Aborting..."); \
abort(); \