aztec-nr - noir_aztec::protocol::debug_log

Function debug_log_format_slice

pub fn debug_log_format_slice<let M: u32>(
    log_level: u8,
    msg: str<M>,
    args: [Field],
)

Utility function to console.log data in the acir simulator. This variant receives a format string in which the ${k} tokens will be replaced with the k-eth value in the args slice. Examples: debug_log_format("get_2(slot:{0}) =>\n\t0:{1}\n\t1:{2}", [storage_slot, note0_hash, note1_hash]); debug_log_format("whole slice: {}", [e1, e2, e3, e4]);