Cloud code logs (#2370)

* Adds logging (info/error) when running cloudCode triggers

* Adds logs for cloud-function calls

- Match parse.com original logging
This commit is contained in:
Florent Vilmart
2016-07-23 20:10:06 +02:00
committed by Tyler Brock
parent 93b41170fd
commit 3b2da1d734
4 changed files with 72 additions and 9 deletions

View File

@@ -94,7 +94,7 @@ function del(config, auth, className, objectId, clientSDK) {
// Returns a promise for a {response, status, location} object.
function create(config, auth, className, restObject, clientSDK) {
enforceRoleSecurity('create', className, auth);
var write = new RestWrite(config, auth, className, null, restObject, clientSDK);
var write = new RestWrite(config, auth, className, null, restObject, null, clientSDK);
return write.execute();
}