control_plane_logging

Crates.iocontrol_plane_logging
lib.rscontrol_plane_logging
version0.1.0
created_at2026-01-14 16:13:31.966695+00
updated_at2026-01-14 16:13:31.966695+00
descriptionHelper functions for logging
homepagehttps://github.com/LIFE-Electronic/control-plane-logging
repositoryhttps://github.com/LIFE-Electronic/control-plane-logging
max_upload_size
id2043157
size27,748
Joeri Sleegers (Joeri1324)

documentation

README

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.

Commit count: 0

cargo fmt