X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Flib-logging-internal.h;h=ae7fb9e6b31c171079e12414f76705e235269504;hb=7e69c04f557e46fb50e5a888a3bc3451afbd3b8e;hp=5c3fad42a88e585f4ccbd19d497f663ade88ca27;hpb=d6e69534ef08a2dd8bff9eb5af1eab63736b3d31;p=babeltrace.git diff --git a/include/babeltrace/lib-logging-internal.h b/include/babeltrace/lib-logging-internal.h index 5c3fad42..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 *`. @@ -115,7 +115,7 @@ int bt_lib_log_level; * Clock class. The parameter type is `struct bt_clock_class *`. * * `k`: - * Clock value. The parameter type is `struct bt_clock_value *`. + * Clock snapshot. The parameter type is `struct bt_clock_snapshot *`. * * `v`: * Value. The parameter type is `struct bt_value *`. @@ -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, ...);