Debug Processors
You can debug processor via console logs. Simply do
console.log("num of pools: ", pools.length, ctx.version.toString());
Then you could view the debug log from the data-sourcepage.
![](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/console.gif)
Viewing Console Logs
Note
- The logs are order by the actual timestamp it is written
- It is irrelevant to the actual block timestamp or any timestamp that is on the blockchain
- You should not assume any strong ordering correlation from the processor code.
- The logs have a retention of 3 days
Updated 3 months ago