pub fn set_log_priority(priority: LogPriority)
Expand description

Define the minimum level to be printed to the log handler. Messages higher than this level are printed, others are discarded. This is a global setting and applies to any future logging messages.