lager¶
Install: pip install lager
Logging library based off of loguru (pip install loguru
).
Why not just use loguru?
- Lager is a better pun
- Lager is really a utility pack for loguru
BTW: Loguru is an amazing lib. Check it out: https://github.com/Delgan/loguru
Usage:¶
In [1]:
Copied!
from lager import LOG # All the same object
LOG.info("info")
from lager import LOG # All the same object
LOG.info("info")
2020-07-09 16:57:10.653 | INFO | __main__:<module>:2 - info 2020-07-09 16:57:10.655 | INFO | __main__:<module>:3 - info