0 purchases
reelog 1.7.1
reelog python log best practices
>>> import reelog
>>> # root logger
>>> logger = reelog.get_logger()
>>> logger.info("hello world!")
>>> # reelog name logger
>>> logger = reelog.get_logger("reelog")
>>> logger.error("hello world!")
>>> # output to stdout and file
>>> logger = reelog.get_logger("reelog", stdout=Ture, file=Ture)
>>> logger.warning("hello world!")
>>> # output to stdout and rotate file
>>> logger = reelog.get_logger("reelog", stdout=Ture, rotate_file=Ture)
>>> logger.warning("hello world!")
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.