My convention for loglines is to format as:
>>> print(f"Static msg: k1={v1} k2={v2}...")
Very simple, but putting all dynamic data on the right makes it much easier to skim through logs. Format is also more machine-friendly; many log indexing systems will parse them properly.
Apr 21, 2022 · 6:46 PM UTC
3
1
35


