projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: remove unused internal component destroy functions
[babeltrace.git]
/
src
/
lib
/
logging.c
diff --git
a/src/lib/logging.c
b/src/lib/logging.c
index 5502610fac09c31221e46499f92967cfa1335c3a..05b43ab0f570baa87ed09f0b06bf6958e2c53cf8 100644
(file)
--- a/
src/lib/logging.c
+++ b/
src/lib/logging.c
@@
-22,18
+22,22
@@
* `LIBBABELTRACE2_INIT_LOG_LEVEL` environment variable to enable
* logging.
*/
* `LIBBABELTRACE2_INIT_LOG_LEVEL` environment variable to enable
* logging.
*/
+BT_EXPORT
int bt_lib_log_level = BT_LOG_NONE;
int bt_lib_log_level = BT_LOG_NONE;
+BT_EXPORT
enum bt_logging_level bt_logging_get_minimal_level(void)
{
return BT_MINIMAL_LOG_LEVEL;
}
enum bt_logging_level bt_logging_get_minimal_level(void)
{
return BT_MINIMAL_LOG_LEVEL;
}
+BT_EXPORT
enum bt_logging_level bt_logging_get_global_level(void)
{
return bt_lib_log_level;
}
enum bt_logging_level bt_logging_get_global_level(void)
{
return bt_lib_log_level;
}
+BT_EXPORT
void bt_logging_set_global_level(enum bt_logging_level log_level)
{
bt_lib_log_level = log_level;
void bt_logging_set_global_level(enum bt_logging_level log_level)
{
bt_lib_log_level = log_level;
This page took
0.023289 seconds
and
4
git commands to generate.