On Mon, Oct 19, 2009 at 8:40 AM, Tim Golden <m...@timgolden.me.uk> wrote:

> Or just use the built-in logging module which lets you specify
> the containing function name as one of its formatting keywords:
>
> http://docs.python.org/library/logging.html#formatter-objects

Sweet! And much better than rolling your own logger.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to