Logging: define `BT_LOG*_SUPPORTED` when logging is supported
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 15 Jun 2019 16:58:38 +0000 (12:58 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 20 Jun 2019 18:01:16 +0000 (14:01 -0400)
commit7151fb67130ebbdc531424a4b87461e781da001f
tree8409b4f82bec817e02b63384ba92dc6e5efc6f77
parent5b6473ec4965a99fe8856197419045d05ec48d54
Logging: define `BT_LOG*_SUPPORTED` when logging is supported

Rely on those new `BT_LOG_SUPPORTED`, `BT_LIB_LOG_SUPPORTED`,
`BT_COMP_LOG_SUPPORTED`, definitions instead of the header include
guards to know whether or not logging is supported at a given point.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I4d076e30b528882d036f7cfc367b5dbb39401dda
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1472
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
src/ctf-writer/assert-pre.h
src/lib/assert-pre.h
src/lib/lib-logging.h
src/lib/plugin/plugin.h
src/lib/trace-ir/event.h
src/logging/log.h
src/plugins/comp-logging.h
This page took 0.026279 seconds and 4 git commands to generate.