All posts by
Łukasz Mach

Jun 17 2021

How to make context logging in Python less cumbersome

I’m a big fan of logging as much extra data as possible. I’m also a DRY approach believer. I feel strong anxiety when I see repetition in code. Combining all these “passions” is not always easy. It’s hard to log everything without repeating things. Even if it’s possible, it usually leads to inelegant code.


Łukasz Mach

Still surprised by the fact that sequences of words in a computer can do various things.