Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slog-rs/journald
journald support for slog-rs
https://github.com/slog-rs/journald
Last synced: 15 days ago
JSON representation
journald support for slog-rs
- Host: GitHub
- URL: https://github.com/slog-rs/journald
- Owner: slog-rs
- License: apache-2.0
- Created: 2016-10-17T05:46:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-12-17T08:28:58.000Z (almost 3 years ago)
- Last Synced: 2024-08-09T03:02:41.045Z (3 months ago)
- Language: Rust
- Size: 42 KB
- Stars: 13
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-Apache
Awesome Lists containing this project
README
# slog-journald
![Build Status](https://github.com/slog-rs/journald/workflows/CI/badge.svg?branch=master)]
[![Gitter](https://img.shields.io/gitter/room/slog-rs/slog.svg)](https://gitter.im/slog-rs/slog)
[![Documentation](https://docs.rs/slog/badge.svg)](https://docs.rs/releases/search?query=slog)This is a straightforward journald drain for [slog-rs](https://github.com/dpc/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.