cast::decode

Function decode_console_log

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.