Attach auto-formatting to any plain object carrying
{ text, source_location, include_location }.
The location(s) are rendered only by inspect()/toString() (used when a
stderr Logger formats the line); the structured source_location /
include_location remain on the object so a MemoryLogger can record them
on the resulting LogMessage without duplicating them inside text.
Attach auto-formatting to any plain object carrying { text, source_location, include_location }.
The location(s) are rendered only by inspect()/toString() (used when a stderr Logger formats the line); the structured
source_location/include_locationremain on the object so a MemoryLogger can record them on the resulting LogMessage without duplicating them insidetext.