pub fn set_console_level(level: LogLevel)
Apply a new log level at runtime.
Does nothing if the hook hasn’t been installed (in tests, which never initialize tracing), so callers don’t need to special-case that.