2 * SPDX-License-Identifier: MIT
4 * Copyright 2019 Philippe Proulx <pproulx@efficios.com>
7 #ifndef BABELTRACE_CLI_BABELTRACE2_LOG_LEVEL_H
8 #define BABELTRACE_CLI_BABELTRACE2_LOG_LEVEL_H
10 #include <babeltrace2/babeltrace.h>
12 #define ENV_BABELTRACE_CLI_LOG_LEVEL "BABELTRACE_CLI_LOG_LEVEL"
15 * Return the minimal (most verbose) log level between `a` and `b`.
17 * If one of the parameter has the value -1, it is ignored in the comparison
18 * and the other value is returned. If both parameters are -1, -1 is returned.
21 int logging_level_min(int a
, int b
)
32 void set_auto_log_levels(int *logging_level
);
34 #endif /* BABELTRACE_CLI_BABELTRACE2_LOG_LEVEL_H */
This page took 0.040016 seconds and 4 git commands to generate.