Save Error Log - ReconoSERID/SDK-ReconoSERID-Android GitHub Wiki
Save Error Log #### **Save Error Log
Method to save application error log.
#!java
public void savelogError(@NotNull SaveLogErrorIn saveLogErrorIn, @NotNull CallbackSaveLogError listener)
Sent as a parameter SaveLogErrorIn and CallbackSaveLogError
Parameters ## Parameter
Parameter | Type | Required | Description |
---|---|---|---|
SaveLogErrorIn | String | YES | Data to be sent |
CallbackSaveLogError | Callback | YES | Returns a SaveLogError and List. |
Parameters SaveLogErrorIn
Parameter | Type | Required | Description |
---|---|---|---|
guidConv | String | SI | Unique identifier of the convention |
text | String | SI | Descriptive text of the error message |
component | String | SI | Name of the error component |
user | String | SI | User using the application |
#!java
public GuardarLogErrorIn(String guidConv, //Unique identifier of the convention
String text, //Text describing the error message
String component, //Name of the error component
String user) //User who uses the application
and receives SaveLogError
Parameters SaveLogError
Parameter | Type | Description |
---|---|---|
isSuccessful | boolean | Response Status |
ErrorTransactionError | List | Transaction Response |
#!java
public SaveLogError(boolean isSuccessful,
List<ErrorTransaction> errorTransaction) //Transaction response
e.g:
#!java
ServicesOlimpia.getInstance().savelogError(saveLogErrorIn, new OlimpiaInterface.CallbackSaveLogError() {
@Override
public void onSuccess(SaveLogError saveLogError saveLogError) {
//
}
@Override
public void onError(List<ErrorEntransactionEnrror> transactionResponse) {
//
}
});