`kv` support from log crate. Json formatter.
sualehasif opened this issue · 2 comments
sualehasif commented
It seems like the default formatter doesnt support structured keys and values. Is there an easy way to support that with flexi.
is there a community supported json formatter for outputs. Given the details and messiness of json, would prefer a well written community resource :)
emabee commented
Writing some format-function with the help of the json
should not be too difficult, but maybe I underestimate the use-case.
Would you provide some example log call and expected output?
emabee commented
With version 0.28 I added a feature kv
and a feature 'json'. If you combine both you should have what you need.