DCXCoreBasicConfig

Log level settings

Settings ID Value Description
LoggingLevel One of the following values:
  • 0 - does not send log data.
  • 1 - logs the highest priority (critical) data.
  • 2- logs the medium priority (important) data.
  • 3 - logs the lowest priority (information) data.
Sets the level for logging data. The setting applies only when the log level is not indicated in the log statement.
DisplayLogging Boolean Enable the setting to display debug log statements in LogCat. Filter for the UICAndroid tag in the LogCat.

Local cache

Use the Local cache file settings to manage the local cache in the device used to log data. The local cache file settings are configured in the DCXCoreBasicConfig file.

Settings ID Value Description
PersistLocalcache true/false Set the value to true to store data in the device’s local storage instead of the memory. Additionally, configure the Cachinglevel setting.
CachingLevel Integer, 0-3 Set the level for caching data. You can set the value from 0 to 3, where 0 Does not send log data.
  • 1 the highest priority (critical) data is cached.
  • 2 The medium priority (important) information is cached.
  • 3 The lowest priority (information) is cached.

Post settings

Settings ID Value Description
PostMessageLevelWiFiInteger, 0-3Set the logging level of events to be sent to the server over Wi-Fi when network performance is good. 0 does not send log data.
  1. has the highest priority (critical).
  2. has a medium priority (important).
  3. has the lowest priority (information).
PostMessageLevelCellularInteger, 0-3Set the logging level of events to be sent to the server over the cellular (3G) network. 0 does not send log data.
  1. has the highest priority (critical).
  2. has a medium priority (important).
  3. has the lowest priority (information).
ManualPostEnabledtrue/falseSet to true to manually post the data from the framework to the server. The data is posted only when the requestManualServerPost method is called. When set to false, you must also configure the DoPostOnIntervals and PostMessageTimeIntervals settings. ManualPostEnabled and Do postOnIntervals cannot be enabled or disabled at the same time. At least one of these settings must be set to true.
DoPostOnIntervalstrue/false Set the value to true to post data from the framework to the server at regular time intervals. Specify the time intervals using the postMessageTimeIntervals setting. Note: The value must be set to true if you set the ManualPostEnabled as false. ManualPostEnabled and Do postOnIntervals cannot be enabled or disabled at the same time. At least one of these settings must be set to true.
PostMessageTimeIntervalsSecondsSet the seconds to configure how often you want the framework to post the data to the server. When the DoPostOnIntervals is set to true, the data is post posted regularly at the time interval that is set here.