From 2cec229e047e6c5de87302c2b5dda6c0084ed6b6 Mon Sep 17 00:00:00 2001 From: Christian Iversen Date: Sat, 23 Mar 2024 10:46:13 +0100 Subject: [PATCH] Add links to `colog` crate, which provides logging with reasonable defaults, and customizable styling --- README.md | 1 + src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index d6a08f558..d4a08b12b 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ There are many available implementations to choose from, here are some options: * Simple minimal loggers: * [`env_logger`](https://docs.rs/env_logger/*/env_logger/) + * [`colog`](https://docs.rs/colog/*/colog/) * [`simple_logger`](https://docs.rs/simple_logger/*/simple_logger/) * [`simplelog`](https://docs.rs/simplelog/*/simplelog/) * [`pretty_env_logger`](https://docs.rs/pretty_env_logger/*/pretty_env_logger/) diff --git a/src/lib.rs b/src/lib.rs index 17e9fd0dd..d636dc835 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -135,6 +135,7 @@ //! //! * Simple minimal loggers: //! * [env_logger] +//! * [colog] //! * [simple_logger] //! * [simplelog] //! * [pretty_env_logger] @@ -310,6 +311,7 @@ //! [`try_set_logger_raw`]: fn.try_set_logger_raw.html //! [`shutdown_logger_raw`]: fn.shutdown_logger_raw.html //! [env_logger]: https://docs.rs/env_logger/*/env_logger/ +//! [colog]: https://docs.rs/colog/*/colog/ //! [simple_logger]: https://github.com/borntyping/rust-simple_logger //! [simplelog]: https://github.com/drakulix/simplelog.rs //! [pretty_env_logger]: https://docs.rs/pretty_env_logger/*/pretty_env_logger/