【发布时间】:2018-12-04 22:54:11
【问题描述】:
我需要 Xamarin 专家的帮助。自过去 2 天以来,在调试 Xamarin 程序时,我一直在努力禁用输出窗口中不需要的噪音消息。我正在以调试模式在三星平板电脑上部署我的应用程序。我无法阅读我的消息,因为输出窗口已被以下噪音消息淹没。
几天前它工作得很好,然后突然出现所有这些消息。
如何禁用它?
例子:
12-04 22:37:01.740 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:01.740 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:01.750 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:01.750 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:01.770 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:01.770 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:01.810 D/Mono ( 6464): GC_BRIDGE waiting for bridge processing to finish
12-04 22:37:01.860 I/art ( 6464): Explicit concurrent mark sweep GC freed 30396(1325KB) AllocSpace objects, 3(378KB) LOS objects, 30% free, 37MB/53MB, paused 610us total 46.997ms
12-04 22:37:01.870 D/Mono ( 6464): GC_TAR_BRIDGE bridges 988 objects 1004 opaque 57 colors 988 colors-bridged 988 colors-visible 988 xref 11 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.27ms tarjan 1.10ms scc-setup 0.67ms gather-xref 0.06ms xref-setup 0.03ms cleanup 0.37ms
12-04 22:37:01.870 D/Mono ( 6464): GC_BRIDGE: Complete, was running for 62.26ms
12-04 22:37:01.870 D/Mono ( 6464): GC_MINOR: (Nursery full) time 30.52ms, stw 31.34ms promoted 1332K major size: 4944K in use: 4148K los size: 1024K in use: 349K
12-04 22:37:01.870 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:01.880 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:01.890 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:01.890 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:01.900 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:01.900 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:01.920 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:01.920 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:36:42.351 V/MediaPlayer( 6464): callback application
12-04 22:36:42.351 V/MediaPlayer( 6464): back from callback
12-04 22:36:42.361 V/MediaPlayer-JNI( 6464): getCurrentPosition: 5237 (msec)
12-04 22:36:42.361 V/MediaPlayer-JNI( 6464): seekTo: 0(msec)
12-04 22:36:42.361 V/MediaPlayer( 6464): seekTo 0
12-04 22:36:42.371 V/MediaPlayer( 6464): message received msg=7, ext1=0, ext2=0
12-04 22:36:42.731 V/MediaPlayer( 6464): unrecognized message: (7, 0, 0)
12-04 22:36:42.731 V/MediaPlayer( 6464): callback application
12-04 22:36:42.731 V/MediaPlayer( 6464): back from callback
12-04 22:36:42.741 V/MediaPlayer-JNI( 6464): isPlaying: 0
12-04 22:36:42.751 V/MediaPlayer-JNI( 6464): isPlaying: 0
12-04 22:37:01.970 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:01.980 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:01.980 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:02.000 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:02.000 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:02.010 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:02.010 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
12-04 22:37:02.030 I/System.out( 6464): (HTTPLog)-Static: isSBSettingEnabled false
12-04 22:37:02.030 I/System.out( 6464): KnoxVpnUidStorageknoxVpnSupported API value returned is false
【问题讨论】:
-
工具->选项->Xamarin->Android->输出详细度
-
您好,我已将输出详细程度更新为“安静”,然后仍然有噪音消息泛滥。
-
请有任何建议
标签: c# android visual-studio xamarin.forms visual-studio-debugging