road-runner-common 0.11.0

Shared Rust utilities for exchange ecosystem backend services.
Documentation
1
2
3
4
5
6
7
8
9
10
use road_runner_common::observability::init_tracing;

#[test]
fn init_tracing_is_idempotent_for_pretty_and_json_inputs() {
    // Arrange / Act
    init_tracing("orders", Some("info"), Some("pretty"));
    init_tracing("orders", Some("debug"), Some("json"));

    // Assert: the calls complete without panicking and the second call is a no-op.
}