zach14c

loguru

Dec 10th, 2018
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. from loguru import logger
  2. logger.debug("That's it, beautiful and simple logging!")
  3. logger.start("file_X.log", retention="10 days")  # Cleanup after some time
Add Comment
Please, Sign In to add comment