From: Philippe Proulx Date: Wed, 14 Jun 2017 20:30:31 +0000 (-0400) Subject: Remove legacy printf_verbose()/printf_debug() and others X-Git-Tag: v2.0.0-pre2~97 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=f4f9e43bbbee319f55c55c86c931205ac8b573e7;hp=f4f9e43bbbee319f55c55c86c931205ac8b573e7;p=babeltrace.git Remove legacy printf_verbose()/printf_debug() and others This patch removes all the legacy logging macros found in babeltrace-internal.h. It also removes the babeltrace_verbose and babeltrace_debug symbols. To remain as backward compatible as possible, the CLI checks the BABELTRACE_VERBOSE and BABELTRACE_DEBUG environment variables and overrides the default log level (WARN, or the one set with --log-level) with VERBOSE if BABELTRACE_DEBUG is 1 and INFO if only BABELTRACE_VERBOSE is 1. This default log level applies to all the known loggers, except the ones that have their log level explicitly set with a dedicated environment variable. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau ---