pub fn log(text: &str)
A convenience function for logging to the web browser’s console. See also the log! macro, which is more flexible.