doc/man: document LTTng-UST 2.13
[lttng-ust.git] / doc / man / tracelog.3.txt
1 tracelog(3)
2 ===========
3 :object-type: macro
4
5
6 NAME
7 ----
8 tracelog, vtracelog - LTTng-UST printf(3)-like interface with a log level
9
10
11 SYNOPSIS
12 --------
13 [verse]
14 *#include <lttng/tracelog.h>*
15
16 [verse]
17 #define *tracelog*('level', 'fmt', ...)
18 #define *vtracelog*('level', 'fmt', 'ap')
19
20 Link with `-llttng-ust -llttng-ust-common`.
21
22
23 DESCRIPTION
24 -----------
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)).
28
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.
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 --------
43 man:lttng_ust_tracelog(3),
44 man:lttng_ust_vtracelog(3)
This page took 0.034239 seconds and 4 git commands to generate.