This Git project demonstrates basic logging scenarios in Python. The purpose of this project is to showcase how to implement logging in Python applications.
The project includes example code that covers:
- Basic logging setup;
- Custom filter, formatter;
- Logger init syntaxis;
- Rotating log files;
- Basic file handler with pathlib;
- Basic logging adapter usecase.
- Clone repo
git clone https://github.com/jesusKeyboardd/basic_logging_python.git .- Open main.py and uncomment any scenario
cd basic_logging_python
main.py- run
py main.py