LogWarningJson
Logs an App Warning message to the error log.
Service | Operation |
---|---|
log | LOG_WARNING |
Method Parameters
Parameter | Description |
---|---|
errorMessage | The error message. |
context | Additional JSON-format information to include with the message. |
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 warning message";
var context = { "example": "json" };
var logProxy = bridge.getLogServiceProxy();
logProxy.logWarningJson(errorMessage, context)
var errorMessage = "Test warning message";
var context = { "example": "json" };
var logProxy = bridge.getLogServiceProxy();
logProxy.logWarningJson(errorMessage, context)
JSON Response
{
"status": 200,
"data": null
}