multi: start updating various loggers to use the new v2 type

This commit is contained in:
Elle Mouton
2024-10-15 15:16:16 +02:00
parent a8da3e525b
commit 23602e017e
72 changed files with 140 additions and 114 deletions

View File

@@ -1,7 +1,7 @@
package channeldb
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
"github.com/lightningnetwork/lnd/build"
mig "github.com/lightningnetwork/lnd/channeldb/migration"
"github.com/lightningnetwork/lnd/channeldb/migration12"

View File

@@ -1,6 +1,6 @@
package migration
import "github.com/btcsuite/btclog"
import "github.com/btcsuite/btclog/v2"
// log is a logger that is initialized as disabled. This means the package will
// not perform any logging by default until a logger is set.

View File

@@ -1,7 +1,7 @@
package migration12
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration13
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration16
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration20
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package

View File

@@ -1,7 +1,7 @@
package migration24
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration25
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration26
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration27
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,6 +1,6 @@
package migration29
import "github.com/btcsuite/btclog"
import "github.com/btcsuite/btclog/v2"
// log is a logger that is initialized as disabled. This means the package will
// not perform any logging by default until a logger is set.

View File

@@ -1,7 +1,7 @@
package migration30
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration31
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration32
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration33
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will

View File

@@ -1,7 +1,7 @@
package migration_01_to_11
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
)
// log is a logger that is initialized as disabled. This means the package will