Skip to main content
Big news! Interval has been acquired by Meter. Learn more →

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.

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.

Returns

null

Did this section clearly explain what you wanted to learn?