You can use generated methods in the package database class to manage change
logs.
enableChangeLog
By default, Change Log is disabled. To enable the change log, invoke the enableChangeLog API in the generated database class. The next synchronization will have change logs sent to the client.
deleteChangeLogs
You are recommended to delete all change logs after the application has completed processing them. Use the deleteChangeLogs API in the generated database class to delete all change logs on the device.
disableChangeLog
Creating change logs consumes some processing time, which can impact application performance. The application may can disable the change log using the disableChangeLog API.