1
0
mirror of https://github.com/actix/actix-website synced 2025-01-22 16:15:56 +01:00

docs: add dependence of example (#211)

Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
will 2021-02-26 10:12:01 +08:00 committed by GitHub
parent 2e91d76e2e
commit b6bd4ece22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,12 @@ to see.
# Error Logging # 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" >}} {{< include-example example="errors" file="logging.rs" section="logging" >}}