Skip to main content

Live streaming

By default, jelou logs streams logs in real time:
jelou logs my-function
# ▸ Streaming logs for my-function
# ▸ Press Ctrl+C to stop

Historical logs

jelou logs my-function --history

Write logs from your function

ctx.log("Processing order", { phone: input.phone, requestId: ctx.requestId });
// Writes structured JSON: { requestId, function, company, timestamp, args }
console.log() also works but ctx.log() adds useful metadata (requestId, function, company, timestamp) automatically.

Cron logs

jelou cron logs my-function
jelou cron logs my-function --state ERROR

JSON mode

jelou logs my-function --json
jelou logs my-function --history --json