Debug.log is still used in some modules but this vastly reduces console log
volume by turning it off on state changes (which switches quite a lot
thanks to the Animation code).
If you want to use the new Console.log function, just import Console near the top of the file and then replace Debug.log with Console.log.
Note that this just has a simple global on/off for logging through Console.log. We could add categories later if really necessary (and remember you've also got this trick for filtering out those Animation lines if you need to see state changes).
import Console
near the top of the file and then replaceDebug.log
withConsole.log
.