1#ifndef BABELTRACE2_LOGGING_H
2#define BABELTRACE2_LOGGING_H
26#ifndef __BT_IN_BABELTRACE_H
27# error "Please include <babeltrace2/babeltrace.h> instead."
30#include <babeltrace2/logging-defs.h>
bt_logging_level bt_logging_get_minimal_level(void)
Returns the library's minimal (build-time) logging level.
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:110
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:156
@ BT_LOGGING_LEVEL_NONE
Logging is disabled.
Definition logging.h:188
@ BT_LOGGING_LEVEL_FATAL
FATAL level.
Definition logging.h:182
@ BT_LOGGING_LEVEL_ERROR
ERROR level.
Definition logging.h:171
@ BT_LOGGING_LEVEL_TRACE
TRACE level.
Definition logging.h:120
@ BT_LOGGING_LEVEL_DEBUG
DEBUG level.
Definition logging.h:132
@ BT_LOGGING_LEVEL_INFO
INFO level.
Definition logging.h:144