Skip to content

Cazei/SalesforceLogger

Repository files navigation

BatchLogs are created by implementing the interface Database.RaisesPlatformEvents in your batches, and then letting exceptions go unhandeled. The unhandled exceptions will produce BatchApexErrorEvents that are picked up by the BatchErrorEventTriggerHandler.

To generate standard Exception logs use the methods

LoggingService.generateLog(Excetption ex) or LoggingService.generateLog(List exs).

To generate logs in flows or Process builders, there is an invocable action called "Generate a Log".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages