Logging

Cameron Simpson cs at cskk.id.au
Sat Nov 19 20:26:19 EST 2022


On 19Nov2022 18:26, Thomas Passin <list1 at tompassin.net> wrote:
>>The alternative is to just replace every calling function which uses 
>>my_ugly_debug() to directly call a logging.whatever() call.
>
>Maybe a place for a decorator...

Indeed, though I don't think the OP is up to decorators yet.

But really, is there any problem which cannot be solved with a 
decorator? I've even got a @decorator decorator for my decorators.

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Python-list mailing list