On 02/26/2012 03:33 PM, Guido van Rossum wrote:
One thing I'd like to see happening regardless is support for
new-style formatting in the logging module. It's a little tricky to
think how that would work, alas -- should this be a property of the
logger or of the call?

There already is some support. logging.Formatter objects can be initialized with a "style" parameter, making this a property of the logger. (New in 3.2.)

   http://docs.python.org/py3k/library/logging.html#formatter-objects

Is that what you had in mind?


//arry/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to