|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Formatter for remote_trap_view. More...
#include <exception_frame.hpp>
Public Member Functions | |
| constexpr void | parse (format_parse_context &ctx) noexcept |
Parses the leading # mode flag. | |
| void | format (const remote_trap_view &view, const sink &out) const noexcept |
| Renders the trap summary. | |
Public Attributes | |
| char | mode {'\0'} |
Output mode: ‘’#'= verbose symbols,'\0'` = standard. | |
Formatter for remote_trap_view.
Emits a multi-line summary with the trap level, mode, reason, PC, SP, FP, and optionally LR. A leading # in the specifier requests verbose symbol output.
|
inlinenoexcept |
Renders the trap summary.
| view | The trap view to format. |
| out | Destination sink. |
|
inlineconstexprnoexcept |
Parses the leading # mode flag.
| ctx | Format parse context exposing the specifier text. |
| char microfmt::formatter< remote_trap_view >::mode {'\0'} |
Output mode: ‘’#'= verbose symbols,'\0'` = standard.