Closed jongpie closed 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.
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.
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 insteadhttps://developer.salesforce.com/docs/component-library/bundle/lightning-emp-api/documentation