ctx.log
Logs anything from your action by printing a message in the Interval dashboard. Works with multiple arguments like JavaScript’s console.log. Logs are truncated at 10,000 characters.
- TypeScript
- JavaScript
await ctx.log("Some prime numbers", [2, 3, 5, 7, 11, 13]);
await ctx.log("Some prime numbers", [2, 3, 5, 7, 11, 13]);
info
It is important to await
calls to ctx.log
if they may happen very
frequently in a tight loop. Failure to do so may result in rate limiting
issues.
info
It is important to await
calls to ctx.log
if they may happen very
frequently in a tight loop. Failure to do so may result in rate limiting
issues.
Returns
null
Returns
null
Was this section useful?