Open
Description
I'd like to be able to output the extras list in a more human-facing way.
Current:
logger.remove()
logger.add(sys.stderr, format="{time:HH:MM:ss} | {level} | {message} {extra}")
outputs, e.g
23:13:11 | INFO | Testing {}
23:13:11 | INFO | With extras {'somekey': 'somevalue', 'x': 5}
I would rather it output:
23:13:11 | INFO | Testing
23:13:11 | INFO | With extras somekey=somevalue, x=5
(I have a very non-technical audience and the presence of braces, colons, etc, generally shapes the way they interact with log output - as I've often found, it makes the difference between some users deliberately keep the context information out of their copy; others will assume the line is perfectly self-contained if there's programmer-stuff on it, and not paste context. This becomes increasingly more likely as the users' technical level decreases)