Re: Prepend to logging message

2010-01-10 Thread Joan Miller
On 10 ene, 13:10, Joan Miller 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 > > >> > f

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

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]? >> >> > -- >> > cla

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): > > >  

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, 03:27, Ishwor Gurung wrote: > Joan, > > 2010/1/10 Joan Miller : > > > > > 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-09 Thread Ishwor Gurung
Joan, 2010/1/10 Joan Miller : > 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': >

Prepend to logging message

2010-01-09 Thread Joan Miller
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': result = 'testing' return