projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: add aliases for Babeltrace enumeration types
[babeltrace.git]
/
include
/
babeltrace
/
logging.h
diff --git
a/include/babeltrace/logging.h
b/include/babeltrace/logging.h
index 69efddcd728e50550f807f01a04bec2a032a8cfe..f137057741144040b3fafeba911671e36ec3342b 100644
(file)
--- a/
include/babeltrace/logging.h
+++ b/
include/babeltrace/logging.h
@@
-60,7
+60,7
@@
current global log level and the minimal log level are not executed.
/**
@brief Log levels.
*/
/**
@brief Log levels.
*/
-enum bt_logging_level {
+
typedef
enum bt_logging_level {
/// Additional, low-level debugging context information.
BT_LOGGING_LEVEL_VERBOSE = 1,
/// Additional, low-level debugging context information.
BT_LOGGING_LEVEL_VERBOSE = 1,
@@
-100,7
+100,7
@@
enum bt_logging_level {
/// Logging is disabled.
BT_LOGGING_LEVEL_NONE = 0xff,
/// Logging is disabled.
BT_LOGGING_LEVEL_NONE = 0xff,
-};
+}
bt_logging_level
;
/**
@brief Returns the minimal log level of the Babeltrace library.
/**
@brief Returns the minimal log level of the Babeltrace library.
@@
-114,7
+114,7
@@
global log level with bt_logging_set_global_level() below this level.
@sa bt_logging_get_global_level(): Returns the current global log level.
*/
@sa bt_logging_get_global_level(): Returns the current global log level.
*/
-extern
enum
bt_logging_level bt_logging_get_minimal_level(void);
+extern bt_logging_level bt_logging_get_minimal_level(void);
/**
@brief Returns the current global log level of the Babeltrace library.
/**
@brief Returns the current global log level of the Babeltrace library.
@@
-124,7
+124,7
@@
extern enum bt_logging_level bt_logging_get_minimal_level(void);
@sa bt_logging_set_global_level(): Sets the current global log level.
@sa bt_logging_get_minimal_level(): Returns the minimal log level.
*/
@sa bt_logging_set_global_level(): Sets the current global log level.
@sa bt_logging_get_minimal_level(): Returns the minimal log level.
*/
-extern
enum
bt_logging_level bt_logging_get_global_level(void);
+extern bt_logging_level bt_logging_get_global_level(void);
/**
@brief Sets the current global log level of the Babeltrace library
/**
@brief Sets the current global log level of the Babeltrace library
@@
-138,7
+138,7
@@
log level cannot be executed.
@sa bt_logging_get_global_level(): Returns the global log level.
*/
@sa bt_logging_get_global_level(): Returns the global log level.
*/
-extern void bt_logging_set_global_level(
enum
bt_logging_level log_level);
+extern void bt_logging_set_global_level(bt_logging_level log_level);
/** @} */
/** @} */
This page took
0.023249 seconds
and
4
git commands to generate.