Exception Logger class to be used in try catch blocks that catch and log errors with stack trace in a custom object.
-
Create Custom Object first before saving the Exception Logger apex class
-
Create Exception Logger Apex Class in your org.
-
Add Try Catch blocks to existing class(s) and call this apex class within
-
You can setup email alerts(using Process Builder) on this Custom Object that will notify respective groups according to the criteria.