Function write

Source
pub fn write(level: Level, message: impl AsRef<str>)
Expand description

Write a message with the given level. This is a low-level function, use the log!, debug!, info!, warning!, and error! macros instead.