pub fn set_log_level(val: LogLevel)
Set the desired logging level (only messages with at least that importance will be logged). Changes the level for all threads.