Structured messages allows us to have a semantic understanding of events and spans. Browsing through logs with field_name = value could get unwieldy quickly, causing lines to wrap, making it read longer than necessary and difficult to skim.
If we allow users to provide a format string or something similar, we can provide a nicer experience.
Since rust std doesn't support non-literal format strings, we probably would have to fall back on a templating solution from the ecosystem.
Structured messages allows us to have a semantic understanding of events and spans. Browsing through logs with
field_name = value
could get unwieldy quickly, causing lines to wrap, making it read longer than necessary and difficult to skim.If we allow users to provide a format string or something similar, we can provide a nicer experience. Since rust std doesn't support non-literal format strings, we probably would have to fall back on a templating solution from the ecosystem.