Module wrangler::commands::tail

source ·

Modules

  • wrangler tail allows Workers users to collect logs from their deployed Workers. When a user runs wrangler tail, several things happen: 1. wrangler asks the Cloudflare API to send log events to a Durable Object, which will act as a log forwarder. The API returns the URL of the log forwarder. 2. wrangler connects to the log forwarder using a WebSocket. 3. Upon receipt of messages, wrangler prints log events to stdout.

Functions

  • Runs a tail session from creation to deletion.