pub fn log(record: Record)
Send a log record through the global logger In debug builds, checks for a thread-local mock logger first