Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xamarin Azure Mobile Center中的手动日志异常_Xamarin_Xamarin.ios_Mobile Center_Visual Studio App Center - Fatal编程技术网

Xamarin Azure Mobile Center中的手动日志异常

Xamarin Azure Mobile Center中的手动日志异常,xamarin,xamarin.ios,mobile-center,visual-studio-app-center,Xamarin,Xamarin.ios,Mobile Center,Visual Studio App Center,我正在使用,因此我想知道如何记录手动异常 因为我正在使用: MobileCenter.Start("xxx-xx-xx-xx", typeof(Analytics), typeof(Crashes)); Analytics.SetEnabledAsync(true); MobileCenter.SetEnabledAsync(true); MobileCenterLog.Error("X1","x2",new Exception("Testing")); 我在门户中看不到这个异常 有什么想法吗

我正在使用,因此我想知道如何记录手动异常

因为我正在使用:

MobileCenter.Start("xxx-xx-xx-xx", typeof(Analytics), typeof(Crashes));
Analytics.SetEnabledAsync(true);
MobileCenter.SetEnabledAsync(true);
MobileCenterLog.Error("X1","x2",new Exception("Testing"));
我在门户中看不到这个异常


有什么想法吗?

移动中心尚不支持此功能

您调用的API是为了让SDK在控制台输出中发出跟踪,而不是向服务器报告任何内容的API


PS:
SetEnabledAsync(true)
在这里是无用的,只有当您以前使用
false
禁用SDK时,它才有用,默认值为
true
,我与技术支持聊天,此功能不可用。

默认情况下不启用日志流(在移动中心分析中),您需要通过对讲机/聊天按钮联系支持人员,并要求他们启用它。