[lbry] log: support claimtrie entries
This commit is contained in:
parent
b0f1458ff7
commit
4e68d1fb81
1 changed files with 4 additions and 0 deletions
4
log.go
4
log.go
|
@ -13,6 +13,7 @@ import (
|
||||||
"github.com/btcsuite/btcd/addrmgr"
|
"github.com/btcsuite/btcd/addrmgr"
|
||||||
"github.com/btcsuite/btcd/blockchain"
|
"github.com/btcsuite/btcd/blockchain"
|
||||||
"github.com/btcsuite/btcd/blockchain/indexers"
|
"github.com/btcsuite/btcd/blockchain/indexers"
|
||||||
|
"github.com/btcsuite/btcd/claimtrie"
|
||||||
"github.com/btcsuite/btcd/connmgr"
|
"github.com/btcsuite/btcd/connmgr"
|
||||||
"github.com/btcsuite/btcd/database"
|
"github.com/btcsuite/btcd/database"
|
||||||
"github.com/btcsuite/btcd/mempool"
|
"github.com/btcsuite/btcd/mempool"
|
||||||
|
@ -60,6 +61,7 @@ var (
|
||||||
bcdbLog = backendLog.Logger("BCDB")
|
bcdbLog = backendLog.Logger("BCDB")
|
||||||
btcdLog = backendLog.Logger("BTCD")
|
btcdLog = backendLog.Logger("BTCD")
|
||||||
chanLog = backendLog.Logger("CHAN")
|
chanLog = backendLog.Logger("CHAN")
|
||||||
|
clmtLog = backendLog.Logger("CLMT")
|
||||||
discLog = backendLog.Logger("DISC")
|
discLog = backendLog.Logger("DISC")
|
||||||
indxLog = backendLog.Logger("INDX")
|
indxLog = backendLog.Logger("INDX")
|
||||||
minrLog = backendLog.Logger("MINR")
|
minrLog = backendLog.Logger("MINR")
|
||||||
|
@ -77,6 +79,7 @@ func init() {
|
||||||
connmgr.UseLogger(cmgrLog)
|
connmgr.UseLogger(cmgrLog)
|
||||||
database.UseLogger(bcdbLog)
|
database.UseLogger(bcdbLog)
|
||||||
blockchain.UseLogger(chanLog)
|
blockchain.UseLogger(chanLog)
|
||||||
|
claimtrie.UseLogger(clmtLog)
|
||||||
indexers.UseLogger(indxLog)
|
indexers.UseLogger(indxLog)
|
||||||
mining.UseLogger(minrLog)
|
mining.UseLogger(minrLog)
|
||||||
cpuminer.UseLogger(minrLog)
|
cpuminer.UseLogger(minrLog)
|
||||||
|
@ -94,6 +97,7 @@ var subsystemLoggers = map[string]btclog.Logger{
|
||||||
"BCDB": bcdbLog,
|
"BCDB": bcdbLog,
|
||||||
"BTCD": btcdLog,
|
"BTCD": btcdLog,
|
||||||
"CHAN": chanLog,
|
"CHAN": chanLog,
|
||||||
|
"CLMT": clmtLog,
|
||||||
"DISC": discLog,
|
"DISC": discLog,
|
||||||
"INDX": indxLog,
|
"INDX": indxLog,
|
||||||
"MINR": minrLog,
|
"MINR": minrLog,
|
||||||
|
|
Loading…
Add table
Reference in a new issue