Function logger::write_str

source ·
pub fn write_str(s: &str) -> Result
Expand description

Convenience function for writing a simple string to the logger.

If the logger has not yet been initialized, no log messages will be emitted. and an Error will be returned.