Logging: check `BT_DEBUG_MODE` instead of `NDEBUG`
[babeltrace.git] / src / lib / logging.c
index 3c0178c227138916d29a6d0648c4fe642d8cc885..30ab704abd774b52a4b965c684e4c62c9f592870 100644 (file)
 # define DEFAULT_LOG_LEVEL     BT_LOG_FATAL
 #else
 /*
- * In non-developer mode, use NONE by default: we don't to print logging
+ * In non-developer mode, use NONE by default: we don't print logging
  * statements for any executable which links with the library. The
- * executable should call bt_logging_set_global_level() or the
- * executable's user should set the BABELTRACE_LOGGING_GLOBAL_LEVEL
- * environment variable.
+ * executable must call bt_logging_set_global_level() or the
+ * executable's user must set the BABELTRACE_LOGGING_GLOBAL_LEVEL
+ * environment variable to enable logging.
  */
 # define DEFAULT_LOG_LEVEL     BT_LOG_NONE
 #endif /* BT_DEV_MODE */
This page took 0.024553 seconds and 4 git commands to generate.