X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Flib-logging-internal.h;h=ae7fb9e6b31c171079e12414f76705e235269504;hb=09fc237ba2de4aa08993dc3131cea86f3c7e1c57;hp=74d1cc0952d84dac6940459fc6e4df80bf6a8232;hpb=ecbb78c04e4229f7fed3133a3d878c135d160db3;p=babeltrace.git diff --git a/include/babeltrace/lib-logging-internal.h b/include/babeltrace/lib-logging-internal.h index 74d1cc09..ae7fb9e6 100644 --- a/include/babeltrace/lib-logging-internal.h +++ b/include/babeltrace/lib-logging-internal.h @@ -80,7 +80,7 @@ int bt_lib_log_level; * * `F`: * Trace IR field class. The parameter type is - * `structbt_field_class *`. + * `struct bt_field_class *`. * * `f`: * Trace IR field. The parameter type is `struct bt_field *`. @@ -128,8 +128,8 @@ int bt_lib_log_level; * `struct bt_message_iterator *`. * * `C`: - * Component class. The parameter type is `struct - * bt_component_class *`. + * Component class. The parameter type is + * `struct bt_component_class *`. * * `c`: * Component. The parameter type is `struct bt_component *`. @@ -161,7 +161,7 @@ int bt_lib_log_level; * * The string `, ` is printed between individual fields, but not after * the last one. Therefore you must put this separator in the format - * string between two Babeltrace objects, e.g.: + * string between two conversion specifiers, e.g.: * * BT_LIB_LOGW("Message: count=%u, %!E, %!+K", count, event_class, * clock_class); @@ -186,7 +186,7 @@ int bt_lib_log_level; * Use one of the BT_LIB_LOGF*() macros above instead of calling this * function directly. */ -BT_HIDDEN + void bt_lib_log(const char *func, const char *file, unsigned line, int lvl, const char *tag, const char *fmt, ...);