Skip to content

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

Closed
Aigle9/cli
#2
@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 original 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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