Saju M writes:
> Hi,
>
> Yes i saw profile module, I think, i have to do function call via
> cProfile.run('foo()') I know, we can debug this way.
You should do this in development to identify pain points. The results
might be interesting.
> But, I need a fixed logging system and want to use i
Hi,
Yes i saw profile module,
I think, i have to do function call via
cProfile.run('foo()')
I know, we can debug this way.
But, I need a fixed logging system and want to use it in production.
I think, we can't permanently include profile's debugging code in
source code,
will cause any p
Saju M writes:
> Hi,
>
> I want to log time taken to complete database requests inside a
> method/function using decorator . is it possible
> I think, i have to inject log code inside the method/fuctions or modify it.
> I wrote a decorator to log taken by a method/function to complete it
>
Hi,
I want to log time taken to complete database requests inside a
method/function using decorator . is it possible
I think, i have to inject log code inside the method/fuctions or modify it.
I wrote a decorator to log taken by a method/function to complete it
execution and its working well