MCPcopy Index your code
hub / github.com/heygen-com/hyperframes / logEvent

Function logEvent

packages/aws-lambda/src/handler.ts:171–173  ·  view source on GitHub ↗

* Emit a single JSON line to stdout. CloudWatch ingests each line as a * structured event; Logs Insights queries can `filter event="..."` and * project specific fields. We write to stdout (not stderr) because * Lambda's default destination for both is the same log group, and * Logs Insights' INF

(payload: Record<string, unknown>)

Source from the content-addressed store, hash-verified

169 * field, not the stream.
170 */
171function logEvent(payload: Record<string, unknown>): void {
172 console.log(JSON.stringify(payload));
173}
174
175/**
176 * Compact, non-PII summary of a Lambda event for logging. The full

Callers 1

handlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected