-
-
Notifications
You must be signed in to change notification settings - Fork 31
Line formatter #42
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Currently we can use
formatPartto apply formatting to the "parts" of each line, which seems to be split on whitespace. This seems less useful than providing aformatLineoption, 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
formatLinefunction 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).