SpriteOvO / spdlog-rs

Fast, highly configurable Rust logging crate
https://crates.io/crates/spdlog-rs
Apache License 2.0
109 stars 12 forks source link
crate library log logging rust spdlog

spdlog-rs

Fast, highly configurable Rust logging crate, inspired by the C++ logging library spdlog.

Features

[^1]: TOML deserialization support is working in progress, tracking issue #25

Getting started

Add this to Cargo.toml:

[dependencies]
spdlog-rs = "0.4"

The documentation of this crate is hosted on docs.rs, and you can learn examples under ./examples directory along with it.

If you have any trouble while using this crate, please don't hesitate to open a discussion for help. For feature requests or bug reports, please open an issue.

Supported Rust versions

The current minimum supported Rust version is 1.60.

spdlog-rs is built against the latest Rust stable release, it is not guaranteed to build on Rust versions earlier than the minimum supported version.

spdlog-rs follows the compiler support policy that the latest stable version and the 3 most recent minor versions before that are always supported. For example, if the current latest Rust stable version is 1.61, the minimum supported version will not be increased past 1.58. Increasing the minimum supported version is not considered a semver breaking change as long as it complies with this policy.

License

Licensed under either of

at your option.

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.