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