The logging API allows the application to retrieve log messages from the core SDK and configure the desired core log level. The log callback and level are stored in the Nabto Device as global variables which must be taken into account if multiple Nabto Device instances is running in the same process.