CLI for filtering USER_DEBUG output from Salesforce Anonymous Apex execution logs
Unlike a simple grep '|USER_DEBUG|'
this supports multi-line messages.
full | filtered |
---|---|
Compiled successfully. Executed successfully. |
Hello World! This is a debug message. |
$ npm install -g apex-log-filter
$ sfdx force:apex:execute -f hello-word.apex | apex-log-filter
Hello World!
This is a debug message.
MIT © Matthias Rolke