[英]Azure mobile service - console.log() not working in script
I use Azure, subscription BizSpark. 我使用Azure,订阅BizSpark。 I created a Azure mobile service.
我创建了一个Azure移动服务。 I have a table TmpData.
我有一个表TmpData。 I use on the server Node.js.
我在服务器上使用Node.js。 That script is used to update:
该脚本用于更新:
function update(item, user, request)
{
console.log("hello");
request.execute();
}
I update the data in the TmpData but in the log nothing is added. 我更新了TmpData中的数据,但在日志中未添加任何内容。 I tried - console.warm, console.error, console.info - in the log nothing is added.
我尝试-console.warm,console.error,console.info-在日志中未添加任何内容。 I tried it and for adding data (insert script)- in the log nothing is added.
我尝试过并为添加数据(插入脚本)-在日志中未添加任何内容。 Data in the table changes.
表中的数据发生变化。 Maybe I need to enable logging in the service settings?
也许我需要启用服务设置登录功能? But there is no such settings azure mobile service.
但是没有这样的设置可以使天蓝色移动服务。 How to solve this problem?
如何解决这个问题呢?
Console.log() is working. Console.log()正在工作。 When update the data, I did not use the mobile service.
更新数据时,我没有使用移动服务。 I just updated the data in the script but it does not work.
我只是更新了脚本中的数据,但是它不起作用。 Thank you all.
谢谢你们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.