Function foundry_compilers::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 foundry_compilers::report::BasicStdoutReporter;
let subscriber = foundry_compilers::report::init(BasicStdoutReporter::default());