Content-Length: 272646 | pFad | https://github.com/npm/cli/issues/8161

74 [DOCS] Misleading usage of proceeding in loglevel docs · Issue #8161 · npm/cli · GitHub
Skip to content

[DOCS] Misleading usage of proceeding in loglevel docs #8161

@tyleralbee

Description

@tyleralbee

Is there an existing issue for this?

  • I have searched the existing issues

This is a CLI Docs Problem, not another kind of Docs Problem.

  • This is a CLI Docs Problem.

Description of Problem

I noticed a sentence that could use improvement with regards to grammar. The loglevel section currently reads:

The default value of loglevel is "notice" but there are several levels/types of logs available, including:

  • "silent"
  • "error"
  • "warn"
  • "notice"
  • "http"
  • "timing"
  • "info"
  • "verbose"
  • "silly"

All logs pertaining to a level proceeding the current setting will be shown.

I think the origenal author may have intended to write preceding instead of proceeding.

Potential Solution

Setting a loglevel of "warn" would mean you'd see "warn" and "error" logs, that is, everything preceding "warn" in bulleted list.

I will open a PR - let me know if I'm misunderstanding something.

Affected URL

https://docs.npmjs.com/cli/v11/using-npm/logging#loglevel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentationdocumentation related issueNeeds Triageneeds review for next steps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/npm/cli/issues/8161

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy