All Questions
1 question
2
votes
1
answer
2k
views
How does console.logging work (e.g. Foundry's Console.sol)?
The main block of code in Forge's Console.sol is
address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);
function _sendLogPayload(bytes memory payload) private view {
...