Use this file to discover all available pages before exploring further.
To gather useful information from the SDK, you can either use default SDK Logger or
implement and assign a logger that the SDK will use to send log messages.Log messages are assigned one of five levels: DEBUG, INFO, WARNING, ERROR, and NONE.This allows simple and powerful filtering of log messages so that you can, for example, print
debug messages to the local console and send error messages to an external aggregator.
KOTLIN
interface PrimerLogger { var logLevel: PrimerLogLevel fun log(primerLog: PrimerLog)}
Note that the default behaviour of the default logger is not to send any logs at all.You can easily assign DEBUG or any other log level to the default logger by simply calling: