click-log
click-log copied to clipboard
How can I write log data to a file?
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!