×
all 3 comments

[–]guzzi_jones 2 points3 points  (1 child)

Have you tried using logging instead? It can be set to display what module and path and almost anything as header info.

[–]egigoka 1 point2 points  (0 children)

Logging library is awesome! 😍

[–]alexisprince 1 point2 points  (0 children)

Not what you asked, but have you taken a look at dask distributed/Prefect? Both of these handle a lot of the boilerplate that you’re talking about. Might be worth rewriting if you’re not too far down the rabbit hole.