Concepts

Explicit diagnostic log projection

Try the free JavaScript compiler

Select only authorized fields for diagnostic output and avoid including private payloads.

Formal Syntax & Structure

javascript syntaxjavascript
const entry = { requestId, outcome }

Working Example

Example Snippetjavascript
(async () => {const result={requestId:"demo-1",outcome:"rejected",privateNote:"synthetic"};const {requestId,outcome}=result;console.log(JSON.stringify({requestId,outcome}));})()
JavaScript Reference