in Logging Errors, device sends POST request to webServiceURL/version/log, so what server have to do in this point ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
To log the output to the PHP log you can use something like:
$log_items = json_decode(@file_get_contents('php://input'))->logs;
foreach($log_items as $key => $log_message)
error_log("Passbook Error Log: " . $log_message, 0);