From 58a590281ce2ad21913205f673107f5bb10c4409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Tigerstr=C3=B6m?= Date: Thu, 1 Feb 2024 23:19:54 +0200 Subject: [PATCH] wasm-client: add gbn subsystem to logger --- cmd/wasm-client/log.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/wasm-client/log.go b/cmd/wasm-client/log.go index 1b4f31ad..f699750d 100644 --- a/cmd/wasm-client/log.go +++ b/cmd/wasm-client/log.go @@ -4,6 +4,7 @@ package main import ( "github.com/btcsuite/btclog" + "github.com/lightninglabs/lightning-node-connect/gbn" "github.com/lightninglabs/lightning-node-connect/mailbox" "github.com/lightningnetwork/lnd" "github.com/lightningnetwork/lnd/build" @@ -25,6 +26,7 @@ func SetupLoggers(root *build.RotatingLogWriter, intercept signal.Interceptor) { lnd.SetSubLogger(root, Subsystem, log) lnd.AddSubLogger(root, mailbox.Subsystem, intercept, mailbox.UseLogger) + lnd.AddSubLogger(root, gbn.Subsystem, intercept, gbn.UseLogger) grpclog.SetLoggerV2(NewGrpcLogLogger(root, intercept, "GRPC")) }