foundry_evm_core::decode

Function decode_console_log

Source
pub fn decode_console_log(log: &Log) -> Option<String>
Expand description

Decode a single log.

This function returns None if it is not a DSTest log or the result of a Hardhat console.log.