how to use logging module to log an object like print()

Vinay Sajip vinay_sajip at yahoo.co.uk
Fri Oct 31 10:55:31 CET 2008


On Oct 30, 4:34 am, Steve Holden <st... at holdenweb.com> wrote:
>
> Vinay, please tell me whether I was right or wrong ...
>

What Tim Roberts has already said is right ... my post was
highlighting how to mitigate any overhead which is typically (or at
least in general terms) higher than the cost of formatting, viz. the
computation of the values which get formatted.

Regards,

Vinay Sajip



More information about the Python-list mailing list