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