Skip to content

captureLogStore

function captureLogStore(): LogStore | undefined

Snapshots the currently active log store so detached callbacks (for example, Cloudflare waitUntil) can re-enter the same logging scope later.

returns LogStore | undefined

Learn: Context and waitUntil

Last updated: