NebulaLogger

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.

View the Project on GitHub jongpie/NebulaLogger

LogBatchPurgeScheduler class

Schedulable class used to schedule the batch job LogBatchPurger

LogBatchPurger


Constructors

LogBatchPurgeScheduler()

Default constructor. Sets initial batch size to 200.

LogBatchPurgeScheduler(Integer batchSize)

Construct that accepts the batch size as a parameter.

Parameters
Param Description
batchSize - The size of the records per batch job / instance. Max is 5000. Minium is 1.

Methods

execute(System.SchedulableContext schedulableContext)void

Required by the Database.Schedulable interface, this method kicks off the LogBatchPurger batch class on a scheduled basis.

Parameters
Param Description
schedulableContext The instance of System.SchedulableContext provided by the platform at runtime