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0 |
0.1.4 | 0 | 0 | 0 | 0 | 0 |
0.1.3 | 0 | 0 | 0 | 0 | 0 |
0.1.2 | 0 | 0 | 0 | 0 | 0 |
0.1.1 | 0 | 0 | 0 | 0 | 0 |
0.1.0 | 0 | 0 | 0 | 0 | 0 |
0.7.1 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT LicenseSimple, efficient logging for Rust.
Logging configuration is recursively branched: formatting, filters, and output can be applied at each
fern::Dispatch
, applying to increasingly specific kinds of logging.
// Configure logger at runtime
fern::Dispatch::new()
// Perform allocation-free log formatting
.format(|out, message, record| {
out.finish(format_args!(
"[{} {} {}] {}",
humantime::format_rfc3339(std::time::SystemTime::now()),
record.level(),
record.target(),
message
))
})
// Add blanket level filter -
.level(log::LevelFilter::Debug)
// - and per-module overrides
.level_for("hyper", log::LevelFilter::Info)
// Output to stdout, files, and other Dispatch configurations
.chain(std::io::stdout())
.chain(fern::log_file("output.log")?)
// Apply globally
.apply()?;
// and log using log crate macros!
log::info!("hello, world!");
Examples of all features at the api docs. See fern in use with this example command line program.
I've posted a GitHub Discussion talking about the future of fern: https://github.com/daboross/fern/discussions/147
If you've ever used fern, or you do today, I'd love input!
One of our downstream dependencies, atty, through colored, has an unsoundness issue: https://rustsec.org/advisories/RUSTSEC-2021-0145.html.
This shows up in one situation: if you're using colored
0.1.0 and a custom global allocator.
Upgrade to fern
0.7.0 to fix.
There's one thing I need right now, more than anything else: input on what fern does well, and what it should keep doing well. See Project Direction.
Besides that, I'm open to PRs! I'll probably review promptly, and I'm always open to being nudged if I don't.
For small PRs, I'll mark anything I need changed in a review, and work with you on that.
For larger PRs, I reserve the right to pull in your commits as they are, then fix things I want to be different myself. In a workplace, I'd try to never do this - but this is a hobby project for me, and I'd rather be overly particular about fern's implementation than be reasonable.
This is a change from my previous policy.
See CONTRIBUTING for technical information on contributing.