How to Track a Transaction from LWC to Apex and Back Using Nebula Logger, Maintaining Logs in Order? #795
Unanswered
narendra1adhikari1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to log some details using Nebula Logger in Salesforce to track transactions from LWC to Apex and back to LWC. I have successfully captured detailed logs in Apex, including logs before and after external callouts, with a unique transaction ID for each request.
However, I want to initiate logging in LWC, maintain the transaction ID across both LWC and Apex, and then log the final result back in LWC after the response is received. The goal is to ensure that all the logs (from LWC, through Apex, and back to LWC) are recorded in order and tied to the same transaction.
Here’s what I need to achieve:
Beta Was this translation helpful? Give feedback.
All reactions