We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a52c7 commit 9f26a89Copy full SHA for 9f26a89
staticaddr/log.go
@@ -2,7 +2,6 @@ package staticaddr
2
3
import (
4
"github.com/btcsuite/btclog"
5
- "github.com/lightningnetwork/lnd/build"
6
)
7
8
// Subsystem defines the sub system name of this package.
@@ -12,11 +11,6 @@ const Subsystem = "SADDR"
12
11
// package will not perform any logging by default until the caller requests it.
13
var log btclog.Logger
14
15
-// The default amount of logging is none.
16
-func init() {
17
- UseLogger(build.NewSubLogger(Subsystem, nil))
18
-}
19
-
20
// UseLogger uses a specified Logger to output package logging info. This should
21
// be used in preference to SetLogWriter if the caller is also using btclog.
22
func UseLogger(logger btclog.Logger) {
0 commit comments