Fix test name.
Overhaul logCalls().

Add level, logName, and timerFunc parameters. Make logging string
formatting more flexible.
Add test for logCalls().
Exclude code coverage for pypy.