Function ethers_solc::report::init
source · pub fn init<T>(reporter: T)
Expand description
Install this Reporter
as the global default.
§Panics
Panics if the initialization was unsuccessful, likely because a
global reporter was already installed by another call to try_init
.
use ethers_solc::report::BasicStdoutReporter;
let subscriber = ethers_solc::report::init(BasicStdoutReporter::default());