Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 933 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 933 Bytes

Intro to Python logging

🚨 You need to improve a project's logging config and need somewhere to start.

🔥 You can use this repo as a starting point, it has a full logging configuration using dict, code or file.

🎉 Now it's easier to setup your app's logging config by using this repo.

If you want to learn more go to Introduction to python logging article.

Example

Gif showing how to use the code in this repo

How to run

Written in Python 3.8

$ python main.py

Select what type of configuration you would like to try out

Logging configs

You can play around with different logging configs by updating the code in configs.py The debug filters look at the global variable DEBUG defined in filters.py