16 lines
604 B
Markdown
16 lines
604 B
Markdown
# mini-redis
|
|
|
|
`mini-redis` is a lightweight, idiomatic implementation of [Redis](https://redis.io) built with [tokio](https://tokio.rs).
|
|
|
|
## Logging
|
|
|
|
`mini-redis` uses [`tracing`](https://github.com/tokio-rs/tracing) to provide structured logs. Debug logs can be displayed by running:
|
|
|
|
```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).
|