Trait texlang_common::HasLogging
source · pub trait HasLogging {
// Provided methods
fn terminal_out(&self) -> Rc<RefCell<dyn Write>> { ... }
fn log_file(&self) -> Rc<RefCell<dyn Write>> { ... }
}
Expand description
Implementations of this trait can provide access to an output terminal and a log file.
Provided Methods§
sourcefn terminal_out(&self) -> Rc<RefCell<dyn Write>>
fn terminal_out(&self) -> Rc<RefCell<dyn Write>>
Return the output terminal.
The default implementation returns standard out.