Live streaming
By default,jelou logs streams logs in real time:
Historical logs
Write logs from your function
console.log() also works but ctx.log() adds useful metadata (requestId, function, company, timestamp) automatically.Monitor your functions with jelou logs, ctx.log() for structured logging, and jelou cron logs for cron executions.
jelou logs streams logs in real time:
jelou logs my-function
# ▸ Streaming logs for my-function
# ▸ Press Ctrl+C to stop
jelou logs my-function --history
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.jelou cron logs my-function
jelou cron logs my-function --state ERROR
jelou logs my-function --json
jelou logs my-function --history --json
Was this page helpful?