| Crates.io | control_plane_logging |
| lib.rs | control_plane_logging |
| version | 0.1.0 |
| created_at | 2026-01-14 16:13:31.966695+00 |
| updated_at | 2026-01-14 16:13:31.966695+00 |
| description | Helper functions for logging |
| homepage | https://github.com/LIFE-Electronic/control-plane-logging |
| repository | https://github.com/LIFE-Electronic/control-plane-logging |
| max_upload_size | |
| id | 2043157 |
| size | 27,748 |
The goal of this crate is to setup logging in the same way such that the log message can be consumed in the same way. This lib exposes two functions: init_tracing and http_trace_layer. init_layer should be called anywhere within the main function as setup, http_trace_layer returns a TraceLayer that should be attached to the axum::Router via the .layer function.