mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
lnwallet: move btcwallet
log under BTWL
So we can focus on debugging `BTWL` without concerning `lnwallet`, which has a lot of channel-specific loggings.
This commit is contained in:
@@ -2,9 +2,6 @@ package lnwallet
|
||||
|
||||
import (
|
||||
"github.com/btcsuite/btclog/v2"
|
||||
"github.com/btcsuite/btcwallet/chain"
|
||||
btcwallet "github.com/btcsuite/btcwallet/wallet"
|
||||
"github.com/btcsuite/btcwallet/wtxmgr"
|
||||
"github.com/lightningnetwork/lnd/build"
|
||||
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
|
||||
)
|
||||
@@ -31,8 +28,5 @@ func DisableLog() {
|
||||
func UseLogger(logger btclog.Logger) {
|
||||
walletLog = logger
|
||||
|
||||
btcwallet.UseLogger(logger)
|
||||
wtxmgr.UseLogger(logger)
|
||||
chain.UseLogger(logger)
|
||||
chainfee.UseLogger(logger)
|
||||
}
|
||||
|
Reference in New Issue
Block a user