On Tue, 2004-04-20 at 10:01, Chris Withers wrote: > This discussion smells like that string should be computed from introspection. > > Why can't it be computed from introspecting whatever code called the log method?
You probably could do it via sys._getframe(). I'm not sure you should though. ;) > (btw, is there an intro to Python's logger stuff? looks like I need to get up to > speed on this...) AFAIK, the online logging package docs are about it. That's not the easiest way to learn how to use the package unfortunately. -Barry _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )