Skip to content

Sample complementary repository to Intro to Python Logging Atricle

Notifications You must be signed in to change notification settings

rmcomplexity/intro-to-python-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sample complementary repository to Intro to Python Logging Atricle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages