Skip to content

Small project to play with the decorators and the Structlog library.

Notifications You must be signed in to change notification settings

dianedelallee/decoratorStructlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

decoratorAndStructlog

Small project to play with the decorators and the Structlog library.

Goal of the project

Create a decorator that will use structlog to add a logging system to each function of a class.

One of the goal is to have a trace_id to follow the code and to get easily information about the context when the function is called. For instance, the parameters provided to the function and the error message ...

Different types of output

Development

development output

Production

production output

References

About

Small project to play with the decorators and the Structlog library.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages