mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
multi: remove PrefixLog
And instead use the new btclog Logger `WithPrefix` method.
This commit is contained in:
@@ -12,7 +12,6 @@ import (
|
||||
|
||||
"github.com/btcsuite/btcd/btcec/v2"
|
||||
"github.com/btcsuite/btclog/v2"
|
||||
"github.com/lightningnetwork/lnd/build"
|
||||
"github.com/lightningnetwork/lnd/channeldb"
|
||||
"github.com/lightningnetwork/lnd/keychain"
|
||||
"github.com/lightningnetwork/lnd/lnwallet"
|
||||
@@ -210,9 +209,7 @@ func newClient(cfg *clientCfg) (*client, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
prefix := fmt.Sprintf("(%s)", identifier)
|
||||
|
||||
plog := build.NewPrefixLog(prefix, log)
|
||||
plog := log.WithPrefix(fmt.Sprintf("(%s)", identifier))
|
||||
|
||||
queueDB := cfg.DB.GetDBQueue([]byte(identifier))
|
||||
queue, err := NewDiskOverflowQueue[*wtdb.BackupID](
|
||||
|
Reference in New Issue
Block a user