Currently we can use formatPart to apply formatting to the "parts" of each line, which seems to be split on whitespace. This seems less useful than providing a formatLine option, since if you are in a line format function, you can always split on whitespace and format each of those segments on their own.
In my case each line of my logs is a JSON object, and I'd like to be able to have a formatLine function that parses each of the JSON objects (along with a checkbox to toggle whether this formatting should be done, but that's beyond the scope of this issue).
Currently we can use
formatPart
to apply formatting to the "parts" of each line, which seems to be split on whitespace. This seems less useful than providing aformatLine
option, since if you are in a line format function, you can always split on whitespace and format each of those segments on their own.In my case each line of my logs is a JSON object, and I'd like to be able to have a
formatLine
function that parses each of the JSON objects (along with a checkbox to toggle whether this formatting should be done, but that's beyond the scope of this issue).