4 ms·
I mean, yes, what you said isn’t wrong, that is what you get but a: logging is effectively a global singleton object already b: other than less pasta, are the
by alanwreath 4y ago
I mean, yes, what you said isn’t wrong, that is what you get but
a: logging is effectively a global singleton object already
b: other than less pasta, are there any benefits to saving a logger import? In the case of logging it would seem you would lose all the benefits of “__name__” that are mentioned in the article (which to reiterate are considered best practice)
- xgstation 4y ago