bluetape-rs-logging 0.4.0

Tracing conventions and subscriber builders for bluetape-rs.
Documentation

bluetape-rs-logging

English | 한국어

Small tracing conventions and subscriber builders for bluetape-rs.

bluetape-rs-logging crate overview

Library code must not install a process-global subscriber. Applications own the decision to install the subscriber returned by this crate.

Usage

[dependencies]
bluetape-rs-logging = "0.4.0"
use bluetape_rs_logging::CorrelationId;

let correlation_id = CorrelationId::new("request-1").expect("valid id");
assert_eq!(correlation_id.as_str(), "request-1");