Skip to content

Framework-agnostic handling of debug level (verbosity_level) #201

@allenrobel

Description

@allenrobel

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

We need to converge on a framework-agnostic way to inject a debug level in such a way that it is exposed at a globally-available scope (e.g. a model/class that is injected to functions/classes that need this information).

In the Results class, we've defined a default verbosity_level as an int == 3 (int: verbosity_level = 3). However, depending on what we converge on, this may change (e.g. str 'DEBUG', etc, vs int, defined in an enum perhaps). Hence, this is just a placeholder in the Results class.

New or Affected Module(s):

  • All modules (infrastructure)

ND version and ND Platform

  • V 4.2

Collection versions

  • cisco.nd 1.4.0

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions