Use logger
mpope9 opened this issue · 2 comments
mpope9 commented
Printing isn't great. Use the logger!
Flavsditz commented
I want to give this a shot... what is the preferred desired approach?
I am thinking this is using the logging
lib right?
One could:
- Have a central file that takes care of logging and thus only one configuration
- Initialize the logger per class where it is used.
- This means more verbose but one can name each logger and configure them case-by-case
I like the first approach and one can always add more parameters to be logged if necessary
mpope9 commented
@Flavsditz logging
lib is what I was thinking. Central file sounds good to me