| 1 | tracelog(3) |
| 2 | =========== |
| 3 | :object-type: macro |
| 4 | |
| 5 | |
| 6 | NAME |
| 7 | ---- |
| 8 | tracelog - LTTng-UST printf(3)-like interface with a log level |
| 9 | |
| 10 | |
| 11 | SYNOPSIS |
| 12 | -------- |
| 13 | [verse] |
| 14 | *#include <lttng/tracelog.h>* |
| 15 | |
| 16 | [verse] |
| 17 | #define *tracelog*('level', 'fmt', ...) |
| 18 | |
| 19 | Link with `-llttng-ust -llttng-ust-common`. |
| 20 | |
| 21 | |
| 22 | DESCRIPTION |
| 23 | ----------- |
| 24 | The `tracelog()` macro is part of version{nbsp}0 of the LTTng-UST API |
| 25 | (see the ``Compatibility with previous APIs'' section of |
| 26 | man:lttng-ust(3)). |
| 27 | |
| 28 | Prefer using man:lttng_ust_tracelog(3) which is part of version{nbsp}1 |
| 29 | of the API and has the `lttng_ust_` namespace. |
| 30 | |
| 31 | |
| 32 | include::common-footer.txt[] |
| 33 | |
| 34 | include::common-copyrights.txt[] |
| 35 | |
| 36 | include::common-authors.txt[] |
| 37 | |
| 38 | |
| 39 | SEE ALSO |
| 40 | -------- |
| 41 | man:lttng_ust_tracelog(3), |
| 42 | man:lttng_ust_vtracelog(3) |