pallet.debug documentation

Helpers for debugging.

assertf

macro

[expr format-string & args]

Assert a condition

log-session

fn

[]
[format-string]

A crate function that will log the session map at the debug level, using the supplied format string.

(log-session session "The session is %s")

print-session

fn

[]
[format-string]

A crate function that will print the session map to out, using the supplied format string.

(print-session "The session is %s")