Skip to main content

write_console

Function write_console 

Source
pub fn write_console(record: &LogRecord) -> Result<()>
Expand description

Write a LogRecord to stderr in console format.

Each call does a single write_all; the caller is responsible for not interleaving partial writes across threads (the global log() function synchronises via the file-sink mutex).