captureLogStore
function captureLogStore(): LogStore | undefinedSnapshots 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