This helps the case of TUs including headers that do logging, but don't
do logging themselves.
Change-Id: Ia1b51b4d30f120c68f96bcbd2db90adfc8ee98c9
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10811
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
*/
#if defined(BT_LOG_OUTPUT_LEVEL)
#define _BT_LOG_OUTPUT_LEVEL BT_LOG_OUTPUT_LEVEL
-#else
- /*
- * We disallow this to make sure Babeltrace modules always
- * have their own local log level.
- */
- #error No log level symbol specified: please define BT_LOG_OUTPUT_LEVEL before including this header.
#endif
/* "Tag" is a compound string that could be associated with a log message. It