log
Log a message that will be included in bug reports. Logs are stored in memory (max 1MB) and sent with bug report submissions.
Parameters
level
The log level (VERBOSE, DEBUG, INFO, WARN, ERROR)
message
The log message
Example:
BugScreenSDK.log(LogLevel.INFO, "User clicked submit button")
BugScreenSDK.log(LogLevel.ERROR, "Failed to load data: ${error.message}")Content copied to clipboard