Skip to content

Commit 9f26a89

Browse files
committed
add all in one commit for the moment
1 parent f3a52c7 commit 9f26a89

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

staticaddr/log.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package staticaddr
22

33
import (
44
"github.com/btcsuite/btclog"
5-
"github.com/lightningnetwork/lnd/build"
65
)
76

87
// Subsystem defines the sub system name of this package.
@@ -12,11 +11,6 @@ const Subsystem = "SADDR"
1211
// package will not perform any logging by default until the caller requests it.
1312
var log btclog.Logger
1413

15-
// The default amount of logging is none.
16-
func init() {
17-
UseLogger(build.NewSubLogger(Subsystem, nil))
18-
}
19-
2014
// UseLogger uses a specified Logger to output package logging info. This should
2115
// be used in preference to SetLogWriter if the caller is also using btclog.
2216
func UseLogger(logger btclog.Logger) {

0 commit comments

Comments
 (0)