()
| 36 | impl TracingLogBus { |
| 37 | #[must_use] |
| 38 | pub fn new() -> Self { |
| 39 | Self { |
| 40 | inner: Arc::new(Mutex::new(Inner { |
| 41 | per_id: HashMap::new(), |
| 42 | tails: HashMap::new(), |
| 43 | })), |
| 44 | platform_event_bus: PlatformEventBus::new(), |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | /// Install a tracing subscriber that logs to stdout and publishes events into this bus. |
| 49 | pub fn install_subscriber(&self, env_filter: EnvFilter) { |
nothing calls this directly
no outgoing calls
no test coverage detected