gpt4 book ai didi

node.js - Google Cloud Stackdriver Profiling Nodejs 哪个文档是关于 logLevel 的?

转载 作者:搜寻专家 更新时间:2023-10-31 23:50:47 26 4
gpt4 key购买 nike

我在我的 Google CLoud Nodejs 应用程序中添加了性能分析,我在文档中看到了这里 docs/profiling-nodejs支持的日志级别是

  • 0:禁用所有代理日志记录(默认)
  • 1: 启用错误记录
  • 2:启用警告日志
  • 3: 启用调试日志记录

但在示例应用文档中cloud-profiler-nodejs支持的日志级别是

  • 将 logLevel 设置为 0 将禁用日志记录
  • 1 将日志级别设置为错误
  • 2 设置为警告
  • 3 将其设置为信息
  • 4 将其设置为调试。

那么谁能告诉我哪些文档是正确的,哪些是错误的?

最佳答案

我将同样的问题发布到 Google 论坛并得到了解决方案

The sample is based on the Alpha release of Stackdriver Profiler, while the product’s documentation is on the Beta release.

关于node.js - Google Cloud Stackdriver Profiling Nodejs 哪个文档是关于 logLevel 的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49901567/

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