2 unstable releases
0.2.0 | Jan 15, 2024 |
---|---|
0.1.0 | Oct 31, 2023 |
#5 in #logfmt
418 downloads per month
36KB
832 lines
Opentelemetry support
This crate is a fork of EmbarkStudios/tracing-logfmt that adds the opentelemetry trace and span id to the log output.
Logfmt
Logfmt is a compact and simple log format for structured logging. Each log row contains one level of key/value pairs. To keep it as compact and readable as possible, values are only quoted if needed.
key=value otherkey="value with spaces" third="with escaped \"chars\""
There is no strict standard for the format, but it was first documented in this article by Brandur Leach.
License
This contribution is dual licensed under EITHER OF
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
For clarity, "your" refers to Embark or any other licensee/user of the contribution.
Dependencies
~6–18MB
~183K SLoC