logging_options/lib.rs
1//! A set of very common logging [clap] options which also initialize various logging/tracing backends
2//!
3//! # TODOs
4//!
5//! - Switch to `tracing` (e.g. `env_logger`, `tracing`, etc...)
6//! - Provide a facility to defer to the app for argument names, especially short `-q` style arg names to work with apps with colliding options
7//! - Generalize to a "re-usable component with `clap` arguments" framework?
8#![deny(unsafe_code, missing_docs)]
9
10pub mod backend;
11mod backends;
12mod stdcons;
13mod verbosity;
14
15pub use self::backend::Backend;
16pub use self::stdcons::StandardConsole;
17pub use self::verbosity::Verbosity;