feat: adds trace events to server
This commit is contained in:
11
README.md
11
README.md
@@ -1,4 +1,11 @@
|
||||
# Logging
|
||||
|
||||
* get / set
|
||||
`mini-redis` uses [`tracing`](https://github.com/tokio-rs/tracing) to provide structured logs. Debug logs can be displayed by running:
|
||||
|
||||
* timeouts?
|
||||
```console
|
||||
RUST_LOG=debug cargo run --bin server
|
||||
```
|
||||
|
||||
Logs will appear when commands are sent to the server from a client.
|
||||
|
||||
More documentation on enabling different log levels and filtering logs can be found [here](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives).
|
||||
|
||||
Reference in New Issue
Block a user