log2d
log2d copied to clipboard
I noticed that a) leading tabs `\t` are removed from multi-line messages (and possibly single line - not tested) b) multi-line messages are split by new line `\n` but I...
FYI I've already changed the argument name from "logname" to "path" which is shorter and better reflects the pathlib.Path syntax elsewhere in log2d. Hope that's ok Mike? Anyhow... this enhancement...
Here's the test I added to test_log2d.py which currently fails: ``` def test_find_without_loglevel(): """ fmt may not include loglevel e.g. ERROR. Test that .find still works""" fmt = Log.presets['name_and_time'] mylog...
I think this is my fault - many apologies Mike! When refactoring the variable names I must've broken the level= logic, such that the following test (which I've added to...
(Re)Work on `find` is complete pending testing but this has highlighted an issue with `test_log2d.cleanup()` which _may_ impact testing in other areas besides `find`. In `cleanup()`, `logging.shutdown()` does not have...