MigratoryData Client API for DotNet
Developer's Guide and Reference Manual
MigratoryDataLogListener Interface Reference

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

Public Member Functions

void Error (string log)
 This method handles the MigratoryDataLogType.ERROR logs received from the API. More...
 
void Info (string log)
 This method handles the MigratoryDataLogType.INFO logs received from the API. More...
 
void Debug (string log)
 This method handles the MigratoryDataLogType.DEBUG logs received from the API. More...
 
void Trace (string log)
 This method handles the MigratoryDataLogType.TRACE 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

◆ Error()

void MigratoryDataLogListener.Error ( string  log)

This method handles the MigratoryDataLogType.ERROR logs received from the API.

Parameters
logA string representing a MigratoryDataLogType.ERROR log.

◆ Info()

void MigratoryDataLogListener.Info ( string  log)

This method handles the MigratoryDataLogType.INFO logs received from the API.

Parameters
logA string representing a MigratoryDataLogType.INFO log.

◆ Debug()

void MigratoryDataLogListener.Debug ( string  log)

This method handles the MigratoryDataLogType.DEBUG logs received from the API.

Parameters
logA string representing a MigratoryDataLogType.DEBUG log.

◆ Trace()

void MigratoryDataLogListener.Trace ( string  log)

This method handles the MigratoryDataLogType.TRACE logs received from the API.

Parameters
logA string representing a MigratoryDataLogType.TRACE log.