UNE for ArcGIS Mobile includes built‑in diagnostic logging designed to support troubleshooting and provide insight into application behaviour across platforms. Logging can be enabled or disabled from the Diagnostics panel, and the level of detail recorded can be adjusted depending on the type of information required.

Several log levels are available, each providing a different depth of information. These levels help identify issues ranging from critical failures to detailed diagnostic traces during development or support investigations.

The different log options available include:

  • Verbose – Provides the highest level of detail, including extensive diagnostic information. Primarily used during in‑depth investigations.
  • Debug – Records low‑level diagnostic entries that help trace code paths. This level may generate a large number of log entries (e.g. multiple entries for a single query).
  • Information – Records general operational information, such as timings or notable application events. Typically produces fewer entries than Debug.
  • Warning – Captures issues that do not stop execution but represent unexpected or recoverable situations.
  • Error – Records errors where an operation has failed but the application continues running.
  • Fatal – Logs critical failures where the application cannot continue.
Native logging settings in Sweet

Note that Verbose and Debug levels generate a large number of low‑level log entries and should only be enabled temporarily when detailed investigation is required.

Enabling Logging

Logging settings are managed through the Diagnostics section of the application, where logging can be toggled on or off and the desired log level can be selected from the available options. Logging settings are stored in a configuration file named logging.json located in the same logs folder, and the application reads from and writes to this file to apply and persist settings.

{
  "enabled": true,
  "level": "Debug"
}

Creating or modifying this file allows logging to be managed outside the application interface. The level value must be one of: Verbose, Debug, Information, Warning, Error, or Fatal.

All logs are written to files within the logs folder located in the user‑accessible application storage area on Android and iOS. On Windows, logs are stored in the equivalent user data directory.