Cargo Features
slog-journald has no features set by default.
[dependencies]
slog-journald = { version = "2.2.0", features = ["log_errno", "log_error_sources"] }
- log_errno
-
Logs errno from io::Error if present.
Requires Rust 1.30+ - log_error_sources
-
Log sources of error one-by-one
The outermost error is logged as ERROR_SOURCE_0
The following error is logged as ERROR_SOURCE_1
The length of error-source chain is logged as ERROR_SOURCE_DEPTH