Skip to content

Commit

Permalink
wasm-client: add gbn subsystem to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorTigerstrom committed Feb 1, 2024
1 parent e796679 commit 9c9e76d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/wasm-client/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"))
}
Expand Down

0 comments on commit 9c9e76d

Please sign in to comment.