sdre-rust-logging

Crates.iosdre-rust-logging
lib.rssdre-rust-logging
version
sourcesrc
created_at2023-11-18 21:29:29.835846
updated_at2024-12-01 08:36:38.020881
descriptionA simple logging library for Rust, with a custom formatter.
homepagehttps://github.com/sdr-enthusiasts/sdre-rust-logging
repositoryhttps://github.com/sdr-enthusiasts/sdre-rust-logging
max_upload_size
id1040726
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Fred Clausen (fredclausen)

documentation

https://github.com/sdr-enthusiasts/sdre-rust-logging

README

sdre-rust-logging

This crate provides logging traits/structs that automatically format log output.

Usage Example

In this example, we will see a drop in replacement for the standard log crate's info! macro

use sdre_rust_logging::SetupLogging;

fn main() {
    let logger: u8 = 0;
    logger.enable_logging();
    info!("Hello World!"); // will print
    debug!("Hello World!"); // will not print
}
Commit count: 190

cargo fmt