20 Apr
2004
20 Apr
'04
2:41 p.m.
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