ftintitle: use log.log() for outputting

This also means that a couple of functions now have an additional `loglevel` parameter, used to control whether it will get printed or not.

I've tested by usage - the test suite doesn't run for me right now, as per #1175.

Fixes #1172.