[−][src]Function glsp_engine::set_pr_writer
pub fn set_pr_writer(pr_writer: Box<dyn Write>)
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 glsp::set_pr_writer(Box::new(std::io::sink()));