| 1 | // SPDX-FileCopyrightText: 2016 Philippe Proulx <pproulx@efficios.com> |
| 2 | // SPDX-License-Identifier: CC-BY-4.0 |
| 3 | // |
| 4 | tracelog(3) |
| 5 | =========== |
| 6 | :object-type: macro |
| 7 | |
| 8 | |
| 9 | NAME |
| 10 | ---- |
| 11 | tracelog - LTTng-UST printf(3)-like interface with a log level |
| 12 | |
| 13 | |
| 14 | SYNOPSIS |
| 15 | -------- |
| 16 | [verse] |
| 17 | *#include <lttng/tracelog.h>* |
| 18 | |
| 19 | [verse] |
| 20 | #define *tracelog*('level', 'fmt', ...) |
| 21 | |
| 22 | Link with `-llttng-ust -llttng-ust-common`. |
| 23 | |
| 24 | |
| 25 | DESCRIPTION |
| 26 | ----------- |
| 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)). |
| 30 | |
| 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. |
| 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 | -------- |
| 44 | man:lttng_ust_tracelog(3), |
| 45 | man:lttng_ust_vtracelog(3) |