[][src]Function glsp::set_pr_writer

pub fn set_pr_writer(pr_writer: Box<dyn Write + 'static, Global>)

Changes the output writer used by pr, prn, pr! and prn!.

The default writer is Stdout. Note that calling glsp::set_pr_writer will not redirect the output of Rust macros like println!: for that, you would need to use the undocumented feature set_print.

//silences pr!(), prn!(), pr and prn