capture-logger

Crates.iocapture-logger
lib.rscapture-logger
version0.1.1
sourcesrc
created_at2020-12-12 08:37:52.461617
updated_at2020-12-12 08:49:06.712806
descriptionlog implementation for testing.
homepage
repositoryhttps://github.com/yskszk63/capture-logger
max_upload_size
id322106
size20,942
yusuke suzuki (yskszk63)

documentation

README

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

Commit count: 8

cargo fmt