> For the complete documentation index, see [llms.txt](https://docs.icb.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.icb.network/build-on-icb-network/hardhat/debugging-smart-contract-using-hardhat/a-note-on-console.log.md).

# A note on console.log

&#x20;         In the previous example, you used console.log to output basic debugging information. Keep in mind that Solidity’s console.log is more limited than what you might be used to in other programming languages, where nearly any data type can be logged.

&#x20;        In Solidity, console.log supports up to four parameters of the following types:

&#x20;         1\. uint\
&#x20;         2\. string\
&#x20;         3\. bool\
&#x20;         4\. address

&#x20;         Hardhat also provides additional logging functions to support other types, including:

&#x20;         \- console.logInt(int i)\
&#x20;         \- console.logBytes(bytes memory b)\
&#x20;         \- console.logBytes1(bytes1 b)\
&#x20;         \- console.logBytes2(bytes2 b)\
&#x20;         \- ...\
&#x20;         \- console.logBytes32(bytes32 b)

&#x20;         These functions are useful when you need to log values outside the basic supported types. For more information, consult the official console.log documentation.
