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