json-subscriber 0.2.6

Customizable layer and subscriber for `tracing` that emits logs in JSON
Documentation
1
2
3
4
5
6
use std::borrow::Cow;

pub enum Value<'a> {
    Serde(Cow<'a, serde_json::Value>),
    Str(&'a str),
}