【问题标题】:How to disable Chrome logging messages?如何禁用 Chrome 日志消息?
【发布时间】:2020-05-17 22:05:54
【问题描述】:

我正在使用 webview 并收到很多类似的消息

chromium: [INFO:library_loader_hooks.cc(50)] Chromium logging enabled: level = 0, default verbosity = 0

如何禁用它?

【问题讨论】:

  • Chrome 和 Chromium 中默认禁用日志记录。你可以去这个页面chrome://version/然后查看Command Line的值。你看到--enable-logging了吗?如果它在那里,则启用日志记录

标签: webview nativescript chromium


【解决方案1】:

您可以将这些消息的过滤器添加到 Nativescript 日志过滤器函数中,类似于 https://github.com/NativeScript/nativescript-cli/issues/3727 中所做的操作

【讨论】:

    猜你喜欢
    • 2014-01-24
    • 2012-06-17
    • 2015-05-21
    • 1970-01-01
    • 2015-07-29
    • 1970-01-01
    • 2015-11-23
    • 2016-04-19
    • 1970-01-01
    相关资源
    最近更新 更多