jake-kirkman / vscode-ext-apex-notebook

MIT License
3 stars 2 forks source link

Improve Debug Logs #2

Open krystiancharubin opened 2 months ago

krystiancharubin commented 2 months ago

add regex to parse log rows. There are capturing groups for event name, line number, timestamp etc. We can use those to easily filter only specific events like USER_DEBUG and then display it in a better way. For example padding line numbers so that the debugs are better aligned.

Main thing this add is support for multiline debugs logs, for example when you JSON.serializePretty

krystiancharubin commented 2 months ago

@jake-kirkman can we get this merged so that JSON.serializePretty debug statement display more than one line? This also has regex that will let you filter on other types of log statements down the road.