MigratoryDataLogListener

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

Public Functions

Name
void onLog(String log, MigratoryDataLogLevel level)
This method handles the log messages outputted by the library.

Detailed Description

class 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

void onLog(
    String log,
    MigratoryDataLogLevel level
)

This method handles the log messages outputted by the library.

Parameters:

  • log the log message outputted by the library
  • level the verbosity level of the log message