gpt4 book ai didi

Flutter - 如何在 vscode 中过滤调试控制台

转载 作者:行者123 更新时间:2023-12-03 14:28:11 31 4
gpt4 key购买 nike

DEBUG CONSOLE 中保持了几天,并且至少是故意地没有改变任何东西。在 VSCODE我收到如下消息:

W/.arae_blueprin(14366): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
W/.arae_blueprin(14366): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
W/.arae_blueprin(14366): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
W/.arae_blueprin(14366): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
D/EGL_emulation(14366): eglMakeCurrent: 0xe1641400: ver 2 0 (tinfo 0xd5f83710)
D/EGL_emulation(14366): eglMakeCurrent: 0xc1f7c2e0: ver 2 0 (tinfo 0xbd495c10)
D/eglCodecCommon(14366): setVertexArrayObject: set vao to 6 (6) 0 0
W/.arae_blueprin(14366): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
I/DynamiteModule(14366): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:21200
I/DynamiteModule(14366): Selected remote version of com.google.android.gms.ads.dynamite, version >= 21200
D/eglCodecCommon(14366): setVertexArrayObject: set vao to 4 (4) 0 0
D/eglCodecCommon(14366): setVertexArrayObject: set vao to 0 (0) 1 2
D/eglCodecCommon(14366): setVertexArrayObject: set vao to 0 (0) 1 2
D/eglCodecCommon(14366): setVertexArrayObject: set vao to 4 (4) 1 30

这些消息使我很难阅读我通过控制台发送的日志。

我如何过滤它们以使它们不出现,或者至少过滤我自己的日志?。谢谢。

最佳答案

根据 this问题似乎目前无法在 Visual Studio Code 中过滤调试控制台,但是您可以使用 Dart DevTools 的日志记录选项卡中的过滤器文本字段来过滤发送到控制台的日志。我明白这意味着除了 Visual Studio Code 之外,您还需要打开 Dart DevTools,但是这将是一个可用的解决方法,直到在 Visual Studio Code 中实现过滤调试控制台的能力。
Dart DevTools

关于Flutter - 如何在 vscode 中过滤调试控制台,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60259610/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com