From 9834623739b51518ba9b490f52ff9328b27b396c Mon Sep 17 00:00:00 2001 From: 0xZensh Date: Tue, 28 Mar 2023 20:35:38 +0800 Subject: [PATCH] Add the structured-logger crate to the README Signed-off-by: Yan Qing --- README.md | 3 ++- src/lib.rs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5adff6bd7..de80933ca 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ There are many available implementations to choose from, here are some of the mo * [`pretty_env_logger`](https://docs.rs/pretty_env_logger/*/pretty_env_logger/) * [`stderrlog`](https://docs.rs/stderrlog/*/stderrlog/) * [`flexi_logger`](https://docs.rs/flexi_logger/*/flexi_logger/) + * [`structured-logger`](https://docs.rs/structured-logger/latest/structured_logger/) * Complex configurable frameworks: * [`log4rs`](https://docs.rs/log4rs/*/log4rs/) * [`fern`](https://docs.rs/fern/*/fern/) @@ -80,7 +81,7 @@ There are many available implementations to choose from, here are some of the mo * For WebAssembly binaries: * [`console_log`](https://docs.rs/console_log/*/console_log/) * For dynamic libraries: - * You may need to construct [an FFI-safe wrapper over `log`](https://github.com/rust-lang/log/issues/421) to initialize in your libraries. + * You may need to construct [an FFI-safe wrapper over `log`](https://github.com/rust-lang/log/issues/421) to initialize in your libraries. * Utilities: * [`log_err`](https://docs.rs/log_err/*/log_err/) diff --git a/src/lib.rs b/src/lib.rs index 732637801..8be704922 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -136,6 +136,7 @@ //! * [pretty_env_logger] //! * [stderrlog] //! * [flexi_logger] +//! * [structured-logger] //! * Complex configurable frameworks: //! * [log4rs] //! * [fern] @@ -311,6 +312,7 @@ //! [win_dbg_logger]: https://docs.rs/win_dbg_logger/*/win_dbg_logger/ //! [db_logger]: https://docs.rs/db_logger/*/db_logger/ //! [console_log]: https://docs.rs/console_log/*/console_log/ +//! [structured-logger]: https://docs.rs/structured-logger/latest/structured_logger/ #![doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",