Crates.io | slog-journald |
lib.rs | slog-journald |
version | 2.2.0 |
source | src |
created_at | 2016-11-08 06:48:20.831044 |
updated_at | 2021-12-17 08:45:20.5622 |
description | Journald drain for slog-rs |
homepage | https://github.com/slog-rs/journald |
repository | https://github.com/slog-rs/journald |
max_upload_size | |
id | 7169 |
size | 41,178 |
This is a straightforward journald drain for slog-rs.
Journald and slog-rs work very well together since both support structured log data. This crate will convert structured data (that is, key-value pairs) into journald fields. Since, journald field names are more restrictive than keys in slog-rs, key names are sanitized to be valid journald fields.
This crate supports specialized handling of logged errors via features. Look into Cargo.toml
for more information.