click-log icon indicating copy to clipboard operation
click-log copied to clipboard

How can I write log data to a file?

Open ltpitt opened this issue 3 years ago • 0 comments

I am using click-log with success but I cannot find a way to write the logger data to a file. Is this possible?

Normally I'd do something similar:

logging.basicConfig(filename='logs.log',
            filemode='w',
            level=logging.INFO)

But this doesn't work if I use click_log.

Thanks!

ltpitt avatar Aug 31 '20 20:08 ltpitt