MigratoryDataLogListenerΒΆ

namespace migratorydata
class MigratoryDataLogListener
#include <client-cpp/MigratoryDataLogListener.h>

The implementation of this interface will handle the log messages produced by the library.

Use the API method MigratoryDataClient.setLogListener() to register your log listener implementation.

Public Functions

void onLog(std::string &log, MigratoryDataLogLevel logLevel) = 0

This method handles the logs received from the API.

Parameters
  • log: A string representing a log message.