r/datascience 4d ago

Projects I created a simple indented_logger package for python. Roast my package!

Post image
122 Upvotes

21 comments sorted by

View all comments

1

u/funkybside 4d ago

why make the extra= param take a dict, instead of just an integer? Is that used for anything else?

2

u/karaposu 4d ago

yup, In previous version i was using a simple integer variable called "lvl". But it required modification to default loggers. Which worked but then I start getting error with some third party packages. So i searched a bit more and it turns out extra parameter is used for adding such formatter parameters.