| Crates.io | piccolog |
| lib.rs | piccolog |
| version | 1.0.3 |
| created_at | 2020-02-04 19:40:08.857271+00 |
| updated_at | 2021-01-28 01:13:52.504052+00 |
| description | A custom logger for body-image and related crates |
| homepage | |
| repository | https://github.com/dekellum/body-image |
| max_upload_size | |
| id | 204945 |
| size | 8,242 |
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).
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.
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)
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.