Skip to content

Commit 5b713a9

Browse files
authored
added console lib (#23)
1 parent 2f7a4c4 commit 5b713a9

File tree

2 files changed

+1542
-0
lines changed

2 files changed

+1542
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,13 @@ contract Bar {
236236
}
237237
}
238238
```
239+
240+
### `console.log`
241+
242+
Usage follows the same format as [Hardhat](https://hardhat.org/hardhat-network/reference/#console-log):
243+
```solidity
244+
import "forge-std/console.sol";
245+
...
246+
console.log(someValue);
247+
248+
```

0 commit comments

Comments
 (0)