LogDebug
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
Parameter | Description |
---|---|
errorMessage | The error message. |
context | String that will display via the context icon click. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var errorMessage = "Test debug message";
var context = "Additional context info in string format";
bridge.logDebug(errorMessage, context);
var errorMessage = "Test debug message";
var context = "Additional context info in string format";
bridge.logDebug(errorMessage, context);
JSON Response
{
"status": 200,
"data": null
}