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