From 97de1a3bed597c929d617e23f33ddf6c67236459 Mon Sep 17 00:00:00 2001 From: Daniel Norman <1992255+2color@users.noreply.github.com> Date: Fri, 22 Nov 2024 18:10:17 +0100 Subject: [PATCH] fix: add trace logging of libp2p config (#151) * fix: add trace logging of libp2p config * Update index.ts Co-authored-by: Alex Potsides --------- Co-authored-by: Daniel N <2color@users.noreply.github.com> Co-authored-by: Alex Potsides --- packages/verified-fetch/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/verified-fetch/src/index.ts b/packages/verified-fetch/src/index.ts index c571153..7d2e73d 100644 --- a/packages/verified-fetch/src/index.ts +++ b/packages/verified-fetch/src/index.ts @@ -840,6 +840,7 @@ export async function createVerifiedFetch (init?: Helia | CreateVerifiedFetchIni dns, routers }) + init.logger.forComponent('helia:verified-fetch').trace('created verified-fetch with libp2p config: %j', libp2pConfig) } const verifiedFetchInstance = new VerifiedFetchClass({ helia: init }, options)