Logging in Cloudflare Workers
First, make sure you've followed the frontend getting started guide.
All you need to start recording your console methods is call
H.init. All Highlight data submission uses waitUntil to make sure that we have no impact on request handling performance.
Using our library requires setting skipLibCheck because of one of our dependencies that references node types. At runtime, this does not cause issues because of dynamic imports and other polyfilling done to ensure the sdk works in the cloud flare worker runtime, but the types are still referenced.
Visit the highlight logs portal and check that backend logs are coming in.