![]() |
Mads
Multi-Agent Distributed System
|
Rendering choices for format_echo_json()/format_echo_blob(), mirroring mads echo's CLI flags.
More...
#include <echo_format.hpp>
Public Attributes | |
| bool | raw = false |
| bool | jsonl = false |
| bool | color = true |
Rendering choices for format_echo_json()/format_echo_blob(), mirroring mads echo's CLI flags.
Definition at line 30 of file echo_format.hpp.
| bool Mads::EchoRenderOptions::color = true |
Emit rang ANSI color codes around the pretty-printed form. Ignored (never colored) when jsonl is set, since colored output would corrupt the JSON stream a consumer like jq expects.
Definition at line 40 of file echo_format.hpp.
| bool Mads::EchoRenderOptions::jsonl = false |
Emit a single compact JSON line (topic/timestamp/size/type/payload) instead of the multi-line pretty form. Intended for piping into jq.
Definition at line 36 of file echo_format.hpp.
| bool Mads::EchoRenderOptions::raw = false |
Show the exact blob bytes (base64-encoded) instead of a one-line "<blob N bytes>" summary. Applies to blob messages only.
Definition at line 33 of file echo_format.hpp.