[Python-Dev] Change to logging Formatters: support for alternative format styles

Olemis Lang olemis at gmail.com
Fri Oct 29 17:40:45 CEST 2010


On Tue, Oct 26, 2010 at 6:15 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On Tue, Oct 26, 2010 at 9:08 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>> On Tue, Oct 26, 2010 at 12:28 AM, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:
>>> Comments welcome. Assuming there are no strong objections asking for reversion
>>> of this change, I'll publicise to the wider community in a few days.
>>
>> It strikes me as a solid, pragmatic solution to a thorny problem.
>>
>> Looking at your checkin though, I wonder if it might be worth
>> implementing some little formatting style classes to get rid of the
>> if/elif chains from the Formatter code. Something like:
>
> Some syntax highlighting may make that wall-o'-code a little easier to
> read: http://pastebin.com/SG0Qr3r5
>

FWIW
+1

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:


More information about the Python-Dev mailing list