log: pass LTND subsystem logger to signal pkg
This commit is contained in:
parent
3aa8f7a6b9
commit
aaf0c228d5
2
log.go
2
log.go
@ -20,6 +20,7 @@ import (
|
||||
"github.com/lightningnetwork/lnd/htlcswitch"
|
||||
"github.com/lightningnetwork/lnd/lnwallet"
|
||||
"github.com/lightningnetwork/lnd/routing"
|
||||
"github.com/lightningnetwork/lnd/signal"
|
||||
"github.com/roasbeef/btcd/connmgr"
|
||||
)
|
||||
|
||||
@ -89,6 +90,7 @@ func init() {
|
||||
autopilot.UseLogger(atplLog)
|
||||
contractcourt.UseLogger(cnctLog)
|
||||
sphinx.UseLogger(sphxLog)
|
||||
signal.UseLogger(ltndLog)
|
||||
}
|
||||
|
||||
// subsystemLoggers maps each subsystem identifier to its associated logger.
|
||||
|
Loading…
Reference in New Issue
Block a user