Macro mt_logger::mt_stream [−][src]
macro_rules! mt_stream {
($output_stream : expr) => { ... };
}
Expand description
Sets the active stream to the specified OutputStream
.
Examples
Set active stream to StdOut
.
mt_stream!(OutputStream::StdOut);
Set active stream to Neither
, i.e., disable logging.
mt_stream!(OutputStream::Neither);