Skip to the content.

Trice Features at a Glance

Find a capability, then follow its link for examples, syntax and limits. Rows run from newest to oldest. Version is the first stable release with the listed capability; features introduced during the v2 betas are grouped under 2.0.0. 1.0 or earlier means the feature was already present in 1.0, not that it first appeared there.

Obsolete marks features to avoid in new projects. The row states whether they remain available. For removed option names and other upgrade changes, follow the migration guide. For changes between releases, use the Changelog.

Version Feature Use and current status
2.0.0 Bind Keep log calls ID-free; generate their IDs in compiler headers.
2.0.0 Structured Logging Name values such as {voltage_mv:%u}; output text, JSON or key/value records.
2.0.0 Context Enrichment Add selected context values automatically with Bind or Insert.
2.0.0 Weighted tags and log levels Filter by priority; configure weights, colors and display palettes.
2.0.0 Consistent alias tags Keep macro names in dictionaries and use the same event tag across output formats.
2.0.0 Stamp expressions Convert hardware counters on the host with printf, unwrap and delta.
2.0.0 Visualization output Export selected numeric values as CSV or UDP data, for example to LabPlot.
2.0.0 Local deferred text logging Format buffered records on the target without a host decoder.
2.0.0 Source-selected C tables and dictionary reports Generate C metadata for selected sources, readable dictionaries and Bind reports.
2.0.0 Deterministic ID assignment Reproduce IDs for unchanged source selections and ID pools; changed sites can change IDs.
2.0.0 User and Reference Manuals Read the guided introduction or full reference as Markdown, PDF or EPUB 3.
1.3.0 Asynchronous Broadcast Commands (ABC) Send commands between nodes on a shared bus; generate receive tables with -abc.
1.2.4 Counted typeX0 user packets Carry application data alongside logs without a Trice ID or dictionary entry.
1.2.3 Standalone tlog Run tlog ... as the short equivalent of trice log ....
1.2.2 Linux packages and Homebrew installation Install packaged host tools; the Homebrew tap follows stable releases.
1.2.0 Target-stamp delta columns Display differences between successive target stamps.
1.2.0 Additional compiler and integer-width support Compile as C++ or for targets with 16-bit integers or no 64-bit integer type.
1.1.0 Macro aliases Integrate existing logging macro names with Trice.
1.1.0 User-defined tags Add application tags without rebuilding the host tool; v2 uses -utag.
1.1.0 UDP input Receive binary logs from a device over IPv4 UDP.
1.1.0 Epoch timestamp display Display a 32-bit seconds counter as UTC time with -ts32 epoch.
1.0 or earlier ID-based binary logging Send an ID and values; the host supplies the format string from the dictionary.
1.0 or earlier Printf-like values Log integers, floating-point values, runtime strings and buffers.
1.0 or earlier Direct and deferred output Send records immediately or collect them in ring/double buffers for later transfer.
1.0 or earlier UART and custom byte transports Use UART or supply a writer for another byte-capable connection or storage.
1.0 or earlier SEGGER RTT Read target logs through a debug probe without a dedicated UART.
1.0 or earlier COBS/TCOBS framing Separate binary packets and recover packet boundaries after an interrupted stream.
1.0 or earlier XTEA encryption Encrypt binary log data before transfer.
1.0 or earlier Target and host timestamps Show target event timing and host receipt time.
1.0 or earlier Source locations Display the source file and line recorded in the location dictionary.
1.0 or earlier Tag colors and selection Color log messages and select or exclude tags on the host.
1.0 or earlier Compile-time disabling Remove logging code for a file or build with TRICE_OFF.
1.0 or earlier Target routing Route selected ID ranges to configured output channels.
1.0 or earlier Buffer protection and diagnostics Monitor overflow and buffer usage when sizing the logging path.
1.0 or earlier Automatic dictionary reload Use updated dictionaries without restarting the host logger.
1.0 or earlier Text log files Save decoded output for later inspection.
1.0 or earlier Binary capture and replay Record raw bytes and decode them later with matching dictionaries.
1.0 or earlier TCP input and output Receive binary logs via TCP or forward decoded output to another program.
1.0 or earlier Display server and multiple targets Combine log output from separate receivers in one display.
1.0 or earlier UART command shell Send application-defined commands while reading logs.
1.0 or earlier Text and raw-byte monitors Inspect a stream with CHAR or DUMP before decoding Trice records.
1.0 or earlier Cross-platform host tools Run the host tools on Linux, macOS or Windows.
1.0 or earlier Insert/Clean and source cache Obsolete (deprecated, still available). Writes IDs into source calls; prefer Bind for new projects.
1.0 or earlier Legacy RPC Obsolete. Compatibility code remains; use ABC for new integrations.
1.0 or earlier Automatic unframed alignment (-pf=none) Obsolete (deprecated). Select explicit alignment such as none8 or none32 for unencrypted streams.

Keep this table current when a release adds a capability: add a linked row at its introduction version, newest first. Update an existing row when its status changes; retain obsolete entries with their replacement. Record fixes and individual option changes in the Changelog.