Skip to content

Complete printing support #122

Open
Open
@ojeda

Description

@ojeda

Printing support for levels and continuations was added in #120, but there are some features from the C side that we are missing:

  • Specialized macros (~100k uses in the kernel just for dev_*() ones).
    • Sometimes they also provide the other features below.
  • Dynamic debug (~12k uses in the kernel) for pr_debug() (different than pr_devel()).
  • Rate limiting (~2k uses in the kernel).
  • Custom formatting prefix (~800 uses in the kernel; of those ~400 are different than the usual "string: " fmt).
    • Perhaps we don't need this if we provide good enough specialized macros.
  • Level 7 (devel) support (~700 uses in the kernel).
  • "Once" support (~500 uses in the kernel).

Metadata

Metadata

Assignees

No one assigned

    Labels

    • libRelated to the `rust/` library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions