7#ifndef BABELTRACE2_LOGGING_H
8#define BABELTRACE2_LOGGING_H
12#ifndef __BT_IN_BABELTRACE_H
13# error "Please include <babeltrace2/babeltrace.h> instead."
16#include <babeltrace2/logging-defs.h>
bt_logging_level bt_logging_get_minimal_level(void)
Returns the minimal (build-time) logging level of the library.
void bt_logging_set_global_level(bt_logging_level logging_level)
Sets the logging level of all the libbabeltrace2 modules to logging_level.
bt_logging_level
Logging level enumerators.
Definition logging.h:97
bt_logging_level bt_logging_get_global_level(void)
Returns the current logging level of all the libbabeltrace2 modules.
@ BT_LOGGING_LEVEL_WARNING
WARNING level.
Definition logging.h:143
@ BT_LOGGING_LEVEL_NONE
Logging is disabled.
Definition logging.h:175
@ BT_LOGGING_LEVEL_FATAL
FATAL level.
Definition logging.h:169
@ BT_LOGGING_LEVEL_ERROR
ERROR level.
Definition logging.h:158
@ BT_LOGGING_LEVEL_TRACE
TRACE level.
Definition logging.h:107
@ BT_LOGGING_LEVEL_DEBUG
DEBUG level.
Definition logging.h:119
@ BT_LOGGING_LEVEL_INFO
INFO level.
Definition logging.h:131