fmttracing

This tracer uses the tracing_subscriber::fmt subscriber to format tracing events. This provides human-readable output on stderr.

Example:

$ RUST_LOG=debug GST_TRACERS='fmttracing(log-level=4)' gst-launch-1.0 videotestsrc num-buffers=10 ! fakesink

Parameters

log-level

GStreamer log level to integrate (same format as GST_DEBUG).

format

Output format: full (default), compact, pretty, or json.

with-time

Whether to include timestamps in the output (default: true).

with-target

Whether to include the target in the output (default: true).

with-ansi

Whether to include ANSI color codes in the output (default: true).

Named constants

Fmt-tracer-format

Members

full (0) – Full: Complete event information
compact (1) – Compact: Single-line output
pretty (2) – Pretty: Visual indentation
json (3) – JSON: Machine-readable output

GstFmtTracer

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstTracer
                ╰──GstRsTracingTracer
                    ╰──GstFmtTracer

Properties

format

“format” Fmt-tracer-format *

Output format

Flags : Read / Write

Default value : full (0)


with-ansi

“with-ansi” gboolean

Include ANSI color codes

Flags : Read / Write

Default value : true


with-target

“with-target” gboolean

Include the target

Flags : Read / Write

Default value : true


with-time

“with-time” gboolean

Include timestamps

Flags : Read / Write

Default value : true


The results of the search are