[Tutor] introspecting an object for method's name?
zstumgoren at gmail.com
Mon Oct 19 15:03:53 CEST 2009
> Or just use the built-in logging module which lets you specify
> the containing function name as one of its formatting keywords:
Aha! I had skimmed the logging docs, but hadn't gone far enough down
to notice the %(funcName)s formatting option.
Thanks to one and all for the suggestions!
More information about the Tutor