Skip to content

Added new save method SYNCHRONOUS_DML

Compare
Choose a tag to compare
@jongpie jongpie released this 04 Jun 20:50
· 140 commits to main since this release
5a8798f
  • #163 - Added new enum value Logger.SaveMethod.SYNCHRONOUS_DML. Using this save method skips publishing platform events and instead immediately creates Log__c and LogEntry__c records. Please note that this save method should be used cautiously! When using this save method, any exceptions thrown in the same transaction will prevent your log entries from saving! This is due to Salesforce rolling back any DML when exceptions occur.