RDNALoggingLevel Enum
🪵 RDNALoggingLevel
Enum
RDNALoggingLevel
EnumThis enumeration defines the logging levels used by the REL-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 Value | Integer | Description |
---|---|---|
RDNA_NO_LOGS | 0 | 🚫 Disables all SDK logs. |
RDNA_LOG_WARN | 1 | ⚠ Logs warning and error messages. |
RDNA_LOG_NOTIFY | 2 | 🔔 Logs important notifications and state transitions. |
RDNA_LOG_NETWORK | 3 | 🌐 Logs network-related operations and statuses. |
RDNA_LOG_DNA | 4 | 🧬 Logs REL-ID internal digital DNA engine activities. |
RDNA_LOG_DEBUG | 5 | 🐞 Logs developer-friendly debugging information. |
RDNA_LOG_VERBOSE | 6 | 📢 Enables full verbose logging including deep internal SDK operations. |
RDNA_LOG_REQ_RESP | 7 | 🔄 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
, orRDNA_LOG_REQ_RESP
. - Production: Use
RDNA_LOG_WARN
orRDNA_NO_LOGS
to reduce log noise and protect sensitive data.
- Development: Use
- Logging level is typically configured during SDK initialization.
Updated 3 months ago