MRAB <pyt...@mrabarnett.plus.com> wrote: > or use 'globals': > > def function(self): > logger = globals()['logger'].getChild('function') > logger.debug('stuff') > logger.debug('other stuff')
Ah-ha! That's precisely what I was looking for. Much appreciated. -- http://mail.python.org/mailman/listinfo/python-list