Skip to main content
Version: 5.7.0

LogDebugJson

Use this call to log messages to the API Explorer or Cloud Code Editor's log display only. It does not write to the persistant error logs. This method does nothing when calls from a cloud code script in normal execution circumstances.

Method Parameters

ParameterDescription
errorMessageThe error message.
contextAdditional JSON-format information to include with the message.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": null
}