X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Flib%2Flogging.h;h=f4890ce34f0a07c3211b1e0445e14e7d743c8e8a;hp=2c55f14f19f0d754ca8f7c8e45eb487d1535a5fb;hb=ddccb6ced58597e8250410a3912b60c1b5a2c0fa;hpb=bb8e4ed213a9d11e60eb9056940bbf067f83d443 diff --git a/src/lib/logging.h b/src/lib/logging.h index 2c55f14f..f4890ce3 100644 --- a/src/lib/logging.h +++ b/src/lib/logging.h @@ -64,6 +64,11 @@ int bt_lib_log_level; * * Use one of the BT_LIB_LOG*() macros above instead of calling this * function directly. + * + * This function would normally be BT_HIDDEN, but it is used by the Python + * plugin provider, which is conceptually part of libbabeltrace2, but + * implemented as a separate shared object, for modularity. It is therefore + * exposed, but not part of the public ABI. */ void bt_lib_log(const char *func, const char *file, unsigned line, int lvl, const char *tag, const char *fmt, ...); @@ -93,6 +98,11 @@ void bt_lib_log(const char *func, const char *file, unsigned line, * * Use one of the BT_LIB_LOG*_APPEND_CAUSE() macros above instead of * calling this function directly. + * + * This function would normally be BT_HIDDEN, but it is used by the Python + * plugin provider, which is conceptually part of libbabeltrace2, but + * implemented as a separate shared object, for modularity. It is therefore + * exposed, but not part of the ABI. */ void bt_lib_maybe_log_and_append_cause(const char *func, const char *file, unsigned line, int lvl, const char *tag,