api-boltAPIBolt

Code Block Logging

Use code() to log complex objects, payloads, or debug variables into the ApiBolt console as syntax-highlighted code blocks.

Log Variables as Code

Unlike print() which renders simple objects or strings, code() formats the given payload explicitly as formatted javascript, json, or markdown directly inside your test results.

ts