From 39e1255ab21185389d2d9487c33294c873af84a1 Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Tue, 24 Sep 2024 15:52:07 +0200 Subject: [PATCH] feat(iroh-net): Log the crate version number This adds a DEBUG-level log logging the crate version number. --- iroh-net/src/endpoint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iroh-net/src/endpoint.rs b/iroh-net/src/endpoint.rs index 52f9b540fc..4f2f79956c 100644 --- a/iroh-net/src/endpoint.rs +++ b/iroh-net/src/endpoint.rs @@ -405,7 +405,7 @@ impl Endpoint { Arc::new(quinn::TokioRuntime), )?; trace!("created quinn endpoint"); - + debug!(version = env!("CARGO_PKG_VERSION"), "iroh Endpoint created"); Ok(Self { msock, endpoint,