manrajgrover / halo

💫 Beautiful spinners for terminal, IPython and Jupyter
MIT License
2.86k stars 148 forks source link

How to integrate with logging #163

Open aress31 opened 2 years ago

aress31 commented 2 years ago

Could anyone please provide a code snippet showing how to integrate Halo with the logging module, that would be sleek!

rpocase commented 2 years ago

Could you provide an example use case? Maybe common Formatter configuration for stdout in a CLI tool?

Juligee commented 9 months ago

I made a logging program incorporation in doge_spin.py file. The log could both display on terminal and be saved on logfile.log.