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