Expand description
Backend-neutral logging helpers.
Two tiers are exposed:
logfor arbitrary UTF-8 text through the active backend’ssol_log_syscall.log_64for integer-heavy logs through the five-u64sol_log_64_syscall, which is the cheapest structured-log path on Solana. This backs thehopper_log!macro’s “label + values” form and lets hot handlers emit telemetry without thecore::fmt::Writesetup cost thatmsg!pays.
Structs§
- Stack
Writer - Stack-allocated write buffer for formatted log messages.