dec7263f95ef098c42b3313d0cc5fb7146188c68
[lttng-docs.git] / contents / reference / lttng-ust / liblttng-ust / liblttng-ust-tracepoint-loglevel.md
1 ---
2 id: liblttng-ust-tracepoint-loglevel
3 ---
4
5 The following table shows the available log level values for the
6 `TRACEPOINT_LOGLEVEL()` macro:
7
8 <div class="table">
9 <table class="func-desc">
10 <thead>
11 <tr>
12 <th>Enum label</th>
13 <th>Enum value</th>
14 <th>Description</th>
15 </tr>
16 </thead>
17 <tbody>
18 <tr>
19 <td><code class="no-bg">TRACE_EMERG</code></td>
20 <td>0</td>
21 <td>System is unusable</td>
22 </tr>
23 <tr>
24 <td><code class="no-bg">TRACE_ALERT</code></td>
25 <td>1</td>
26 <td>Action must be taken immediately</td>
27 </tr>
28 <tr>
29 <td><code class="no-bg">TRACE_CRIT</code></td>
30 <td>2</td>
31 <td>Critical conditions</td>
32 </tr>
33 <tr>
34 <td><code class="no-bg">TRACE_ERR</code></td>
35 <td>3</td>
36 <td>Error conditions</td>
37 </tr>
38 <tr>
39 <td><code class="no-bg">TRACE_WARNING</code></td>
40 <td>4</td>
41 <td>Warning conditions</td>
42 </tr>
43 <tr>
44 <td><code class="no-bg">TRACE_NOTICE</code></td>
45 <td>5</td>
46 <td>Normal, but significant, condition</td>
47 </tr>
48 <tr>
49 <td><code class="no-bg">TRACE_INFO</code></td>
50 <td>6</td>
51 <td>Informational message</td>
52 </tr>
53 <tr>
54 <td><code class="no-bg">TRACE_DEBUG_SYSTEM</code></td>
55 <td>7</td>
56 <td>Debug information with system-level scope (set of programs)</td>
57 </tr>
58 <tr>
59 <td><code class="no-bg">TRACE_DEBUG_PROGRAM</code></td>
60 <td>8</td>
61 <td>Debug information with program-level scope (set of processes)</td>
62 </tr>
63 <tr>
64 <td><code class="no-bg">TRACE_DEBUG_PROCESS</code></td>
65 <td>9</td>
66 <td>Debug information with process-level scope (set of modules)</td>
67 </tr>
68 <tr>
69 <td><code class="no-bg">TRACE_DEBUG_MODULE</code></td>
70 <td>10</td>
71 <td>Debug information with module (executable/library) scope (set of units)</td>
72 </tr>
73 <tr>
74 <td><code class="no-bg">TRACE_DEBUG_UNIT</code></td>
75 <td>11</td>
76 <td>Debug information with compilation unit scope (set of functions)</td>
77 </tr>
78 <tr>
79 <td><code class="no-bg">TRACE_DEBUG_FUNCTION</code></td>
80 <td>12</td>
81 <td>Debug information with function-level scope</td>
82 </tr>
83 <tr>
84 <td><code class="no-bg">TRACE_DEBUG_LINE</code></td>
85 <td>13</td>
86 <td>Debug information with line-level scope (<code>TRACEPOINT_EVENT</code> default)</td>
87 </tr>
88 <tr>
89 <td><code class="no-bg">TRACE_DEBUG</code></td>
90 <td>14</td>
91 <td>Debug-level message</td>
92 </tr>
93 </tbody>
94 </table>
95 </div>
96
97 Higher log level numbers imply the most verbosity (expect higher tracing
98 throughput). Log levels 0 through 6 and log level 14 match
99 <a href="http://man7.org/linux/man-pages/man3/syslog.3.html" class="ext">syslog</a>
100 level semantics. Log levels 7 through 13 offer more fine-grained
101 selection of debug information.
This page took 0.031262 seconds and 3 git commands to generate.