The most robust observability solution for Salesforce experts. Built 100% natively on the platform, and designed to work seamlessly with Apex, Lightning Components, Flow, OmniStudio, and integrations.
Class used by the logging system for batch contextual details
LoggerBatchableContext(Database.BatchableContext batchableContext, Schema.SObjectType sobjectType)
Constructor used to set the 2 properties
Param | Description |
---|---|
batchableContext |
The instance of Database.BatchableContextbatchableContext , provided by the platform at run-time |
sobjectType |
The SObjectType that will be queried & purged |
batchableContext
→ Database.BatchableContext
sobjectType
→ Schema.SObjectType
sobjectTypeName
→ String