Commit | Line | Data |
---|---|---|
4ddbd0b7 PP |
1 | tracelog(3) |
2 | =========== | |
3 | :object-type: macro | |
4 | ||
5 | ||
6 | NAME | |
7 | ---- | |
7fce6bd5 | 8 | tracelog - 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', ...) | |
18 | ||
e436e84d | 19 | Link with `-llttng-ust -llttng-ust-common`. |
4ddbd0b7 PP |
20 | |
21 | ||
22 | DESCRIPTION | |
23 | ----------- | |
7fce6bd5 PP |
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)). | |
4ddbd0b7 | 27 | |
7fce6bd5 PP |
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. | |
4ddbd0b7 PP |
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 | -------- | |
5b1163c6 PP |
41 | man:lttng_ust_tracelog(3), |
42 | man:lttng_ust_vtracelog(3) |