Structs

  • ConsoleLogHandler is responsible for printing the logs, that are created when contract calls ‘console.log’ method. This is a popular debugging method used by hardhat and foundry. When user wants to log something, these tools are doing a call to a contract at a given (fake) address. The ConsoleLogHandler is catching this call, and printing it out – but only if TRACE level log is enabled for ‘console’ target.

Constants