4 stable releases
| 1.0.3 | Jan 28, 2021 |
|---|---|
| 1.0.2 | Jan 17, 2021 |
| 1.0.1 | Feb 11, 2020 |
| 1.0.0 | Feb 4, 2020 |
#1216 in Debugging
25 downloads per month
Used in 4 crates
8KB
141 lines
piccolog
A very minimal Log output implementation for testing of body-image*, barc*
and related crates, and for use with barc-cli. Output is directed to
STDERR. When logging with tests, a TEST_LOG environment variable is read to
configure a course-grained logging level:
TEST_LOG=0
: The default, no logging enabled.
TEST_LOG=1
: The Info log level.
TEST_LOG=2
: The Debug log level, but dependencies are filtered to Info log level.
TEST_LOG=3
: The Debug log level (for all).
TEST_LOG=4 (or higher)
: The Trace log level (for all).
Minimum supported rust version
MSRV := 1.39.0
The crate will fail fast on any lower rustc (via a build.rs version check) and is also CI tested on this version.
License
This project is dual licensed under either of following:
-
The Apache License, version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
-
The MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in piccolog by you, as defined by the Apache License, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~185KB