Add bt_log_get_level_from_env() and use it
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 27 May 2017 06:55:04 +0000 (02:55 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Jun 2017 20:58:12 +0000 (16:58 -0400)
commit373c938b7b096e1bcb09623c56b7c82b3b7a6744
treecc5317c9133821a24d71a677fd3c496a21df1236
parent4266f2ad09ff293add8822415c09b4be1b969e8c
Add bt_log_get_level_from_env() and use it

This is a common function for all the project's modules to use the same
names (`VERBOSE`, `WARN`, `ERROR`, etc.) to set the various log levels
based on the value of a specific environment variable.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
cli/babeltrace.c
include/babeltrace/logging-internal.h
lib/logging.c
plugins/ctf/lttng-live/lttng-live.c
This page took 0.024507 seconds and 4 git commands to generate.