MigratoryData Client API for C++
Developer's Guide and Reference Manual
MigratoryDataLogListener Class Referenceabstract

The listener interface that you should implement in order to get the logs of the API. More...

Public Member Functions

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

Detailed Description

The listener interface that you should implement in order to get the logs of the API.

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

Member Function Documentation

◆ onLog()

virtual void MigratoryDataLogListener::onLog ( std::string &  log)
pure virtual

This method handles the logs received from the API.

Parameters
logA string representing a log message.