jongpie / NebulaLogger

The most robust observability solution for Salesforce experts. Built 100% natively on the platform, and designed to work seamlessly with Apex, Lightning Components, Flow, Process Builder & integrations.
https://nebulalogger.com
MIT License
704 stars 165 forks source link

Add a lwc to display a Log Entry Event stream #89

Closed jongpie closed 3 years ago

jongpie commented 3 years ago

There needs to be a way to easily subscribe to the LogEntryEvent__e platform event stream and display it on screen - admins/devs/architects can then use it for real-type monitoring of logs.

The lwc module empApi seems like the best option - screen flows don't seem to currently support platform events (flow only supports screenless flows for platform events), so build a custom component instead

https://developer.salesforce.com/docs/component-library/bundle/lightning-emp-api/documentation

jongpie commented 3 years ago

At least for now, I'm closing this and marking it as "won't do" - there may still be some value in doing this down the road, but in PR #108, I've included a custom tab for LogEntry__c, which serves a similar purpose. It also allows list views, SOSL searching, sorting, etc. that platform events don't support.

jongpie commented 3 years ago

Reopening this issue - I've found myself still needing to see/stream platform events, and instead of relying on something like Workbench (yuck 🤮), it'd be useful to be able to stream the log entry events directly in the logger console app.