log
log copied to clipboard
Would be nice to be able to change format without subclassing
Python does this really well: https://docs.python.org/2/library/logging.html#formatter-objects
It would be nice to be able to change the output format of the logger without having to create a subclass of the LogFormatter, which really looks like its geared to providing output that is significantly different - e.g. the Json example in the test case. But, for example, changing the default output to just the message as opposed to a date prefix doesn't seem like it should require writing a new class.
I did work on that aspect many months ago. Never got round to releasing it.
I will try to set some time to do just that! Bear with me.