| Crates.io | slog-json-concur |
| lib.rs | slog-json-concur |
| version | 0.1.0 |
| created_at | 2022-07-17 17:09:25.971187+00 |
| updated_at | 2022-07-17 17:09:25.971187+00 |
| description | JSON drain for slog-rs with concurrency |
| homepage | https://github.com/matszpk/slog-json-concur |
| repository | https://github.com/matszpk/slog-json-concur |
| max_upload_size | |
| id | 627314 |
| size | 48,792 |
A simple fork of the slog-json 2.6.1 (original version by Dawid Ciężarkiewicz) crate which introduces a buffering and concurrency while generating output of a log record.
An original drain requires mutex before using. This fork introduces a buffering before final write and it uses a mutex only on same final write, making same logging as concurrent and parallel.
Original slog-json: https://crates.io/crates/slog-json, https://github.com/slog-rs/json.