logging-options 0.1.0

Reusable `clap` options for logging (e.g. `--quiet` vs `--debug`) with pluggable logging providers.
Documentation
  • Coverage
  • 100%
    12 out of 12 items documented0 out of 7 items with examples
  • Size
  • Source code size: 14.73 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 355.1 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 19s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nejucomo

A set of very common logging [clap] options which also initialize various logging/tracing backends

TODOs

  • Switch to tracing (e.g. env_logger, tracing, etc...)
  • Provide a facility to defer to the app for argument names, especially short -q style arg names to work with apps with colliding options
  • Generalize to a "re-usable component with clap arguments" framework?