pub fn stop_logging<F, T>(f: F) -> Twhere
F: FnOnce() -> T,Expand description
Stops processing workflow commands while the provided function runs. A token is randomly generated and used to re-enable commands after completion.
use actions_core as core;
core::stop_logging(|| {
println!("::set-env name=ignored::value");
});