You need to sign in to do that
Don't have an account?
Rowan Christmas
LockerService and $A.logger
Apologies for the cross-post, I'm not sure where the devs are hanging out, and I'm not sure where I'm supposed to file LockerService cases...
Here is my stack exchange question:
http://salesforce.stackexchange.com/questions/129894/lockerservice-not-allowing-subscribing-to-a-logger
I've been using the technique described here:
https://developer.salesforce.com/forums/?id=906F0000000B1MiIAK
But now this is throwing an error.
Thanks!
Here is my stack exchange question:
http://salesforce.stackexchange.com/questions/129894/lockerservice-not-allowing-subscribing-to-a-logger
I've been using the technique described here:
https://developer.salesforce.com/forums/?id=906F0000000B1MiIAK
But now this is throwing an error.
Thanks!
As this post is already addressed in the stack exchange community as below:
With locker being activated you will not be able to use the undocumented API's and this was one of the reason why locker is in place.
See the JavaScript API to find available methods and objects at https://mydomain.lightning.force.com/auradocs/reference.app, where myDomain is the name of your custom Salesforce domain.
The correct way to log the errors has been documented in release guide The JS controller side function is as below Kindly mark this post as solved if it's resolved so that it gets removed from the unanswered queue and becomes a proper solution which results in helping others who are really in need of it.
Best Regards,
Nagendra.P