lib: rename include dir to babeltrace2
[babeltrace.git] / doc / man / babeltrace-sink.text.pretty.7.txt
CommitLineData
0659f3af
PP
1babeltrace-sink.text.pretty(7)
2==============================
3:manpagetype: component class
4:revdate: 5 October 2017
5
6
7NAME
8----
9babeltrace-sink.text.pretty - Babeltrace's pretty-printing sink
10component class
11
12
13DESCRIPTION
14-----------
15The Babeltrace compcls:sink.text.pretty component class, provided by the
16man:babeltrace-plugin-text(7) plugin, once instantiated, pretty-prints
17the events it receives from its input port to the console or to a file.
18
19By default, a compcls:sink.text.pretty component pretty-prints to
20the standard output. You can use the param:path parameter for the
21component to write to a file instead.
22
23The component also prints warnings on the standard error stream when it
24receives a discarded packets or discarded events notification.
25
26If you don't use the param:path parameter and the application's
27standard output is connected to a color-capable terminal, the component
28emits terminal color codes to enhance the text output for human
29consumption. You can use the param:color parameter to force the color
30support or to disable it.
31
32
33INITIALIZATION PARAMETERS
34-------------------------
35The following parameters are optional.
36
37param:clock-cycles=`yes` (boolean)::
38 Print event times in clock cycles instead of hours, minutes,
39 seconds, and nanoseconds.
40
41param:clock-date=`yes` (boolean)::
42 Print event times _and_ dates.
43
44param:clock-gmt=`yes` (boolean)::
45 Print event times in the GMT time zone instead of the local time
46 zone.
47
48param:clock-seconds=`yes` (boolean)::
49 Print event times in seconds instead of hours, minutes,
50 seconds, and nanoseconds.
51
52param:color=(`never` | `auto` | `always`) (string)::
53 Force the terminal color support, one of:
54+
55--
56`auto` (default)::
57 Only emit terminal color codes when the standard output and error
58 streams are connected to a color-capable terminal.
59
60`never`::
61 Never emit terminal color codes.
62
63`always`::
64 Always emit terminal color codes.
65--
66+
67The `BABELTRACE_TERM_COLOR` environment variable overrides this
68parameter.
69
70param:field-default=(`show` | `hide`) (string)::
71 By default, show or hide all the fields. This sets the default value
72 of all the parameters which start with `field-`.
73
74param:field-emf=(`yes` | `no`) (boolean)::
75 Show or hide the event's Eclipse Modeling Framework URI field.
76
77param:field-loglevel=(`yes` | `no`) (boolean)::
78 Show or hide the event's logging level field.
79
80param:field-trace=(`yes` | `no`) (boolean)::
81 Show or hide the trace name field.
82
83param:field-trace:domain=(`yes` | `no`) (boolean)::
84 Show or hide the tracing domain field.
85
86param:field-trace:hostname=(`yes` | `no`) (boolean)::
87 Show or hide the hostname field.
88
89param:field-trace:procname=(`yes` | `no`) (boolean)::
90 Show or hide the process name field.
91
92param:field-trace:vpid=(`yes` | `no`) (boolean)::
93 Show or hide the virtual process ID field.
94
95param:name-context=(`yes` | `no`) (boolean)::
96 Show or hide the field names in the context scopes.
97
98param:name-default=(`show` | `hide`) (string)::
99 By default, show or hide all the names. This sets the
100 default value of all the parameters which start with `name-`.
101
102param:name-header=(`yes` | `no`) (boolean)::
103 Show or hide the field names in the header scopes.
104
105param:name-payload=(`yes` | `no`) (boolean)::
106 Show or hide the field names in the event payload scopes.
107
108param:name-scope=(`yes` | `no`) (boolean)::
109 Show or hide the scope names.
110
111param:no-delta=`yes` (boolean)::
112 Do not print the time delta between consecutive lines.
113
114param:path='PATH' (string)::
115 Print the text output to the file 'PATH' instead of the standard
116 output.
117
118param:verbose=`yes` (boolean)::
119 Turn the verbose mode on.
120
121
122PORTS
123-----
124Input
125~~~~~
126`in`::
127 Single input port from which the component receives the
128 event notifications to pretty-print.
129
130
131QUERY OBJECTS
132-------------
133This component class has no objects to query.
134
135
136ENVIRONMENT VARIABLES
137---------------------
138include::common-common-compat-env.txt[]
139
140
141include::common-footer.txt[]
142
143
144SEE ALSO
145--------
146man:babeltrace-plugin-text(7),
147man:babeltrace-intro(7)
This page took 0.031949 seconds and 4 git commands to generate.