Expand description
bynk tail (#2546): a deployed Worker’s logs, with the stack frames that
name generated TypeScript rewritten to the .bynk line they came from.
The second slice of ADR 0622. wrangler tail does the streaming; the
driver compiles the project (nothing is deployed or provisioned) so the
emitter’s source maps are on disk, and pipes the tail through the same
Rewriter bynk dev uses. Frames that name the
deployed bundle rather than a module, or a module the build has no map for,
pass through unchanged. Wrangler’s pretty printer may print an uncaught
exception’s name and message without its stack, in which case the frames
that can be mapped are those a handler’s own console.* output carries.
Structs§
- Tail
Options - Parsed
bynk tailflags.
Functions§
- run
- Compile, resolve the Worker’s deployed name, and stream
wrangler tail. Returns wrangler’s exit code.