pub fn log(level: Option<LogLevel>, channel: Option<String>, message: String)Expand description
Logs a message with an optional log level and channel.
Note that the log! macro is the preferred method to do this in the public API.
use breadcrumbs::{log, LogLevel};
log(Some(LogLevel::Info), Some(String::from("test_channel")), String::from("Test log message"));