3 ms·
I encourage my teams to write logs / output with interpolation with the variables at the end for searchability For example: Added %d users Vs: Added use
by leetrout 2y ago
I encourage my teams to write logs / output with interpolation with the variables at the end for searchability
For example:
Added %d users
Vs:
Added users (%d)
Then it is much easier to track down where things come from without needing wildcards in the search or to care too much about what might be dynamic in cases where its not obvious.
- davemp 2y agoI’ve basically landed on the following form: ‘Short description. [foo={}, bar={}]’ Which will give you grepability and in theory parsability so you can automatically bisect for a value change or something along those lines.