migratorydata::MigratoryDataLogListener

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

#include <client-cpp/MigratoryDataLogListener.h>

Public Functions

Name
virtual void onLog(std::string & log, MigratoryDataLogLevel logLevel) =0
This method handles the logs received from the API.

Detailed Description

class migratorydata::MigratoryDataLogListener;

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 Documentation

function onLog

virtual 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.