From b6bd4ece22547e6d75c5fae0bc926ab4923c5e5e Mon Sep 17 00:00:00 2001 From: will <64425242+willser@users.noreply.github.com> Date: Fri, 26 Feb 2021 10:12:01 +0800 Subject: [PATCH] docs: add dependence of example (#211) Co-authored-by: Rob Ede --- content/docs/errors.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/docs/errors.md b/content/docs/errors.md index cbdb5c9..875325e 100644 --- a/content/docs/errors.md +++ b/content/docs/errors.md @@ -114,7 +114,12 @@ to see. # Error Logging -This is a basic example using `middleware::Logger`: +This is a basic example using `middleware::Logger` which depends on `env_logger` and `log`: +```toml +[dependencies] +env_logger = "0.8" +log = "0.4" +``` {{< include-example example="errors" file="logging.rs" section="logging" >}}