Re: Prepend to logging message

2010-01-10 Thread Joan Miller
On 10 ene, 03:27, Ishwor Gurung ishwor.gur...@gmail.com wrote: Joan, 2010/1/10 Joan Miller pelok...@gmail.com: How to prepend anything to a logging message? Is possible to do it from the dictionary object (ExtraLog) or is there is that override process() [1]? --

Re: Prepend to logging message

2010-01-10 Thread Peter Otten
Joan Miller wrote: How to prepend anything to a logging message? Is possible to do it from the dictionary object (ExtraLog) or is there is that override process() [1]? -- class ExtraLog(object): def __getitem__(self, name): if name == 'foo':

Re: Prepend to logging message

2010-01-10 Thread Joan Miller
On 10 ene, 10:26, Peter Otten __pete...@web.de wrote: Joan Miller wrote: How to prepend anything to a logging message? Is possible to do it from the dictionary object (ExtraLog) or is there is that override process() [1]? -- class ExtraLog(object):     def

Re: Prepend to logging message

2010-01-10 Thread Peter Otten
Joan Miller wrote: On 10 ene, 10:26, Peter Otten __pete...@web.de wrote: Joan Miller wrote: How to prepend anything to a logging message? Is possible to do it from the dictionary object (ExtraLog) or is there is that override process() [1]? -- class ExtraLog(object):

Re: Prepend to logging message

2010-01-10 Thread Joan Miller
On 10 ene, 12:36, Peter Otten __pete...@web.de wrote: Joan Miller wrote: On 10 ene, 10:26, Peter Otten __pete...@web.de wrote: Joan Miller wrote: How to prepend anything to a logging message? Is possible to do it from the dictionary object (ExtraLog) or is there is that override

Re: Prepend to logging message

2010-01-10 Thread Joan Miller
On 10 ene, 13:10, Joan Miller pelok...@gmail.com wrote: On 10 ene, 12:36, Peter Otten __pete...@web.de wrote: Joan Miller wrote: On 10 ene, 10:26, Peter Otten __pete...@web.de wrote: Joan Miller wrote: How to prepend anything to a logging message? Is possible to do it from the

Re: Prepend to logging message

2010-01-09 Thread Ishwor Gurung
Joan, 2010/1/10 Joan Miller pelok...@gmail.com: How to prepend anything to a logging message? Is possible to do it from the dictionary object (ExtraLog) or is there is that override process() [1]? -- class ExtraLog(object):    def __getitem__(self, name):        if name