2 releases

0.1.1 Dec 12, 2020
0.1.0 Dec 12, 2020

#869 in Testing

Download history 61/week @ 2024-12-16 17/week @ 2024-12-30 298/week @ 2025-01-06 199/week @ 2025-01-13 160/week @ 2025-01-20 159/week @ 2025-01-27 239/week @ 2025-02-03 319/week @ 2025-02-10 607/week @ 2025-02-17 356/week @ 2025-02-24 495/week @ 2025-03-03 257/week @ 2025-03-10 255/week @ 2025-03-17 235/week @ 2025-03-24 93/week @ 2025-03-31

840 downloads per month
Used in 2 crates

MIT/Apache

8KB
76 lines

capture-logger

log implementation for testing.

Dependencies

[dev-dependencies]
capture-logger = "0.1"

Example

use capture_logger::{begin_capture, pop_captured};

begin_capture();
log::debug!("LOG");
assert_eq!(pop_captured().unwrap().message(), "LOG");

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.!

License: MIT OR Apache-2.0

Dependencies

~90KB