Add a logger that has configurable `shouldlog`
oxinabox opened this issue · comments
Possibly there is a smart way to overload FilteredLogger
for this.
It is better to use shouldlog
to filter where possible,
as that prevents any deferred calculations being run.
#6 is just a clearer version of this issue