Function warn

Source
pub fn warn(now: &str, message: &str)
Expand description

ยงWarn

Outputs an warn message via log_warn! macros. You can also use just an warn method instead, but it requires you to define any variable as &str

E.g:

use logger_rust::warn;
use logger_rust::current_time;
warn(&current_time(), "A warn message");