Trust Pin Log Level
Log levels for TrustPin SDK logging.
This enum defines the available logging levels for the TrustPin SDK, allowing developers to control the verbosity of log output for debugging, monitoring, and troubleshooting. Log levels are hierarchical - each level includes all messages from higher priority levels.
Log Level Hierarchy
From highest to lowest priority:
ERROR - Critical errors and failures
INFO - General information and important events
DEBUG - Detailed debugging information
NONE - No logging (disables all output)
Usage Examples
Production Environment
TrustPin.setLogLevel(TrustPinLogLevel.ERROR) // Only critical errorsDevelopment Environment
TrustPin.setLogLevel(TrustPinLogLevel.DEBUG) // All log messagesStaging Environment
TrustPin.setLogLevel(TrustPinLogLevel.INFO) // Errors and general infoPerformance Considerations
Production: Use ERROR or NONE to minimize performance impact
Development: Use DEBUG for comprehensive troubleshooting
Staging: Use INFO for balanced monitoring without excessive verbosity
Security Considerations
Lower log levels may expose sensitive information in logs
Review log content before enabling verbose logging in production
Consider log retention and access policies when setting log levels
See also
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.