log
The log API is used to obtain the details of key events that occur during the interaction between the user and the SDK. The details can be used for debugging or logging.
Method signature
copy
void log(String name, Map parameter) ;
Request parameters
Name | Type | Length | Description |
name | String | / | The name of the behavior or exception. |
parameter | Map<String,String> | / | The extra information. |
Response parameters
N/A
Sample
copy
public class LogServiceProvider implements LogService {
void log(NSString name, Map parameter) {
//your own logic
}
}
copy
AlipayPlustClient.logService = new LogServiceProvider();