Skip to main content

Module log

Module log 

Source
Expand description

Zero-allocation logging via Solana syscalls.

Structs§

StackWriter
Stack-allocated write buffer for formatted log messages on BPF.

Functions§

log
Log a UTF-8 message to the runtime log.
log_64
Log five u64 values for quick debugging.
log_compute_units
Log the current compute unit consumption.
log_data
Emit structured data segments via sol_log_data (for events).