pub fn log_with_category(message: &str, category: Category, priority: Priority)
Log function where Category and Priority can be specified