RDNALoggingLevel Enum

🪵 RDNALoggingLevel Enum

This enumeration defines the logging levels used by the Ditto ID SDK to control the verbosity of internal logging. These levels allow developers to monitor the SDK’s internal behavior during integration, testing, and production use.


šŸ“š Enum Values

Enum ValueIntegerDescription
RDNA_NO_LOGS0🚫 Disables all SDK logs.
RDNA_LOG_WARN1⚠ Logs warning and error messages.
RDNA_LOG_NOTIFY2šŸ”” Logs important notifications and state transitions.
RDNA_LOG_NETWORK3🌐 Logs network-related operations and statuses.
RDNA_LOG_DNA4🧬 Logs Ditto ID internal digital DNA engine activities.
RDNA_LOG_DEBUG5šŸž Logs developer-friendly debugging information.
RDNA_LOG_VERBOSE6šŸ“¢ Enables full verbose logging including deep internal SDK operations.
RDNA_LOG_REQ_RESP7šŸ”„ Logs raw request and response data for diagnostic purposes.

🧠 Developer Notes

  • Choose the appropriate level depending on your environment:
    • Development: Use RDNA_LOG_VERBOSE, RDNA_LOG_DEBUG, or RDNA_LOG_REQ_RESP.
    • Production: Use RDNA_LOG_WARN or RDNA_NO_LOGS to reduce log noise and protect sensitive data.
  • Logging level is typically configured during SDK initialization.