Debug
Detail for working on the code, dropped in production.
Intents
Recording one
Name what happened. The intent sets the level and whether it alerts.
// Detail for working on the code
log('debug.trace', 'Resolved page', { slug: 'about', tookMs: 12 });Writes, in development only (debug.trace)TS
{
"intent": "debug.trace",
"level": "debug",
"alert": false,
"message": "Resolved page",
"data": {
"slug": "about",
"tookMs": 12
},
"time": "2026-10-09T12:00:00.000Z"
}Is it a debug entry?
Find the row that describes your case, and use the domain on the right.
If the problem is
Use
Who did what, kept as a record: things created, changed, deleted, and changes to access.
audit.*Signals worth watching: failed sign-ins, bad tokens, rate limits, probing.
security.*Something broke or degraded, and someone should look.
incident.*Background work: syncs, backups, migrations, scheduled runs.
job.*Detail for working on the code, dropped in production.
debug.*this page