[][src]Function actions_core::stop_logging

pub fn stop_logging<F, T>(f: F) -> T where
    F: FnOnce() -> T, 

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");
});