Create Log
Records event information occurring in the application.
Source Code
playNANOOHandlers.saveGameLog = function(args) {
pluginGameLog.clear();
pluginGameLog.add("LevelTest1", "Message1");
pluginGameLog.add("LevelTest2", "Message2");
var result = pluginGameLog.save({
version : "v20220901",
parameters : {
tableCode : "TABLE_CODE"
}
})
const parse = JSON.parse(result.body);
log.debug(parse.Status);
if(result.statusCode == 200) {
return true;
} else {
return false;
}
}
Request Parameter
Parameter | Description | Type |
---|---|---|
tableCode | Table Code | string |
Communication Result
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status" : "success"
}
Communication Result Details
Data Key | Description | Type |
---|---|---|
Status | Operation result | string |