Skip to content

Commit

Permalink
Add the structured-logger crate to the README
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Qing <txr1883@gmail.com>
  • Loading branch information
zensh committed Mar 28, 2023
1 parent dc32ab9 commit 9834623
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -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/)
Expand All @@ -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/)

Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Expand Up @@ -136,6 +136,7 @@
//! * [pretty_env_logger]
//! * [stderrlog]
//! * [flexi_logger]
//! * [structured-logger]
//! * Complex configurable frameworks:
//! * [log4rs]
//! * [fern]
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 9834623

Please sign in to comment.